I have a multi-site Drupal installation. Each multi-site is a subdomain of example.com (like ms1.example.com, ms2.example.com, etc.)
Now, the homepage (http://example.com) is not run by Drupal, but I want to insert a feed, which consists of a mash-up of several selected feeds of the subsites. And this new feed shall not have the URL of a subsite, but the URL of the homepage (where no Drupal is installed).
Example:
the feeds
- sub1.example.com/new-nodes.rss
- sub2.example.com/feed.rss
- sub3.example.com/blog.rss
shall become one feed at "example.com/overview-feed.rss" (although example.com is no Drupal site).
Is this possible? I don't want to rely on a hosted service, I want to do it with my own shared hosting account / server. (I'd prefer an Atom feed, if possible)
Comments
+1 this, boss has been
+1 this, boss has been asking for something like this for awhile; hoping someone else has created this before I go and do it myself :)
"Plaguing the world with Drupal; One Plone, Moodle, Wordpress, Joomla user at a time since 2005." ~ btopro
http://elearning.psu.edu/
http://elearning.psu.edu/projects/
http://elearning.psu.edu/drupalineducation/
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
I haven't tried it, but I
I haven't tried it, but I believe you should be able to do this by using Drupal's built-in aggregator feature on one of the Drupal-powered sites. Create a new category and add all the "sub-feeds" to it. Then navigate to that category page. You should see your browser's auto-feed detection badge/icon activate, or check out the source code to find it manually.
The Boise Drupal Guy!
this feed at non-Drupal site?
Ok, aggregator creates a new feed of those existing feeds. How can I give this new feed a new URL, which is not mandated by Drupal? I want this feed to have the URL "example.com/overview-feed.rss", but example.com is a hand-crafted static website.
Is it possible to "copy" the new Drupal feed to "example.com/overview-feed.rss"?
For that, you'd probably
For that, you'd probably have to do some redirection trickery with the example.com server using .htaccess or similar configuration files for whatever web server software you're using.
Or, worse comes to worse, you could install a dedicated feed aggregator script at example.com. I believe SimplePie comes with sample scripts that are capable of this.
The Boise Drupal Guy!
Would you be able to do a
Would you be able to do a url alias that looks like an rss feed?
As a more extreme solution that I know would work... you could pipe all the feeds into your one site and store local / synced up copies with something like Feed API or Leech. Then use Views2 to create a custom view of those nodes that came from the external feeds and kick out the display type as another feed.
"Plaguing the world with Drupal; One Plone, Moodle, Wordpress, Joomla user at a time since 2005." ~ btopro
http://elearning.psu.edu/
http://elearning.psu.edu/projects/
http://elearning.psu.edu/drupalineducation/
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
hit's self on head
I shoulda had a V-8. Ya, I've already done this on other sites, this will accomplish this very nicely and is built in.
"Plaguing the world with Drupal; One Plone, Moodle, Wordpress, Joomla user at a time since 2005." ~ btopro
http://elearning.psu.edu/
http://elearning.psu.edu/projects/
http://elearning.psu.edu/drupalineducation/
Ex Uno Plures
http://elmsln.org/
http://btopro.com/
http://drupal.psu.edu/
Generic feeds
Hello,
Yeah generic feeds with only a teaser and title are completely supported in Drupal out of the box. For anything more sophisticated you would have to built your own custom module or use CCK and views.
Robert Foley Jr
Solutions Architect
http://www.robertfoleyjr.com
Yet another reason to upgrade
Yet another reason to upgrade to Drupal 7, navigate to: admin/structure/types/manage/[yourcontenttype]/display, add a custom display setting for RSS, and drag-and-drop which content you want to feed out.
Was scheming to do something
Was scheming to do something similar with a multisite, but mother-of-all-feeds would be published on Drupal site. Looking to do a master Calendar of Events, fed from 9 sites of a network. Loaded up Feeds API, but hadn't gotten very far along with it.
Do report back with your results, would ya.