Last active
August 23, 2017 07:18
-
-
Save likewhoa/8832436 to your computer and use it in GitHub Desktop.
Command line how to on setting up feeds and feeds_meetup module for Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. | |
# cat site.make | |
core = 7.x | |
api = 2 | |
projects[drupal][type] = "core" | |
projects[drupal][download][type] = git | |
projects[drupal][download][branch] = 7.x | |
projects[drupal][download][url] = http://git.drupal.org/project/drupal.git | |
2. | |
# drush -y --verbose make site.make | |
3. | |
# drush -y --verbose site-install standard --db-url=mysql://<DB_USER_NAME>:<DB_PASSWORD>@localhost/<DB> | |
4. Download require modules for feeds_meetup | |
# drush -y dl ctools-7.x-1.x-dev job_scheduler-7.x-2.x-dev feeds-7.x-2.x-dev feeds_meetup-7.x-1.0 | |
5. Enable modules | |
# drush -y en ctools feeds_meetup feeds_ui | |
# drush -y dis overlay shortcut | |
6. Create two content types, one for the feed and another for the feed item. Feed should be the one attached in admin/structure/feeds/<FEED IMPORTER>/settings and feed item should be the bundle in admin/structure/feeds/<FEED IMPORTER>/settings/FeedsNodeProcessor | |
Add the fields in feed item content type which you want mapped from the meetup XML source. Feed content type will just have one field which will be the meetup api call i.e events,venues or groups. | |
7. Go to node/add/feed (feed is the content type you created in step 6) | |
8. Check admin/content you should see your feed nodes. | |
9. for lazy/inexperience people this is a backup of my current implementation at https://weboperative.com/feeds_meetup.tar.bz2 (expires eventually). To get this going do the following. | |
1. Extract archive | |
2. import mysql database | |
3. edit sites/default/settings.php to reflect db credentials | |
10. PROFIT??? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment