Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Drupal Camp Berlin 2014 - Content Import in Drupal 7 Using Feeds

706 views

Published on

Presentation from DrupalCamp Berlin 2014 about content import in Drupal 7 using Feeds.

Published in: Technology
  • Be the first to comment

Drupal Camp Berlin 2014 - Content Import in Drupal 7 Using Feeds

  1. 1. Content Import in Drupal 7 Using Feeds DrupalCamp Berlin, November 2014
  2. 2. About me• Jens Beltofte • CTO, Denmark & Drupal Architect • Propeople since 2003 / 2007 • Drupal since 2007 • Acquia Certified Drupal Developer • Co-founder & Vice Chairman, Drupal Denmark • d.o: beltofte • @beltofte
  3. 3. Agenda• What is Feeds? • Key components / concepts • 3rd part plugins • Feeds Tamper • Client cases • Demos • Ressources • Questions
  4. 4. What is Feeds?• Flexible solution for importing data • Easy to setup imports in no time • Multiple simultaneous configurations (importers) • UI for granular mapping of source and target • Manually or scheduled import • Stand-alone or content type for import
  5. 5. What is Feeds?• Formats: RSS, ATOM, CSV, OPML • Data types: nodes, users, taxonomy terms • Ctools plugins • Features support • Hooks / API
  6. 6. Key components● Fetcher: ○ Download, load or receive feed from a source ○ Standard: HTTP + upload ● Parser ○ Parse fetched source data ○ Standard: RSS/Atom, CSV, OPML, XML Sitemap ● Processor ○ Process the parsed data and store it in the target data type ○ Standard: Node, User, Taxonomy term
  7. 7. 3rd part plugins● Fetcher: ○ Directory Fecther ○ Feeds HTTPFetcher Append Headers ○ Feeds HTTPFetcher AA (Advanced Authentication) ○ SOAP/WDSL Fetcher ● Parser ○ Feeds XPath Parser ○ Feeds JSONPath Parser ○ Feeds extensible parsers (replace the two above) ● Processor ○ Commerce Feeds ○ Feeds Comment Processor
  8. 8. Feeds Tamper• Manipulate single fields before it is saved • Examples: ○ Replace every instance of 'dog' with 'cat'. ○ Make every letter uppercase, lowercase, or capitalize every first letter. ○ Break a comma separated list of words into Taxonomy terms or a multivalued text field. ○ Combine separate 'firstname' and 'lastname' fields into one 'name' field. ○ Convert URL’s from relative to absolute. • 20+ build in plugins for manipulation • Custom tamper plugins using ctools
  9. 9. Client cases• Migration of nodes, files and taxonomy terms • Import of departments and employees from local phone book. • Import of events from external event system. • Import of jobs / vacancies from HR system. • Aggregation of multiple RSS feeds
  10. 10. Now demo time...
  11. 11. Ressources• Feeds: https://www.drupal.org/project/feeds • Feeds XPath Parser: https://www.drupal.org/project/feeds_xpathparser • Feeds JSONPath Parser: https://www.drupal.org/project/feeds_jsonpath_parser • Feeds QueryPath Parser: https://www.drupal.org/project/feeds_querypath_parser • Feeds Extensible Parsers: https://www.drupal.org/project/feeds_ex • Feeds Tamper: https://www.drupal.org/project/feeds_tamper • Documentation: https://www.drupal.org/node/622696 • 3rd part plugins: https://www.drupal.org/node/856644
  12. 12. Questions?

×