Join Jon Peck for an in-depth discussion in this video Importing content using feeds, part of Drupal 7: Custom Module Development.
One of the problem domains I encounter often is the need to import content from a data …source into Drupal. …The United States Department of Energy created the Open Energy Information initiative or …OpenEI as a platform to connect the world's energy data. …Licensed under a Creative Commons Public Domain one of the many collections of open data they …publish is a database of wind farms in the United States. …As this module facilitates the creation of a database of wind farms, I'm going to use …the freely available CSV to import data.…
I've trimmed the data set a bit to include only fields that are supported in this content type. …One of the many advantages of Drupal is the open platform for developing and sharing content, …and functionality, and importing data is one of those areas. …The Feeds Module imports and aggregates data as nodes, users, taxonomy terms or even simple …database records. …Out of the box it supports RSS feeds, CSV files, and much more, and these imports can …be performed as one-offs or unscheduled regular intervals.…
- Creating your first module
- Interacting with hooks
- Working with permissions and roles
- Controlling access
- Adding a menu item to an admin interface
- Using the Form API (FAPI) to quickly create a form
- Creating custom form validation
- Manually creating a custom content type
- Validating user input
- Importing content using feeds
- Creating a block
- Understanding best practices and coding standards
Skill Level Advanced
Q: gmap3_tools is not working the way I expected it to. What version of gmap3_tools should I be using?
A: Use the free exercise file containing the version of gmap3_tools used for recording; the published version of the module on drupal.org has changed since recording and is not backwards compatible.
Q: I attempted to run the Drupal site root from the project files, but the site isn't loading. Why not?
A: The Drupal configuration file in sites/default/settings.php contains database configuration specific to the environment used to record the movie. This may be different than your environment. Edit the file and search for "windfarms" - you may need to change the database host, username, password, db name and port to match your specific environment.