Difference between revisions of "SUNScholar/XMLUI Theme/M1/Introduction Text"
Jump to navigation
Jump to search
(Created page with "<center> '''Back to Mirage 1 Modification''' </center>") |
m |
||
| Line 2: | Line 2: | ||
'''[[SUNScholar/XMLUI_Theme/M1/Modify|Back to Mirage 1 Modification]]''' | '''[[SUNScholar/XMLUI_Theme/M1/Modify|Back to Mirage 1 Modification]]''' | ||
</center> | </center> | ||
| + | Edit the following file: | ||
| + | nano $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/news-xmlui.xml | ||
| + | ---- | ||
| + | Use the following tags for content markup: | ||
| + | *<hi rend="bold">Bold text... </hi> | ||
| + | *<hi rend="italic">Italic text... </hi> | ||
| + | *<head>Title etc..</head> | ||
| + | *<nowiki><p>.....</p></nowiki> for paragraphs. | ||
| + | *<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"/> | ||
| + | ---- | ||
| + | {{NANO}} | ||
| + | ===DSpace XMLUI Elements=== | ||
| + | *https://github.com/DSpace/DSpace/tree/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/element | ||
| + | ===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 | ||
Revision as of 15:19, 27 May 2015
Back to Mirage 1 Modification
Edit the following file:
nano $HOME/source/dspace/config/news-xmlui.xml
Use the following tags for content markup:
- <hi rend="bold">Bold text... </hi>
- <hi rend="italic">Italic text... </hi>
- <head>Title etc..</head>
- <p>.....</p> for paragraphs.
- <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"/>
- 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)
DSpace XMLUI Elements
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