IT Services



OUCS Web XML: demonstrations/samples


Contents



1. RSS

<p>
<xptr 
type="transclude" 
url="http://www.oucs.ox.ac.uk/rsscache/news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rss"/>
        </p>
UN accuses Israel over Gaza shelterUN officials accuse Israel of launching a deadly attack on a UN-run school housing thousands of refugees in Gaza despite repeated warnings.
Ebola virus threatens UK - HammondThe Ebola virus, which has killed more than 670 people in West Africa, poses a threat to the UK, Foreign Secretary Philip Hammond warns.
No appeal over Rolf Harris sentenceRolf Harris's five-year-and-nine-month jail sentence over sex offences will not be referred to the appeal court, despite 150 complaints over its "leniency".
UK to allow driverless cars on roadsThe UK government says it plans to allow driverless cars on public roads in January, and asks cities to compete to host one of three trials.
Ukraine claims key town near DonetskThe Ukrainian army says it has seized the town of Avdiivka, near the rebel stronghold of Donetsk, amid intense fighting in the area around the downed MH17 flight.
Ex-policeman on Rodney murder chargeA former policeman is to be charged with murdering a man who was shot dead after a car was stopped by officers in north London nine years ago.
Savile charity to challenge payoutsA charity set up by Jimmy Savile is challenging any payouts of compensation to victims of the sex attacker, victims' lawyers say.
New banker rules 'could hurt London'Bank of England plans to penalise badly-performing bankers could put London at a disadvantage as a financial centre, says banking industry body BBA.
PM pledges £3m in extra aid for GazaAn additional £3m in UK aid is to be made available to help the humanitarian situation in Gaza, Prime Minister David Cameron says.
Fire breaks out on Eastbourne PierDozens of firefighters are tackling a blaze on Eastbourne Pier.
<p>
<xptr 
type="transclude" 
url="http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rssbrief"/>
        </p>
UN accuses Israel over Gaza shelter
Ebola virus threatens UK - Hammond
No appeal over Rolf Harris sentence
UK to allow driverless cars on roads
Ukraine claims key town near Donetsk
Ex-policeman on Rodney murder charge
Savile charity to challenge payouts
New banker rules 'could hurt London'
PM pledges £3m in extra aid for Gaza
Fire breaks out on Eastbourne Pier
<p>
<xptr 
type="transclude" 
url="http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rssnoimage"/>
        </p>
UN accuses Israel over Gaza shelterUN officials accuse Israel of launching a deadly attack on a UN-run school housing thousands of refugees in Gaza despite repeated warnings.
Ebola virus threatens UK - HammondThe Ebola virus, which has killed more than 670 people in West Africa, poses a threat to the UK, Foreign Secretary Philip Hammond warns.
No appeal over Rolf Harris sentenceRolf Harris's five-year-and-nine-month jail sentence over sex offences will not be referred to the appeal court, despite 150 complaints over its "leniency".
UK to allow driverless cars on roadsThe UK government says it plans to allow driverless cars on public roads in January, and asks cities to compete to host one of three trials.
Ukraine claims key town near DonetskThe Ukrainian army says it has seized the town of Avdiivka, near the rebel stronghold of Donetsk, amid intense fighting in the area around the downed MH17 flight.
Ex-policeman on Rodney murder chargeA former policeman is to be charged with murdering a man who was shot dead after a car was stopped by officers in north London nine years ago.
Savile charity to challenge payoutsA charity set up by Jimmy Savile is challenging any payouts of compensation to victims of the sex attacker, victims' lawyers say.
New banker rules 'could hurt London'Bank of England plans to penalise badly-performing bankers could put London at a disadvantage as a financial centre, says banking industry body BBA.
PM pledges £3m in extra aid for GazaAn additional £3m in UK aid is to be made available to help the humanitarian situation in Gaza, Prime Minister David Cameron says.
Fire breaks out on Eastbourne PierDozens of firefighters are tackling a blaze on Eastbourne Pier.
<p>
<xptr 
type="transclude" 
url="http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rss rsslimit-2"/>
        </p>
UN accuses Israel over Gaza shelterUN officials accuse Israel of launching a deadly attack on a UN-run school housing thousands of refugees in Gaza despite repeated warnings.
Ebola virus threatens UK - HammondThe Ebola virus, which has killed more than 670 people in West Africa, poses a threat to the UK, Foreign Secretary Philip Hammond warns.


2. Entities and XIncludes

Entities: at the top of the file

<!DOCTYPE TEI.2 [
<!ENTITY ThisYear "2009">
]>
and then
<p>We'll party like it's &ThisYear;</p>

We'll party like it's 2009

XInclude: In a separate file called ‘disclaimer.xml’, we write

<p>Usual disclaimers apply.</p>
and then say
<include
	xmlns="http://www.w3.org/2001/XInclude"
	href="disclaimer.xml"/>
noting that the included file must be well-formed XML (ie have a single root element).

Usual disclaimers apply

Partial XInclude:

<include xmlns="http://www.w3.org/2001/XInclude" href="strings.xml#xpointer(//seg[@n='thisYear'])"/>
2009

Using PI:

<?string thisYear?>



3. Tables

 <p>
<table frame="border">
<head>table shows the rise and fall of mortality. Using frame="border"</head>
<row role='label'>
         <cell/><cell cols="3">years</cell></row>
<row role='label'>
         <cell/><cell>2006</cell><cell>2007</cell><cell>2008</cell></row>
<row><cell role='label'>St. Leonard's, Shoreditch</cell>
         <cell>64</cell> <cell>84</cell> <cell>119</cell></row>
<row><cell role='label'>St. Botolph's, Bishopsgate</cell>
         <cell>65</cell> <cell>105</cell> <cell>116</cell></row>
<row><cell role='label'>St. Giles's, Cripplegate</cell>
         <cell>213</cell> <cell>421</cell> <cell>554</cell></row>
</table>
</p>
Table 1. table shows the rise and fall of mortality. Using frame="border"
years
200620072008
St. Leonard's, Shoreditch 64 84 119
St. Botolph's, Bishopsgate 65 105 116
St. Giles's, Cripplegate 213 421 554
<p>
<table border="3">
<head>table shows the rise and fall of mortality.  Using border="3"</head>
<row role='label'>
         <cell/><cell cols="3">years</cell></row>
<row role='label'>
         <cell/><cell>2006</cell><cell>2007</cell><cell>2008</cell></row>
<row><cell role='label'>St. Leonard's, Shoreditch</cell>
         <cell>64</cell> <cell>84</cell> <cell>119</cell></row>
<row><cell role='label'>St. Botolph's, Bishopsgate</cell>
         <cell>65</cell> <cell>105</cell> <cell>116</cell></row>
<row><cell role='label'>St. Giles's, Cripplegate</cell>
         <cell>213</cell> <cell>421</cell> <cell>554</cell></row>
</table>
</p>
Table 2. table shows the rise and fall of mortality. Using border="3"
years
200620072008
St. Leonard's, Shoreditch 64 84 119
St. Botolph's, Bishopsgate 65 105 116
St. Giles's, Cripplegate 213 421 554
<p>
<table border="20">
<head>table shows the rise and fall of mortality.  Using border="20"</head>
<row role='label'>
    <cell/><cell cols="3">years</cell></row>
<row role='label'>
         <cell/><cell>2006</cell><cell>2007</cell><cell>2008</cell></row>
<row><cell role='label'>St. Leonard's, Shoreditch</cell>
         <cell align="right">64</cell> <cell align="right">84</cell> <cell align="right">119</cell></row>
<row><cell role='label'>St. Botolph's, Bishopsgate</cell>
         <cell align="right">65</cell> <cell align="right">105</cell> <cell align="right">116</cell></row>
<row><cell role='label'>St. Giles's, Cripplegate</cell>
         <cell align="right">213</cell> <cell align="right">421</cell> <cell align="right">554</cell></row>
</table>
</p>
Table 3. table shows the rise and fall of mortality. Using border="20"
years
200620072008
St. Leonard's, Shoreditch 64 84 119
St. Botolph's, Bishopsgate 65 105 116
St. Giles's, Cripplegate 213 421 554


4. RSS from blogs.it.ox.ac.uk



5. Reading multiple RSS feeds

OeRC Digital day
Digital-Square_0Oxford e-Research Centre, April 16, 2014 – 13:00 to 16:30
Digital Days offer an opportunity to find out more about how innovative digital technologies can help advance your research. A buffet lunch is provided and an open afternoon will showcase research and collaborations the Centre has been involved in.
Crowdsourcing timecapsules

merton-150x150We are supporting Merton @750 which uses the Oxford Community Collection Model to crowdsource a “living time-capsule” bringing together the Merton College community for this, their 750th Anniversary Year.

Public Engagement Guide

networkingPublic engagement and impact are increasingly important to many researchers and lecturers within the University. This Oxford guide will provide you with practical suggestions for using IT tools to help you achieve your goals in both of these areas.

A Digital Strategy for Oxford

The University has a new digital strategy out for consultation. The digital strategy is intended to answer the question: how should the University deliver its strategic plan in an environment that is increasingly digital? It provides a set of strategic aims and the broad outline of an implementation plan to meet those aims. It will provide a framework for activities across the collegiate University.

Digital Skills

2014TrinityCover_smallThe University suggests in its digital strategy that we should provide: “Training and skills for staff and students to broaden and deepen the capability of all members of the University to embrace digital.” The schedule for IT teaching in Trinity Term 2014 is now available.

Digital Expertise

henryOur Academic IT XML and TEI experts worked with Bodleian Libraries to develop digital texts of Shakespeare’s plays.  Henry V is released today. The XML-encoded plays will allow readers to search across plays and within a character’s speeches, as well as broadening accessibility to diverse audiences including computer analysis.

Student Innovation

proofJISC summer of innovation will fund student teams to develop novel ideas on how to use technology to improve student life. If  an idea proves popular (achieves 250 votes from at least 10 institutions) they  will consider it for funding.  Here’s an idea from students at Oxford. Vote now.

European Recollection

IMG_1722German Federal Chancellor Angela Merkel talks about Europeana 1914-1918 and the importance of the remembrance of ‪the First World War‬: ”I am happy that many people participate and that history also becomes more comprehensible. … This is a great thing”.

Research-intensive universities and online learning

LERU logoA new advice paper, Online Learning at Research-Intensive Universities, has been published by the League of European Research Universities (LERU). Co-authored and edited by Professor Sally Mapstone, Oxford’s Pro-Vice Chancellor for Education, it states that research-intensive universities must both embrace and strongly influence the online future of education. Professor Mapstone comments: ‘Intelligent scenario planning, underpinned by a willingness to think radically where necessary, will be key to the future provision of a successful learning experience for the next generations of students.’ Regarding quality control, she adds: ‘Research-intensive universities should take the lead in defining standards and expectations for quality assurance in online education. Online offerings should always be subjected to the same rigorous evaluation as traditional course offerings.’

Squawk! @morethanadodo notches up its 5,000th follower

dodopaint1Congratulations to our digital feathered friend from the University Museum of Natural History on reaching a big milestone in his?/her? social media activities! You can read all about @morethanadodo and how colleagues from the Museum maintained a lively outreach programme during the Museum’s year-long closure in one of our many case studies of innovative practice with digital technologies at the University.



6. Using FormMail for a form

Suggestion Form

Please note: fields with a * must be completed.

*:
*:
*:
: