[Tutor] Post to wordpress

David david at abbottdavid.com
Sat May 23 21:56:15 CEST 2009


Jan Erik Moström wrote:
> Hi,
> 
> I'm looking for a module or an example for how to post to a wordpress 
> blog. I want to create a post and set:
> 
> +   title
> +   content
> +   category
> +   tags
> +   publish date
> 
> I've looked around and found
> 
> <http://www.blackbirdblog.it/programmazione/progetti/28> (setting 
> categories doesn't seem to work, don't know if tags/date is possible)
> 
> <http://www.fuzzydev.org/~pobega/?p=145> (no code available)
> 
> <http://vizible.wordpress.com/2009/01/25/post-wordpress-entry-with-python/> 
> (setting categories doesn't seem to work, don't know about tags/date)
> 
> <http://www.metaweblogapi.com/2009/01/posting-to-wordpress-with-python-and-metaweblog-api.html> 
> (same as above)
> 
> Does anyone know if a library exists or some example of how to do this?
> 
>                 jem
I use pycurl to post to a drupal site;
http://linuxcrazy.pastebin.com/f6835c5f8
This may help to explain it;
http://madeuce.wordpress.com/2009/02/23/further-simplification-of-pycurl/

-- 
Powered by Gentoo GNU/Linux
http://linuxcrazy.com


More information about the Tutor mailing list