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.

Comments

cpill’s picture

Anyone...?

Alexander Whillas
Taylor Square Designs
Berlin, Germany

cpill’s picture

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

Alexander Whillas
Taylor Square Designs
Berlin, Germany

ivan zugec’s picture

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

cpill’s picture

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

cpill’s picture

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

Leeteq’s picture

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)

.
--
( Evaluating the long-term route for Drupal 7.x via BackdropCMS at https://www.CMX.zone )

dman’s picture

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/ |