tags:

views:

471

answers:

2

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:

  1. If you're doing a one-time import, try the Node Import module --- this lets you import content from a CSV file.
  2. 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.
  3. If you want your Drupal site to periodically retrieve content from other sites (RSS feeds, for example), check out FeedAPI.
  4. If you want to write your own PHP code to create new content, check out this article for an introduction.
smokris
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

related questions