Difference between revisions of "SUNScholar/XMLUI Theme/M1/Introduction Text"

From Libopedia
Jump to navigation Jump to search
m
m
 
(6 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/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/config/news-xmlui.xml
+
  nano -c $HOME/{{Source}}/dspace/config/news-xmlui.xml
----
+
 
 
Use the following tags for content markup:
 
Use the following tags for content markup:
*<hi rend="bold">Bold text... </hi>
 
*<hi rend="italic">Italic text... </hi>
 
 
*<head>Title etc..</head>
 
*<head>Title etc..</head>
 
*<nowiki><p>.....</p></nowiki> for paragraphs.
 
*<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.
 
*<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"/>
----
+
*<hi rend="bold">Bold text... </hi>
 +
*<hi rend="italic">Italic text... </hi>
 +
 
 
{{NANO}}
 
{{NANO}}
==XML Tags Examples==
+
===XML Tags Examples===
 
*https://github.com/DSpace/DSpace/blob/master/dspace/config/news-xmlui.xml
 
*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/news-xmlui.xml
Line 20: Line 21:
 
*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/news-xmlui.xml
 
*https://github.com/unb-libraries/unb-dspace/blob/master/riverrun/config/help-xmlui.xml
 
*https://github.com/unb-libraries/unb-dspace/blob/master/riverrun/config/help-xmlui.xml
==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:


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

DSpace XMLUI Elements

Step 2

Rebuild DSpace