Jump to Content

Providing a link to your RSS feed

This page provides instructions for how to link to RSS and how to set up this facility in a webpage on your site. Once you have created your RSS feed, it is time to advertise your RSS feed and provide a link to allow people to subscribe. Typically your page will have a link similar to the following.

Example RSS Link Icon Subscribe to UniSA RSS news feed

You can either view source in your browser to obtain this table and code, or you can use the following code.

<table>
<tr>
<td>
<a href="http://www.unisa.edu.au/news/unisa.xml" target="_blank">
<img class="rss" title="feed_rss1" id="feed_rss1" src="../images/rss.gif" alt="RSS Feed Logo"/>
</a>
</td>
<td>
<a class="rss" href="http://www.unisa.edu.au/news/unisa.xml" target="_blank">Subscribe to UniSA RSS news feed</a> - you only need to do this once to receive UniSA news.</td>
</tr>
</table>

Note the use of the class="rss" tag modifier for the tag. This is a special modifier which explains to the browser program that the referenced URL is an RSS Feed.  When the user activates the link the browser will take the necessary actions to utilise the RSS Feed file.

You will need to change the URL in the code in the two places it is linked, and save the RSS image to an images folder (this may require changing the src=../images/rss.gif to another file path).

Test and publish!

 

 

top^