Difference between revisions of "SUNScholar/XMLUI Theme/M1/Introduction Text"
Jump to navigation
Jump to search
m |
m |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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> | ||
| + | ==Step 1== | ||
Edit the following file: | Edit the following file: | ||
| − | nano $HOME/ | + | nano -c $HOME/{{Source}}/dspace/config/news-xmlui.xml |
Use the following tags for content markup: | Use the following tags for content markup: | ||
| Line 22: | Line 23: | ||
===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 | ||
| + | ==Step 2== | ||
| + | [[SUNScholar/Rebuild_DSpace|Rebuild DSpace]] | ||
| + | [[Category:Customisation]] | ||
Latest revision as of 13:04, 1 June 2016
Back to Mirage 1 Modification
Step 1
Edit the following file:
nano -c $HOME/source/dspace/config/news-xmlui.xml
Use the following tags for content markup:
- <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"/>
- <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
DSpace XMLUI Elements
Step 2
Rebuild DSpace