+ Reply to Thread
Results 1 to 2 of 2

Thread: RSS/Atom/Feed Help - Newbie

  1. #1
    Join Date
    Jul 2006
    Posts
    1

    Question RSS/Atom/Feed Help - Newbie

    Hi - I have a photo site and in order to be listed in many of the photo sites you need to have RSS/feed etc.. I am not at all sure how to do this. Can anyone help me or can I contact bluehost for help? Thanks.

  2. #2
    Join Date
    Jul 2006
    Posts
    192

    Default

    create a new file named feed.xml and add this.

    Code:
     <?xml version="1.0" encoding="iso-8859-1"?>
    <rss version="2.0">
        <channel>
            <title>TITLE OF FEED</title>
            <link>THIS SHOULD BE OBVIOUS</link>
            <description>DESCRIPTION OF THE FEED</description>
            <language>en-us</language>
         <item> 
            <image>
                <title>TITLE OF IMAGES</title>
                <url>ABSOULTE PATH TO IMAGE GOES HERE</url>
                <link>LINK TO PAGE WHERE THIS IMAGES IS VIEWED ON</link>
                <width>144 THIS CAN BE REMOVED IF YOU LIKE</width>
                <height>16 THIS CAN BE REMOVED IF YOU LIKE</height>
                <description>DESCRIPTION OF PIC, THIS CAN BE REMOVED IF YOU LIKE</description>
            </image>
         </item> 
         <item> 
           <image>
                <title>TITLE OF IMAGES</title>
                <url>ABSOULTE PATH TO IMAGE GOES HERE</url>
                <link>LINK TO PAGE WHERE THIS IMAGES IS VIEWED ON</link>
                <width>144 THIS CAN BE REMOVED IF YOU LIKE</width>
                <height>16 THIS CAN BE REMOVED IF YOU LIKE</height>
                <description>DESCRIPTION OF PIC, THIS CAN BE REMOVED IF YOU LIKE</description>
            </image>
         </item> 
         <item> 
            <image>
                <title>TITLE OF IMAGES</title>
                <url>ABSOULTE PATH TO IMAGE GOES HERE</url>
                <link>LINK TO PAGE WHERE THIS IMAGES IS VIEWED ON</link>
                <width>144 THIS CAN BE REMOVED IF YOU LIKE</width>
                <height>16 THIS CAN BE REMOVED IF YOU LIKE</height>
                <description>DESCRIPTION OF PIC, THIS CAN BE REMOVED IF YOU LIKE</description>
            </image>
         </item> 
      </channel>
    </rss>

    This is an example of the images set up. To add more just insert this after the last </item>

    Code:
    <item> 
            <image>
                <title>TITLE OF IMAGES</title>
                <url>ABSOULTE PATH TO IMAGE GOES HERE</url>
                <link>LINK TO PAGE WHERE THIS IMAGES IS VIEWED ON</link>
                <width>144 THIS CAN BE REMOVED IF YOU LIKE</width>
                <height>16 THIS CAN BE REMOVED IF YOU LIKE</height>
                <description>DESCRIPTION OF PIC, THIS CAN BE REMOVED IF YOU LIKE</description>
            </image>
         </item>

    Depending on the reader the user is using, it might not be able to render the IMAGES. That's not your fault but atleast you have a feed setup and it will default to the text link and still show the description if that should happen kind of like a alt tag in HTML. Hope this helps some.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts