Jump to content

How do I syndicate my website to produce an RSS feed?


Draggletail

Recommended Posts

  • 2 weeks later...
I you do PHP, I can send you my rss.php from a site I do.

 

Send me a PM.

heHe, I only just do html probedb ;) (just learning) so it's a bit beyong me at this stage- thanks very much for the offer though, appreciated :thumbsup:

 

Beeper - not too sure what you mean mate, this is my website

http://homepages.nildram.co.uk/~draggle/toptwentygood

 

Would it be suitable for what you suggested?

Link to comment
Share on other sites

You can easily create it by hand, as per the following example:

 

<?xml version="1.0"?>
<rss version="2.0">
 <channel>
   <title>Software Cybersleuth</title>
   <link>http://homepages.nildram.co.uk/~draggle/toptwentygood</link>
   <description>Investigating the Web for the very best FREE downloads available</description>
   <language>en-gb</language>

   <item>
     <title>Core FTP</title>
     <link>http://homepages.nildram.co.uk/~draggle/toptwentygood</link>
     <description>This free, secure FTP client gives you a fast, easy, reliable way to update and maintain your website via FTP. It also provides a secure method (via SSL, TLS, or SFTP) to upload / download files to and from FTP servers. Check out the list of features and you'll find almost every feature you need, all in a free ftp program. There are no popup ads, advertising or spyware and you're never asked or reminded to register.</description>
     <pubDate>Mon, 13 Nov 2006 20:00:00 GMT</pubDate>
   </item>
 </channel>
</rss>

 

Simply copy and replace the <item> section for each item in your list and thats it. Every time you add a new piece of software, simply add a new <item>.

 

Your website is ideal for an RSS feed, especially if you keep it fresh and update it frequently.

 

The only thing I'd suggest is that you have a link (ideally a separate page) for each item. Then you can make the <link> point directly to the item and not just the whole page. You could just add an 'id' element with a unique name as follows:

 

<div align="justify" id="coreftp">Core FTP</div>

 

(ideally this should be a heading element but thats another story...). Then your link is http://homepages.nildram.co.uk/~draggle/toptwentygood#coreftp which will then link to that part of the page (I hope this makes some sense...) rather than the top of the page.

 

create a file with the above xml content, save it as something like feed.rss and put it somewhere in your website. your feed url would then be http://homepages.nildram.co.uk/~draggle/feed.rss

 

hope this helps.

Link to comment
Share on other sites

You can easily create it by hand, as per the following example:

 

<?xml version="1.0"?>
<rss version="2.0">
 <channel>
   <title>Software Cybersleuth</title>
   <link>http://homepages.nildram.co.uk/~draggle/toptwentygood</link>
   <description>Investigating the Web for the very best FREE downloads available</description>
   <language>en-gb</language>

   <item>
     <title>Core FTP</title>
     <link>http://homepages.nildram.co.uk/~draggle/toptwentygood</link>
     <description>This free, secure FTP client gives you a fast, easy, reliable way to update and maintain your website via FTP. It also provides a secure method (via SSL, TLS, or SFTP) to upload / download files to and from FTP servers. Check out the list of features and you'll find almost every feature you need, all in a free ftp program. There are no popup ads, advertising or spyware and you're never asked or reminded to register.</description>
     <pubDate>Mon, 13 Nov 2006 20:00:00 GMT</pubDate>
   </item>
 </channel>
</rss>

 

Simply copy and replace the <item> section for each item in your list and thats it. Every time you add a new piece of software, simply add a new <item>.

 

Your website is ideal for an RSS feed, especially if you keep it fresh and update it frequently.

 

The only thing I'd suggest is that you have a link (ideally a separate page) for each item. Then you can make the <link> point directly to the item and not just the whole page. You could just add an 'id' element with a unique name as follows:

 

<div align="justify" id="coreftp">Core FTP</div>

 

(ideally this should be a heading element but thats another story...). Then your link is http://homepages.nildram.co.uk/~draggle/toptwentygood#coreftp which will then link to that part of the page (I hope this makes some sense...) rather than the top of the page.

 

create a file with the above xml content, save it as something like feed.rss and put it somewhere in your website. your feed url would then be http://homepages.nildram.co.uk/~draggle/feed.rss

 

hope this helps.

 

That's incredibly useful LL200, thanks very much :thumbsup:

Just to clarify - the first body of text example would be saved on a seperate page of the site named something like rss.feed, and the links to new individual items go on another page named something like draggle/new/feed.rss?

Link to comment
Share on other sites

i dont quite understand what you're saying, but i have a feeling you've not quite understood. take the whole of the xml i've given, save it to feed.rss, upload it and subscribe to it. you may then understand it a little more.

 

ignore what i've said about the links for now. call that stage 2 :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.