

- DRUPAL FEEDS IMPORT XML INTO CONTENT TYPE INSTALL
- DRUPAL FEEDS IMPORT XML INTO CONTENT TYPE UPDATE
- DRUPAL FEEDS IMPORT XML INTO CONTENT TYPE DOWNLOAD
If you plan to only include Mercury content in your local nodes you can opt for Replace existing nodes, but most users stick with the Update existing option.įor Text format it’s best to select an input format that allows most block-level HTML tags, or at least the same options that you see in the body field of Mercury items.


If you prefer to create a content type to use as an importer, you can assign one under “Attach to content type,” or you can choose to “Use standalone form.” The standalone form usually works for most purposes.
DRUPAL FEEDS IMPORT XML INTO CONTENT TYPE DOWNLOAD
For fields that can have multiple values be sure to also configure your local node’s field to do the same (such as with related links, or keywords.)įor images associated with a Mercury item you can either map/store the node ID of the image (which would then require using hg_reader functions for building the display of the images,) or download the image directly to your site Feeds Settings Basic Settings Go to the Feed importers on the Structure administrative menu to create a new importer that you will use to map Mercury content to your local news/event content types.īut, before you get started with building importers you’ll want to first set up your content types with fields that match the basic structure of Mercury news/events, such as adding fields for a summary, summary sentence, related links, boilerplate, etc.
DRUPAL FEEDS IMPORT XML INTO CONTENT TYPE INSTALL
Install the Feeds Extensible Parsers module.Install CTools and Job Scheduler (dependencies of "Feeds").We strongly recommend that you try to utilize the built-in functionality of the Mercury Reader Module whenever possible, and only use Feeds Extensible Parsers as a last resort. (This module supersedes an older module called "Feed XPath Parser", which is no longer supported and should not be used.)Įditor's Note: While this method is being utilized by some units on campus, it can not be recommended due to the Feeds Extensible Parsers module still being in a beta release since April 2015, and not being covered by the Drupal organization's security advisory policy. Feeds Extensible Parsers is the module normally used to do XML and JSON imports of news and event data from the Mercury server.
