Article

XML tags to be defined

NewsML, NITF, UPML

NITF

NITF example: XML, XSLT, HTML
NITF Tutorial
NITF Website

Here you find an example of NewsML from reuters: html xml (only IE5.5 or later)
We used this example for the structure of the xml.

NewsML, UPML (Unipublic Markup Language)

Related Content

<related-content>
<block>
  <title>Link</title>
  <item>
    <a href="http://www.unipublic.unizh.ch">BrainFair 2002</a>
  </item>
</block>
<block>
  <title>Artikel</title>
  <item>
    <a href="http://www.unipublic.unizh.ch">Zum Abschluss offene Türen</a> (unipublic, 25.3.2002)
  </item>
  <item>
    <a href="http://www.unipublic.unizh.ch">Wenn die Sprache verloren geht</a> (Podiumsgespräch zu Hirnverletzungen)
  </item>
</block>
</related-content>

Publish

When we publish an article, it is automatically inserted in the headlines of the frontpage in authoring.
The article receives a FirstPublishDate when it is published for the firs time. If it is published many times, its RevisionDate will be updated.

Implementation

Data Migration: HTML to XML

  1. Parse Section
  2. Download Article
  3. Tidy: HTML to XHTML
  4. Add line <?xml version="1.0"?>
  5. Replace special characters (nbsp=#160, auml=#228, uuml=#252, ouml=#246, Uuml=#220, Auml=#196, laquo=#171, raquo=#187)
  6. migrate-xhtml2xml.xsl: XHTML to XML
  7. Hands On!