Brand Your Feed

One of the best ways to keep readers coming back to your feed is to make it recognizable by branding it, much as you would for a product you want to sell. One of the main ways of branding your feed is to make the name of your feed stand out by giving it an image (Figure 10.4).

Figure 10.4. Use an image for your feed that readers will come to recognize.

Adding an image to your feed is simple with the <image> elementjust make sure the image you want to use has a URL (that is, it's online):

    <?xml version="1.0"?>    <!DOCTYPE rss SYSTEM     "">    <rss version="0.91">     <channel>      <copyright>Copyright 2005.</copyright>      <pubDate>Wed, 14 Dec 2005 07:00:00 GMT</pubDate>      <lastBuildDate>Mon, 12 Dec 2005 07:00:00 GMT</lastBuildDate>      <docs></docs>      <description>This feed contains news from Steve!</description>      <link></link>      <title>Steve's News!</title>      <language>en-us</language>      <image>        <title>Steve's News</title>        <url></url>        <link></link>        <description>Steve's News</description>        <width>144</width>        <height>36</height>      </image>      <managingEditor> (Steve)</managingEditor>      <webMaster> (Steve)</webMaster>      <skipHours>        <hour>8</hour>        <hour>9</hour>        <hour>10</hour>      </skipHours>      <skipDays>        <day>Sunday</day>      </skipDays>      <item>        <title>Steve shovels the snow</title>        <description>It snowed once again.          Time to shovel!>        </description>        <link></link>      </item>      <textinput>        <title>Search for other items</title>        <description>What do you want to find?</description>        <name>search</name>        <link></link>      </textinput>     </channel>    </rss> 

You can also use the <title> and <description> elements for the channel to carry branding information, especially if you have a trademark you can use in those elements.

Secrets of RSS
Secrets of RSS
ISBN: 0321426223
EAN: 2147483647
Year: 2004
Pages: 110

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: