How to make RSS Feeds from AutoGallery SQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fusionx
    Confirmed User
    • Nov 2003
    • 4618

    #1

    How to make RSS Feeds from AutoGallery SQL

    It's really quite simple.

    First, pay the $$$ to remove the "powered by AutoGallery" link at the bottom of every page. It will ruin your RSS output. Once you do this there are other cool templates you can create.

    Here's the template - modify it for your needs (category restriction, sponsor restriction, etc) and have fun with it.

    I use this to create my own feeds for blogs.

    Code:
    <%DEFINE
    GLOBALDUPES True
    PAGEDUPES False
    %> 
    <%TEMPLATE
    NAME RSS
    HTML <item><title>##Description##</title><link></link><pubDate>##Date## 12:34:57 +0000</pubDate><dc:creator>domains</dc:creator><category>##Category##</category><guid isPermaLink="false">##Gallery_URL##</guid><description><![CDATA[ ##Description## ]]></description><content:encoded><![CDATA[ <center><a href="##Gallery_URL##"><img src="##Thumbnail_URL##" /></a></center><br><br>##Description## ]]></content:encoded></item>
    %>
    <?xml version="1.0" encoding="UTF-8" ?> 
    <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
    <title>Sublime Nudes RSS Feed</title> 
    <link>http://www.sublimenudes.com</link> 
    <description>Beautiful Nude Art</description> 
    <pubDate>##Today## +0000</pubDate> 
    <generator>AutoGallery SQL</generator> 
    <language>en</language> 
    <%GALLERIES
    HASTHUMB 1
    DESCREQ True
    TYPE Permanent
    FORMAT Any
    CATEGORY Mixed
    AMOUNT 10
    SPONSOR Any
    HTML RSS
    GLOBALDUPES True
    PAGEDUPES False
    ORDER (Clicks/Build_Counter) DESC
    REORDER (Clicks/Build_Counter) DESC
    GETNEW True
    FILL False
    MAXAGE 1
    %>
    </channel>
    </rss>
  • fusionx
    Confirmed User
    • Nov 2003
    • 4618

    #2
    Learn more about AutoGallery SQL

    Comment

    • MissMina
      Confirmed User
      • Jan 2004
      • 2478

      #3
      Thanks!!!!

      Comment

      Working...