[wp-hackers] How to export the wordpress posts using XMLRPC?

Nikhil mnikhil at gmail.com
Tue Jan 26 13:51:11 UTC 2010


Here is what I did:

Updated my single php.ini with the following settings: to download my
>1000 posts.

---
max_execution_time = 900
max_input_time = 900
memory_limit = 256M
post_max_size = 100M
upload_max_filesize = 100M
---

That's all... it did the trick!


On Tue, Jan 26, 2010 at 7:19 PM, Nikhil <mnikhil at gmail.com> wrote:
> YES! YES! It was the timeout!!!! Args! I took longer than to figure
> out (perhaps, my energy levels are at little high today ;-)
> And I am able to download the wxr file with THE content in it!
>
> Thanks again. (Well, community does help to ponder around!)
>
> Nikhil
>
> On Tue, Jan 26, 2010 at 7:04 PM, Nikhil <mnikhil at gmail.com> wrote:
>> My inner feeling is that it has to do with the timeout of php scripts
>> execution... but I never knew. Wordpress experts can tell me wrong..
>>
>> On Tue, Jan 26, 2010 at 6:58 PM, Nikhil <mnikhil at gmail.com> wrote:
>>> I tried this today.. (was busy with travelling for many past 2 weeks)
>>> and it failed too. Advanced export did not come to help either... as
>>> in the wxr/rss file that is getting generated and downloaded is in 0
>>> bytes. I am confused and it is a tricky situation for me here and I do
>>> not understand why the file is being in 0 bytes size? Am I missing
>>> something here? Could it be do with any .htaccess changes or any file
>>> changes? Both Wordpress export and Advanced export options fail in
>>> generating/delivering the wxr file with a content.
>>>
>>> Can someone please let me know what should be the next step for me?
>>>
>>> Thanks.
>>>
>>> On Mon, Jan 11, 2010 at 12:21 PM, Nikhil <mnikhil at gmail.com> wrote:
>>>> Hi Ozh,
>>>>
>>>> That was something cool.. and definitely something I am looking for. I
>>>> will surely will give a try .. thanks for the link.
>>>>
>>>> Regards, Nikhil
>>>>
>>>> On Sun, Jan 10, 2010 at 10:44 PM, Ozh <ozh at planetozh.com> wrote:
>>>>> Try this:
>>>>> http://wpmututorials.com/plugins/advanced-export/
>>>>>
>>>>> It will allow you to export selected posts (by year, author, etc) if
>>>>> timeout is an issue
>>>>>
>>>>> On Sun, Jan 10, 2010 at 3:09 PM, Nikhil <mnikhil at gmail.com> wrote:
>>>>>> Well, the part of the problem is that I have lots of posts on my
>>>>>> website and somehow this method is not working in the sense that wxr
>>>>>> file is getting downloaded but with 0 bytes... without any wxr content
>>>>>> in the downloaded file. I am not sure what could perhaps be the
>>>>>> problem here on my wordpress installation... not even sure either
>>>>>> where to look for clues/error messages on why is the downloaded wxr
>>>>>> file is with 0 bytes.
>>>>>> That is the reason, it prompted me to think if it is to do with many
>>>>>> posts (more than 1000) and if at all I can do away with any timeouts
>>>>>> increase anywhere and if possible I can write a script which generates
>>>>>> the wxr on the hosted site itself rather than the timeout between my
>>>>>> webclient(browser) and the hosting service.
>>>>>>
>>>>>
>>>>> --
>>>>> http://planetOzh.com ~ Blog and WordPress Stuff
>>>>> http://FrenchFragFactory.net ~ Daily Quake News
>>>>> _______________________________________________
>>>>> wp-hackers mailing list
>>>>> wp-hackers at lists.automattic.com
>>>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>>>
>>>>
>>>
>>
>


More information about the wp-hackers mailing list