Health and Safety
Executive / Commission
Styleguide
How to create content that updates iteself.
This technique uses Javascript to pull RSS feeds into webpages.
<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&num=5&desc=200&date=y&tz=+0&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.
This section is under review. Contact QR manager at Sheffield for a purpose built local site search.