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>
UK economy back at pre-crisis levelThe UK economy grew 0.8% in the second quarter and has now recovered the ground lost since the downturn began in 2008, according to official figures.
West Bank Gaza protests turn deadlyAt least two Palestinians die and more than 200 are hurt during West Bank protests against Israel's military operation in Gaza.
'No survivors' in AH5017 crashNo survivors from Air Algerie AH5017 flight that crashed with 116 people on board, says French President Hollande
One-shot cancer therapy gets NHS nodA pioneering breast cancer treatment that replaces weeks of radiotherapy with a single, targeted shot is set to be offered on the NHS.
Big crowds expected at Games day twoMore than 100,000 people are expected at Commonwealth Games venues later during the second day of competition.
RBS reports surprise rise in profitRoyal Bank of Scotland says it expects pre-tax profits of £2.65bn for the first half of the year but warns of 'bumps in the road ahead'.
BSkyB pays £5bn to create Sky EuropeBSkyB wants to take over Rupert Murdoch's pay TV companies in Germany and Italy in a move that would create a company with 20 million European viewers.
Russia 'fired rockets into Ukraine'The US says Russia has fired artillery at Ukrainian military positions in the east, a week after the Malaysia Airlines flight MH17 disaster.
Shift workers 'face diabetes risk'Type 2 diabetes is more common in people who work shifts, with effects on waistlines, hormones and sleep increasing the risk, a study suggests.
Chicken factory health probe orderedAn investigation into allegations of hygiene failings at poultry processing factories is ordered by Health Secretary Jeremy Hunt.
<p>
<xptr 
type="transclude" 
url="http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rssbrief"/>
        </p>
UK economy back at pre-crisis level
West Bank Gaza protests turn deadly
'No survivors' in AH5017 crash
One-shot cancer therapy gets NHS nod
Big crowds expected at Games day two
RBS reports surprise rise in profit
BSkyB pays £5bn to create Sky Europe
Russia 'fired rockets into Ukraine'
Shift workers 'face diabetes risk'
Chicken factory health probe ordered
<p>
<xptr 
type="transclude" 
url="http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rssnoimage"/>
        </p>
UK economy back at pre-crisis levelThe UK economy grew 0.8% in the second quarter and has now recovered the ground lost since the downturn began in 2008, according to official figures.
West Bank Gaza protests turn deadlyAt least two Palestinians die and more than 200 are hurt during West Bank protests against Israel's military operation in Gaza.
'No survivors' in AH5017 crashNo survivors from Air Algerie AH5017 flight that crashed with 116 people on board, says French President Hollande
One-shot cancer therapy gets NHS nodA pioneering breast cancer treatment that replaces weeks of radiotherapy with a single, targeted shot is set to be offered on the NHS.
Big crowds expected at Games day twoMore than 100,000 people are expected at Commonwealth Games venues later during the second day of competition.
RBS reports surprise rise in profitRoyal Bank of Scotland says it expects pre-tax profits of £2.65bn for the first half of the year but warns of 'bumps in the road ahead'.
BSkyB pays £5bn to create Sky EuropeBSkyB wants to take over Rupert Murdoch's pay TV companies in Germany and Italy in a move that would create a company with 20 million European viewers.
Russia 'fired rockets into Ukraine'The US says Russia has fired artillery at Ukrainian military positions in the east, a week after the Malaysia Airlines flight MH17 disaster.
Shift workers 'face diabetes risk'Type 2 diabetes is more common in people who work shifts, with effects on waistlines, hormones and sleep increasing the risk, a study suggests.
Chicken factory health probe orderedAn investigation into allegations of hygiene failings at poultry processing factories is ordered by Health Secretary Jeremy Hunt.
<p>
<xptr 
type="transclude" 
url="http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml" 
rend="rss rsslimit-2"/>
        </p>
UK economy back at pre-crisis levelThe UK economy grew 0.8% in the second quarter and has now recovered the ground lost since the downturn began in 2008, according to official figures.
West Bank Gaza protests turn deadlyAt least two Palestinians die and more than 200 are hurt during West Bank protests against Israel's military operation in Gaza.


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.

*:
*:
*:
: