Posted by rodmc on March 6, 2008 at 10:27am
Hi I am new to Drupal and hence taxonomies and I need to create a way for articles which are written on a separate system to be posted to Drupal. So far I have been able to do most of what is required via XMLRPC however I am not quite sure how to add a valid taxonomy to an article and post it at the same time. For example can I write the taxonomy to the article at the same time as it is posted or is there another way I should do it, also what is the format of the data which I should use? I am writing the module using Python.
Any pointers are welcome and sorry for the newbie type question :-)
Best,
rod
Comments
Hi, Some one has any
Hi,
Some one has any solution? because I also need to post articles with a particular taxonomy term.
Luis.
Not sure i'm clear on the use cases, but
You can use FeedAPI to bring in content from a third-party site and if it doesn't have an option for automatic tagging of terms you can probably create actions to do so.
benjamin, Agaric Design Collective
benjamin, agaric
hook_nodeapi
FeedAPI may be the most straightforward way.
You can also hook into anytime a node is saved via node_save (if you do that from your client end of the XMLRPC) and add a taxonomy terms that way.
http://api.drupal.org/api/function/hook_nodeapi/6
http://phase2technology.com
http://agileappraoch.com
http://twitter.com/febbraro