BCS home page Oxfordshire Branch  
Contact Us | search | printable | Branch home page | BCSrecruit.com | BCS website
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:

  1. Invoke the javascript program
  2. <script language="JavaScript" 
    src="http://www.oxon.bcs.org/scripts/bcsoxonevents.js" 
    type="text/javascript"></script>
    
  3. 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:
  4. <style type="text/css">
    .rss {font-size: xx-small;}
    .rsshead {font-size: x-small;}
    </style>
    
  5. 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).
  6. <table border="0" cellspacing="1" cellpadding="1">
    <script language="Javascript">
    bcsoxonevents(5)
    </script>
    </table>
    


Registered Chartered Engineering Institute 1990.
BCS is a member of the Council of the European Professional Informatics Societies.
BCS Is a Registered Charity; No. 292,786
BCS Logo
Generated: 28-04-2008 17:20:20 © BCS Oxfordshire Branch & Adrian Walmsley 2007 contact us