RSS feed for keyword album

rup3rt

Joined: 2005-10-26
Posts: 9
Posted: Sun, 2007-10-28 23:36

Is it possible to output keyword album updates as Standard or Simple RSS feeds?

I think I have tried every combination and researched the forums

- No "add feed" links appear in "album actions" for keyword albums
- Tacking the g2_highlightId onto any rss string doesn't produce a result
- I can't see a renamed url path that would give the desired result

Thanks

R3

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 2670
Posted: Mon, 2007-10-29 02:05
Login or register to post comments
rup3rt

Joined: 2005-10-26
Posts: 9
Posted: Mon, 2007-10-29 17:48

Thanks supersidr!

Now I get it. Nearly there.

I am getting feed empty messages.
- I took out the <album> tags
- XML validators dont like the &amp in the link urls

Here's the top half. What do you think?

R3

<?xml version="1.0"?>
<rss version="2.0">
    <channel>
        <title><![CDATA[ XML Mini SlideShow for Gallery2 ]]></title>
        <link>http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php</link>
        <description>XML Mini SlideShow for Gallery2</description>
        <language>en_US</language>
        <generator>FlashYourWeb RSS Generator version 2.0.1</generator>
        <lastBuildDate>Mon, 29 Oct 2007 10:17:10 -0700</lastBuildDate>
        <ttl>120</ttl>
        <item>
            <title>One</title>
            <id>2290</id>
            <link>http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php/v/wes/IMG_0238.JPG.html&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8</link>
            <view>http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php&amp;g2_view=core.DownloadItem&amp;g2_itemId=2290&amp;g2_serialNumber=3&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8</view>
            <thumbUrl>http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php&amp;g2_view=core.DownloadItem&amp;g2_itemId=2292&amp;g2_serialNumber=2&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8</thumbUrl>
            <width>1600</width>
            <height>1200</height>
            <mime>image/jpeg</mime>
            <description><![CDATA[<a href="http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php/v/wes/IMG_0238.JPG.html&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8"><img border="0" src="http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php&amp;g2_view=core.DownloadItem&amp;g2_itemId=2292&amp;g2_serialNumber=2&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8" width="170" height="170"/></a><br/>One]]></description>
            <guid isPermaLink="false">http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php/v/wes/IMG_0238.JPG.html&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8</guid>
            <pubDate>Mon, 29 Oct 2007 09:38:53 -0700</pubDate>
            <preferred>http://mysite.com/xml.php?mode=dynamic&g2_view=keyalbum.KeywordAlbum&g2_keyword=blog/main.php/v/wes/IMG_0238.JPG.html&amp;g2_imageViewsIndex=0&amp;g2_GALLERYSID=658f8ff74f36fd2d600ac294ea086ab8</preferred>
        </item>
Login or register to post comments
rup3rt

Joined: 2005-10-26
Posts: 9
Posted: Tue, 2007-10-30 01:41

OK The problem is authentication. Neither gallery rss plugin nor slideshow xml.php seem to work with the login embedded in the URL. I tried this with Yahoo pipes. Any means of going all this with permanent/persistent session cookies?

R3

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 2670
Posted: Tue, 2007-10-30 01:54

you can set 'activeUserId' => in the init function in xml.php among other means.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
kevanc

Joined: 2007-10-29
Posts: 1
Posted: Tue, 2007-10-30 14:51

oops

Login or register to post comments
rup3rt

Joined: 2005-10-26
Posts: 9
Posted: Wed, 2007-10-31 16:18

OK it is working now! Great!

I have a unique user cloned from 'Guest' to spool the feed. Access is restricted by IP address thtough .htaccess

This'll work for a while :-)

R3

Login or register to post comments