Difference between revisions of "SUNScholar/XMLUI Theme/M2/Customisation/Introduction Text"
Jump to navigation
Jump to search
(Created page with "<center> '''Back to Mirage 2 Customisation''' </center> Edit the following file: nano $HOME/<u>SUNScholar/Install_DSpace/S03#St...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
</center> | </center> | ||
Edit the following file: | Edit the following file: | ||
| − | nano $HOME/ | + | nano $HOME/{{Source}}/dspace/config/news-xmlui.xml |
Use the following tags for content markup: | Use the following tags for content markup: | ||
*<head>Title etc..</head> | *<head>Title etc..</head> | ||
*<nowiki><p>.....</p></nowiki> for paragraphs. | *<nowiki><p>.....</p></nowiki> for paragraphs. | ||
| + | *<nowiki><list>(add items, see below)</list></nowiki> | ||
| + | *<nowiki><item>Item content</item></nowiki>. Items in list above. | ||
*<xref target="http://wiki.lib.sun.ac.za/index.php/BOAI/Section3">BOAI Section 3</xref> for hyperlinks to other online content. | *<xref target="http://wiki.lib.sun.ac.za/index.php/BOAI/Section3">BOAI Section 3</xref> for hyperlinks to other online content. | ||
*<figure source="http://www.dspace.org/sites/dspace.org/files/dspace_logo.png"/> | *<figure source="http://www.dspace.org/sites/dspace.org/files/dspace_logo.png"/> | ||
| Line 22: | Line 24: | ||
===DSpace XMLUI Elements=== | ===DSpace XMLUI Elements=== | ||
*https://github.com/DSpace/DSpace/tree/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/element | *https://github.com/DSpace/DSpace/tree/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/element | ||
| + | [[Category:Customisation]] | ||
Latest revision as of 12:09, 28 May 2016
Back to Mirage 2 Customisation
Edit the following file:
nano $HOME/source/dspace/config/news-xmlui.xml
Use the following tags for content markup:
- <head>Title etc..</head>
- <p>.....</p> for paragraphs.
- <list>(add items, see below)</list>
- <item>Item content</item>. Items in list above.
- <xref target="http://wiki.lib.sun.ac.za/index.php/BOAI/Section3">BOAI Section 3</xref> for hyperlinks to other online content.
- <figure source="http://www.dspace.org/sites/dspace.org/files/dspace_logo.png"/>
- <hi rend="bold">Bold text... </hi>
- <hi rend="italic">Italic text... </hi>
- NANO Editor Help
| CTL+O | = Save the file and then press Enter |
| CTL+X | = Exit "nano" |
| CTL+K | = Delete line |
| CTL+U | = Undelete line |
| CTL+W | = Search for %%string%% |
| CTL+\ | = Search for %%string%% and replace with $$string$$ |
| CTL+C | = Show line numbers |
More info = http://en.wikipedia.org/wiki/Nano_(text_editor)
XML Tags Examples
- https://github.com/DSpace/DSpace/blob/master/dspace/config/news-xmlui.xml
- https://github.com/gsallen/unb-dspace/blob/master/dspace/config/news-xmlui.xml
- https://github.com/gsallen/unb-dspace/blob/master/dspace/config/help-xmlui.xml
- https://github.com/unb-libraries/unb-dspace/blob/master/riverrun/config/news-xmlui.xml
- https://github.com/unb-libraries/unb-dspace/blob/master/riverrun/config/help-xmlui.xml