RSS feed for an image gallery?

cpill - April 27, 2007 - 10:14

So,

I want to create a RSS feed for the image gallery module (does Gallery2 do this?), but it would be handly to be able to slap a custom RSS feed on any group of nodes, by custom I mean, change the link attribute to point to an image/video/torrent whatever.

I don't understand what hooks I need to override. I know the hook_nodeapi lets you ADD to an existing feed, but I don't think Image Galleys have their own(?). I guess I could make a View to do this but would it put the image URL as the link for each item, I fear not.

I can't find any documentation on this. Is there something I'm missing?

Actually, what I'm try to do it create an XML document for a Flash image rotator (http://www.jeroenwijering.com/?item=Flash_Image_Rotator) for which I want to use the SWFTools for (currently I think they manage file uploading, but it makes more sense to just use the Image Gallery module: why double up on functionality?)

Help appreciated.

Anyone know anything about outputing RSS from a module...?

cpill - April 27, 2007 - 15:12

Anyone...?

Alexander Whillas
Taylor Square Designs
Berlin, Germany

Can this be done with Views?

cpill - May 14, 2007 - 09:43

I read something that implied that RSS could be generated via Views, is this possible?

Alexander Whillas
Taylor Square Designs
Berlin, Germany

I dont know if gallery 2

gains - May 14, 2007 - 11:13

I dont know if gallery 2 creates a rss feed.
But when you create a view using Views you do get a RSS feed automatically generated.

--------------------------------------------------
http://www.usingdrupal.com
Module Tutorial Screencasts

sweet

cpill - May 14, 2007 - 11:36

This might be just what I need, however I might need to modify the RSS feed to do a Flickr style feed. Is it possible to add stuff to the feed for images say...?

Alexander Whillas
Taylor Square Designs
Berlin, Germany

Just an update it seems you

cpill - May 16, 2007 - 14:22

Just an update it seems you can extent the views_rss module via this comment:

http://drupal.org/node/104875#comment-212259

and better RSS support ion views might underway:

http://drupal.org/node/93302

Hopefully eliminating the need to hack so much ...

- - - - - - -

suffering from too much information

MediaRSS module?

DanielTheViking - December 9, 2008 - 00:31

See this one:
http://drupal.org/project/mediarss

And this one:
http://drupal.org/node/104875

"These two projects add enclosure tags around media files and add them to the RSS feeds."
- http://drupal.org/project/filefield_views_rss (for the filefield cck module)
- http://drupal.org/project/link_views_rss (for the link cck module)

Yes indeed. mediarss grew

dman - December 9, 2008 - 01:31

Yes indeed.
mediarss grew out of piclens.module which now supports a bunch of image gallery -> rss : media attachments.
Using RSS/XML as a means to communicate with your own flash feeds is the best design decision around.
I think, anyway

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

 
 

Drupal is a registered trademark of Dries Buytaert.