• Resolved ma2t

    (@ma2t)


    Hey there,

    I am trying to import my rss2 feed, BUT it’s nearly 3mb, and using the importer for wordpres (webform :/) only allows 2mb files (I know this is my host limitation) But I find it crazy how there is no option to upload this file to the ftp and point it there?, since it seems to just get uploaded there anyhow.

    Anyone know a way around this?. I think it’s kind of crazy to have this limit, or big blogs can not convert to wordpress this way.

    Many Thanks for your help.
    Cheers,
    Matt

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is a way to get around this, but you’ll have to edit the RSS import script (in wp-admin/import/). Look for this line (line 32) in rss.php:

    $datalines = file($this->file); // Read the file into an array

    And change it to:

    $datalines = file(ABSPATH . '/import.rss'); // Read the file into an array

    This will be correct if [1] you’ve ftp’ed the import file to your blog’s root directory, and [2] the file is called import.rss. If you placed the import file in wp-content/uploads/ and called it rss.txt, then:

    $datalines = file(ABSPATH . '/wp-content/uploads/rss.txt'); // Read the file into an array

    Then go through the steps under Import. You’ll have to upload something to get WordPress to start the import, but it can be any file (of any size).

    Thread Starter ma2t

    (@ma2t)

    Very good relpy! 🙂

    Thank you very much for the detailed and helpful help.

    Cheers Kafkaesqui

    Thread Starter ma2t

    (@ma2t)

    Worked like a charm!

    Thanks a lot! :D, importing from b2evo via rss2 worked great, no probs at all, worked better than the importer built for it.

    Cheers again 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How To Import RSS over 2MB??’ is closed to new replies.