wordpress auto posting help

jlknauff

New member
Aug 25, 2008
237
1
0
Before I spend a lot of time going down the wrong path, I want to get some input here...

I'm working on something that will automatically post articles based on certain criteria to a WP install. The source for the form that submits a new post has some info that is dynamically generated in hidden fields, so my question is, should I:

1. Use cURL to get the page, grab the dynamic data that it generated for the hidden fields and then submit the post with all the applicable info

2. Since I know what fields it needs, randomly generate my own data for the hidden fields and submit the post with all applicable info

3. Something else that I haven't thought of?

Right now I'm just trying to get it funtioning, but it will be a WP plugin when it's finished.
 


Straight to DB isn't an option because it won't ping or update the sitemap.

kineticbig, SpamHat: cURL vs XML-RPC; which is a better choice?
 
I wrote a bot that did this exact same thing. It used php to install WP on a subdomain, retrieve login from inbox, login, install necessary plugins, and make autoposts, then repeat. It was all done with cURL. I've got some really nice cURL classes that I wrote to do it easy. Hit up my aim (jeffschulerdba) sometime during the week if you'd like them.
 
xml-rpc is far, far easier for posting. But you do have to enable it in the settings after install (although THAT you could do directly in the db).
 
mmm...I want to learn wordpress, autoblog on wordpress is something new for me.....but I didn't know how it work & all your word (xml-rpc, Curl) :)