I'm very new to Drupal, and am wondering if there's an API that external programs can call to transfer text and images directly into my Drupal site.
+10
A:
Yes. There are several ways to accomplish this in Drupal:
- If you're doing a one-time import, try the Node Import module --- this lets you import content from a CSV file.
- If you want your Drupal site to provide a web-based API to which new content can be POSTed (via, for example, XMLRPC), check out the Services module.
- If you want your Drupal site to periodically retrieve content from other sites (RSS feeds, for example), check out FeedAPI.
- If you want to write your own PHP code to create new content, check out this article for an introduction.
smokris
2009-02-15 20:17:29
A:
Not sure what you mean by having a module for importing text, but there is one specifically for images:
http://drupal.org/project/image
Importing text can be performed directly as one of the other existing entity types.
Cheers!
brlcad
2009-02-15 20:22:24