Feeds Module for Drupal 7 Use Cases, Overview, and Walktroughs
Who Am I? johnbarclay on drupal.org University of Illinois College of Education web developer Pixotech.com (Pixo) Consultant Maintain LDAP module Like drupal community/dev model Need to be interrupted
Who are You? Who has used feeds in drupal 6 Who has used feed in drupal 7 Who knows they have a use case for feeds? Who may have a use case for feeds (importing or synching data into drupal) Be thinking of these for middle part of talk.
Goals In love with feeds.  Using like crazy the last couple of months. Want to: sell the module it give leg up and warnings for new users give away a book
Breakdown Terms, Module Features, General Use Cases. 10 minutes.  Keep me in check. A simple node import walk through. 10 minutes. Examples of use cases we’ve implemented or need to implement. 20 minutes.  Start thinking. Advanced Feeds.  Gotchas and Tools.
What is Feeds Module? Feeds  is a pluggable system for  importing  or  aggregating  content into Drupal.  Investing time into learning it can make user import, node import, etc. obsolete. Very extensible.  Class Based with stack of interchangeable plugins + hooks. Supports exportables/features.
 
Use Cases for Site Builders Data Sources:  RSS Feeds, XML Feeds, CSV Files, SOAP, WDSL, LDAP, Databases... Data Targets: Nodes, Users, Taxonomy, ...
Use Cases For Developers For data ingestion, only need to write plugins for unique data sources or targets.  Can leverage other plugins and core feeds functionality (batch, unique identifiers, user interface). For migrations and many use cases don’t need any code at all Supports exportables/features
Architecture Fetcher Parser Processor Importer mapper
Know the Lingo Feeds Glossary very helpful  http://drupal.org/node/622710 Key to understanding documentation
Fetcher Fetcher gets data. Specific to transport/storage type crawling, directory, file upload, http, ldap query, sql,
Parser Parser Normalizes Data.  Specific to data structure Known Data Structures:  CSV, RSS, LDAP Entry, OPML, SQL Recordset  Customizable Data Structures:  Querypath, Xpath, Xpath HTML http://drupal.org/node/856644
Processor Processor “does stuff”.  Generally stores feed items in a data structure.  Could send out emails or do other obscure use cases. Node, Taxonomy Term, User built in. Data, Commerce Products, Self Node Processor, etc.
(field) Mappers http://drupal.org/node/856780 required to know where data from feed goes into a field. basic core field types in Feeds module contrib mappers in contrib modules
Other Terms plugin – fetcher, processor, parser feed – body of data (csv file) feed item – individual item (csv line) feed node – confusing.  instance of importer stored in node. mapping – source to target field mapping guid and unique target
Import CSV Example
Examples for Learning In the simpletest folder in feeds are example feeds sources and test configurations
Our Use Cases What are you using feeds for? What do you need to either import on a one time basis or synch continually.
My Common Use Cases MSSQL Data Synch to Nodes & Taxonomy XML Feed to Nodes LDAP Query to User Records CSV to Nodes to Taxonomy
Where are Plugins Processors and Mappers: for core structures such as node, user, and taxonomy in feeds module.  Outside core, should be in related contrib module or own module. http://drupal.org/node/856644
7.x version not ready Lots of bugs and RTBC patches If it does the job great.  Read issues. When importing large amounts of data, everything has to work or need an alternative approach. my notes:  http://drupal.org/node/1301604 if you use a patch, RTBC!
Feeds Tamper Handy for edge cases trim, regex, explode, etc.
Write Plugins search the sandbox use other plugins as templates extend other plugins rather than rewriting use file logging for debugging because of batch nature of execution.  dpm() and tracing problematic.
Add to documentation http://drupal.org/node/1307732 feeds are confusing
7.x-2.x gotchas http://drupal.org/node/1301604

More Related Content

PDF
Collecting and analyzing sensor data with hadoop or other no sql databases
PPTX
Big data technologies and databases
PDF
Architectural anti patterns_for_data_handling
PPTX
Oleksandr Medvediev - Content delivery tools in Drupal 8.
PPTX
How to use data mapper transformer
PPTX
Database Component
PPTX
Apache storm
Collecting and analyzing sensor data with hadoop or other no sql databases
Big data technologies and databases
Architectural anti patterns_for_data_handling
Oleksandr Medvediev - Content delivery tools in Drupal 8.
How to use data mapper transformer
Database Component
Apache storm

Viewers also liked (20)

PPT
Services в drupal 8
PDF
Feeds drupal cafe
ODP
DrupalCafe Kyiv drupal8
DOC
Mau danh sach thuc tap tot nghiep K40CDL.doc
DOC
Brand identityguide
PDF
Mapping in Drupal using OpenLayers
PPTX
Take your drupal sites offline
PPTX
Build an OSM mapping platform with Drupal
PDF
Importing and synchronizing content using Feeds
PDF
Feeds. использование и создание плагинов. Feeds API
PDF
Web Mapping with Drupal
PDF
Mapping in Drupal 7 using OpenLayers
PDF
Getting started with Ansible. Be efficient.
PDF
Of Nodes and Maps (Web Mapping with Drupal - Part II)
PDF
Drupal and diversity of Single sign-on systems
PDF
Build your application in seconds and optimize workflow as much as you can us...
KEY
Drupal mapping
ODP
OpenLayers vs. Leaflet
PDF
Guide sur le traitement ARV en arabe
PDF
Cloud Driven Development: a better workflow, less worries, and more power
Services в drupal 8
Feeds drupal cafe
DrupalCafe Kyiv drupal8
Mau danh sach thuc tap tot nghiep K40CDL.doc
Brand identityguide
Mapping in Drupal using OpenLayers
Take your drupal sites offline
Build an OSM mapping platform with Drupal
Importing and synchronizing content using Feeds
Feeds. использование и создание плагинов. Feeds API
Web Mapping with Drupal
Mapping in Drupal 7 using OpenLayers
Getting started with Ansible. Be efficient.
Of Nodes and Maps (Web Mapping with Drupal - Part II)
Drupal and diversity of Single sign-on systems
Build your application in seconds and optimize workflow as much as you can us...
Drupal mapping
OpenLayers vs. Leaflet
Guide sur le traitement ARV en arabe
Cloud Driven Development: a better workflow, less worries, and more power
Ad

Similar to Drupal 7 Feeds Intro Drupal Camp Indianapolis 2011 (20)

PDF
Drupal Camp Berlin 2014 - Content Import in Drupal 7 Using Feeds
PDF
Import and synchronize Drupal commerce content using Commerce feeds
PDF
Drupal feeds
PPTX
Importing and syncing contents with feeds module
PPTX
Rss on your_library_site
PDF
When Data is Everywhere, Where Do You Start?: Using Drupal to Manage, Distrib...
PDF
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
PPTX
How to Migrate, Manage and Centralize your Web Infrastructure with Drupal
PDF
Drupal and the semantic web - SemTechBiz 2012
PDF
D7 10 modules-in-20mins v2 copy
PDF
SXSW Hacking RSS: Filtering & Processing Obscene Amounts of Information
PDF
How to migrate content to Drupal using XML files
PPTX
Making Money with RSS
PPT
Drupal for Non-Wimpy Librarians (ILEAD U 2011)
PDF
DrupalGovCon 2016: Consuming Third-party APIs in Drupal - Lessons from USGS.gov
PDF
Feeding Drupal in Real-Time
PDF
Drupal as a Semantic Web platform - ISWC 2012
PDF
Drupal and RDF
ODP
D7presentation
Drupal Camp Berlin 2014 - Content Import in Drupal 7 Using Feeds
Import and synchronize Drupal commerce content using Commerce feeds
Drupal feeds
Importing and syncing contents with feeds module
Rss on your_library_site
When Data is Everywhere, Where Do You Start?: Using Drupal to Manage, Distrib...
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
How to Migrate, Manage and Centralize your Web Infrastructure with Drupal
Drupal and the semantic web - SemTechBiz 2012
D7 10 modules-in-20mins v2 copy
SXSW Hacking RSS: Filtering & Processing Obscene Amounts of Information
How to migrate content to Drupal using XML files
Making Money with RSS
Drupal for Non-Wimpy Librarians (ILEAD U 2011)
DrupalGovCon 2016: Consuming Third-party APIs in Drupal - Lessons from USGS.gov
Feeding Drupal in Real-Time
Drupal as a Semantic Web platform - ISWC 2012
Drupal and RDF
D7presentation
Ad

Recently uploaded (20)

PPTX
Chapter 5: Probability Theory and Statistics
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Benefits of Physical activity for teenagers.pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Modernising the Digital Integration Hub
PDF
Getting Started with Data Integration: FME Form 101
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Unlock new opportunities with location data.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
August Patch Tuesday
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Chapter 5: Probability Theory and Statistics
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A novel scalable deep ensemble learning framework for big data classification...
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
WOOl fibre morphology and structure.pdf for textiles
Benefits of Physical activity for teenagers.pptx
O2C Customer Invoices to Receipt V15A.pptx
Modernising the Digital Integration Hub
Getting Started with Data Integration: FME Form 101
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
A comparative study of natural language inference in Swahili using monolingua...
Unlock new opportunities with location data.pdf
Enhancing emotion recognition model for a student engagement use case through...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
August Patch Tuesday
Module 1.ppt Iot fundamentals and Architecture
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game

Drupal 7 Feeds Intro Drupal Camp Indianapolis 2011

  • 1. Feeds Module for Drupal 7 Use Cases, Overview, and Walktroughs
  • 2. Who Am I? johnbarclay on drupal.org University of Illinois College of Education web developer Pixotech.com (Pixo) Consultant Maintain LDAP module Like drupal community/dev model Need to be interrupted
  • 3. Who are You? Who has used feeds in drupal 6 Who has used feed in drupal 7 Who knows they have a use case for feeds? Who may have a use case for feeds (importing or synching data into drupal) Be thinking of these for middle part of talk.
  • 4. Goals In love with feeds. Using like crazy the last couple of months. Want to: sell the module it give leg up and warnings for new users give away a book
  • 5. Breakdown Terms, Module Features, General Use Cases. 10 minutes. Keep me in check. A simple node import walk through. 10 minutes. Examples of use cases we’ve implemented or need to implement. 20 minutes. Start thinking. Advanced Feeds. Gotchas and Tools.
  • 6. What is Feeds Module? Feeds is a pluggable system for importing or aggregating content into Drupal. Investing time into learning it can make user import, node import, etc. obsolete. Very extensible. Class Based with stack of interchangeable plugins + hooks. Supports exportables/features.
  • 7.  
  • 8. Use Cases for Site Builders Data Sources: RSS Feeds, XML Feeds, CSV Files, SOAP, WDSL, LDAP, Databases... Data Targets: Nodes, Users, Taxonomy, ...
  • 9. Use Cases For Developers For data ingestion, only need to write plugins for unique data sources or targets. Can leverage other plugins and core feeds functionality (batch, unique identifiers, user interface). For migrations and many use cases don’t need any code at all Supports exportables/features
  • 10. Architecture Fetcher Parser Processor Importer mapper
  • 11. Know the Lingo Feeds Glossary very helpful http://drupal.org/node/622710 Key to understanding documentation
  • 12. Fetcher Fetcher gets data. Specific to transport/storage type crawling, directory, file upload, http, ldap query, sql,
  • 13. Parser Parser Normalizes Data. Specific to data structure Known Data Structures: CSV, RSS, LDAP Entry, OPML, SQL Recordset Customizable Data Structures: Querypath, Xpath, Xpath HTML http://drupal.org/node/856644
  • 14. Processor Processor “does stuff”. Generally stores feed items in a data structure. Could send out emails or do other obscure use cases. Node, Taxonomy Term, User built in. Data, Commerce Products, Self Node Processor, etc.
  • 15. (field) Mappers http://drupal.org/node/856780 required to know where data from feed goes into a field. basic core field types in Feeds module contrib mappers in contrib modules
  • 16. Other Terms plugin – fetcher, processor, parser feed – body of data (csv file) feed item – individual item (csv line) feed node – confusing. instance of importer stored in node. mapping – source to target field mapping guid and unique target
  • 18. Examples for Learning In the simpletest folder in feeds are example feeds sources and test configurations
  • 19. Our Use Cases What are you using feeds for? What do you need to either import on a one time basis or synch continually.
  • 20. My Common Use Cases MSSQL Data Synch to Nodes & Taxonomy XML Feed to Nodes LDAP Query to User Records CSV to Nodes to Taxonomy
  • 21. Where are Plugins Processors and Mappers: for core structures such as node, user, and taxonomy in feeds module. Outside core, should be in related contrib module or own module. http://drupal.org/node/856644
  • 22. 7.x version not ready Lots of bugs and RTBC patches If it does the job great. Read issues. When importing large amounts of data, everything has to work or need an alternative approach. my notes: http://drupal.org/node/1301604 if you use a patch, RTBC!
  • 23. Feeds Tamper Handy for edge cases trim, regex, explode, etc.
  • 24. Write Plugins search the sandbox use other plugins as templates extend other plugins rather than rewriting use file logging for debugging because of batch nature of execution. dpm() and tracing problematic.
  • 25. Add to documentation http://drupal.org/node/1307732 feeds are confusing

Editor's Notes

  • #18: http://d7win.education.illinois.edu/ title, body, published, guid (many_nodes), content.csv "guid","title","created","alpha","beta","gamma","delta","body“, users.csv name,mail,since,password
  • #20: https://preview.education.illinois.edu/admin/structure/feeds
  • #21: https://preview.education.illinois.edu/admin/structure/feeds/faculty_taxonomy_importer https://preview.education.illinois.edu/admin/structure/feeds/webtools_listbuilder_importer