RSS Events feed
We are implementing an RSS newsfeed to advertise coming events. Note: This service is experimental and subject to change.
If you have any comments or suggestions about this idea please let us know through the feedback form.
RSS/XML newsfeed
If you can process RSS newsfeeds, you will find the list of all future events at http://www.oxon.bcs.org/xml/bcsoxonevents.xml
A dynamically generated version of the RSS feed is at http://www.oxon.bcs.org/events/bcsoxonevents.php. By default this displays all events in the program after today. But you can supply a different start date and a maximum
number of events to display, following this pattern: http://www.oxon.bcs.org/events/bcsoxonevents.php?after=2004-01-01&max=3. The parameters are cuurrently not validity checked, so specifying them incorrectly will probably provoke error messages.
FeedReader is one of several freeware programmes that can be used to display newsfeeds.
Using Javascript
If you can't process an RSS/XML feed directly, we have provided an option to include our events list directly on a web page
using Javascript. You need to insert code similar to the following:
- Invoke the javascript program
<script language="JavaScript"
src="http://www.oxon.bcs.org/scripts/bcsoxonevents.js"
type="text/javascript"></script>
- The javascript program generates text using class="rss" and "rsshead" to give you the flexibility to choose your own font
settings, so you need a style definition along the following lines:
<style type="text/css">
.rss {font-size: xx-small;}
.rsshead {font-size: x-small;}
</style>
- Finally you invoke the bcsoxonevents function. It generates rows of a table - so needs to be enclosed within table tags. This
gives you the choice of whether to display borders etc.
bcsoxonevents takes one parameter: the number of future events to display (up to the maximum available from the newsfeed).
<table border="0" cellspacing="1" cellpadding="1">
<script language="Javascript">
bcsoxonevents(5)
</script>
</table>
|