HSE banner

'Clever' links

How to create content that updates iteself.

RSS

This technique uses Javascript to pull RSS feeds into webpages.

Demo

Code

<div class="feed">
<a class="feed" href="http://news.hse.gov.uk/category/construction/" title="http://news.hse.gov.uk/feed2js/feed2js.php?src=http%3A%2F%2Fnews.hse.gov.uk%2Fcategory%2Fconstruction%2Ffeed&amp;num=5&amp;desc=200&amp;date=y&amp;tz=+0&amp;utf=y">View RSS feed</a>
</div>

The above example draws in the construction feed, displays the five most recent items and displays the first 200 characters from the description. Change the items highlighted to change the category, the number of items displayed and length of description.

Using Google to search sub sites

This section is under review. Contact QR manager at Sheffield for a purpose built local site search.