All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Its (the News document) exact rendering in the XHTML UI depends, of course, on the theme. The default content is designed to operate with the reference themes, so when you modify it, be sure to preserve the tag structure and e.g. the exact attributes of the first DIV tag. Also note that the text is DRI, not HTML, so you must use only DRI tags, such as the XREF figure to construct an image or xref tag to construct a link.
Example 1: a single language:
...
Code Block | ||
---|---|---|
| ||
<document> <body> <div id="file.news.div.news" n="news" rend="primary"> <head><i18n:text>myuni.repo.title</i18n:text></head> <p> <i18n:text>myuni.repo.intro</i18n:text> <i18n:text>myuni.repo.a.service.of</i18n:text> <xref target="http://myuni.edu/"><i18n:text>myuni.name</i18n:text></xref> </p> </div> </body> <options/> <meta> <userMeta/> <pageMeta/> <repositoryMeta/> </meta> </document> |
Example 3: Adding an Image
Code Block |
---|
<?xml version="1.0" encoding="UTF-8" ?>
<document xmlns="http://di.tamu.edu/DRI/1.0/" xmlns:i18n="http://apache.org/cocoon/i18n/2.1" version="1.1">
<body>
<div id="file.news.div.news" n="news" rend="primary">
<head>DSpace Repository</head>
<figure source="http://www.dspace.org/sites/dspace.org/files/dspace_logo.png"/>
<p>DSpace is a digital service that collects, preserves, and distributes digital material. Repositories are important tools for preserving an organization's legacy; they facilitate digital preservation and scholarly communication.</p>
</div>
</body>
<options/>
<meta>
<userMeta/>
<pageMeta/>
<repositoryMeta/>
</meta>
</document>
|
The XMLUI user interface supports the addition of globally static content (as well as static content within individual themes).
...