Leech - automating content addition

Last modified: February 24, 2009 - 17:41

The Leech module is an amazing module that automagically adds content to your site. Once its set up it will read RSS feeds and "leech" the articles from the originating site and each article as a node on your drupal site.

This is how you set up leech (4.7.x-1.6 as of 3/3/2007).:

Enable the following 2 modules:

  1. leech
  2. node_template (which comes with leech)

next, according to modules/leech/README.txt you have to do the following:

  1. create a story called "template story" and in the body of the story, put any place holder like "template node". Under publishing options disabled "Published"
  2. After creating the story, you will find the node now has a new tab called "template". Click on that and then on the button named "create"
  3. Next go to admin/settings/content-types and enable leech using the template created above. and save
  4. The final and most important part of the leech puzzle is from http://drupal.org/node/116859. which says you have to create a PAGE for each RSS feed. When you create content/page you will now find there is a new option called leech. put in your rss feed's url and wait for like 10 to 30 seconds. the advanced options will fill up with the data for your feed. Give your new leech feed a name and save. I don't believe any body would want this new leech feed posted to their front page so uncheck that option from under publish.
  5. once saved, there is still no data, depending on how often you set your leech module to check for updates (dependent on cron) you will either have to wait for the next cronjob or click on leech data now and VOILA! NEW STORIES!

NB. its supposedly possible to use other node types and even CCK but i havent tried and the above is exactly what i need

 
 

Drupal is a registered trademark of Dries Buytaert.