<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=EPrints_3_Organisation_Hierarchy</id>
	<title>EPrints 3 Organisation Hierarchy - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=EPrints_3_Organisation_Hierarchy"/>
	<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;action=history"/>
	<updated>2026-05-10T23:45:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=8984&amp;oldid=prev</id>
		<title>Pm705 at 12:26, 20 March 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=8984&amp;oldid=prev"/>
		<updated>2010-03-20T12:26:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:26, 20 March 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Manual]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Manual]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Configuration&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Subject Trees&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;EPrints 3 is supplied with a &amp;#039;place-holder&amp;#039; organisation hierarchy which should be modified to represent your organisation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;EPrints 3 is supplied with a &amp;#039;place-holder&amp;#039; organisation hierarchy which should be modified to represent your organisation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pm705</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=8199&amp;oldid=prev</id>
		<title>Pm705 at 13:58, 8 February 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=8199&amp;oldid=prev"/>
		<updated>2010-02-08T13:58:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Manual]]&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
&lt;br /&gt;
EPrints 3 is supplied with a &amp;#039;place-holder&amp;#039; organisation hierarchy which should be modified to represent your organisation.&lt;br /&gt;
&lt;br /&gt;
== The Subjects File ==&lt;br /&gt;
&lt;br /&gt;
An organisation hierarchy is stored in the same file as the subject tree.  In fact, any number of hierarchies or trees can be stored in this file.&lt;br /&gt;
 /opt/eprints3/archives/&amp;#039;&amp;#039;archive_id&amp;#039;&amp;#039;/cfg/subjects&lt;br /&gt;
&lt;br /&gt;
== The Subjects File explained ==&lt;br /&gt;
&lt;br /&gt;
Imagine your organisation looks like this:&lt;br /&gt;
&lt;br /&gt;
* Acme Research Corporation&lt;br /&gt;
** Rocket Group&lt;br /&gt;
*** Solid Fuel Rockets Department&lt;br /&gt;
*** Liquid Fuel Rockets Department&lt;br /&gt;
** Spring Group&lt;br /&gt;
*** Large Spring Department&lt;br /&gt;
*** Huge Spring Department&lt;br /&gt;
&lt;br /&gt;
You need to create a machine-readable representation of this.&lt;br /&gt;
&lt;br /&gt;
Each hierarchy starts with a root:&lt;br /&gt;
 acme_division:Acme Research Corporation:ROOT:0&lt;br /&gt;
This tells EPrints that the top (or root) of the hierarchy (or tree) has a system name of acme_division, a human readable name of &amp;quot;Acme Research Corporation&amp;quot;, is the root, and is not selectable.&lt;br /&gt;
&lt;br /&gt;
Now we can add the groups:&lt;br /&gt;
 rockets:Rocket Group:acme_division:0&lt;br /&gt;
 springs:Spring Group:acme_division:0&lt;br /&gt;
This defines our two groups, and also defines the parent of them.  We&amp;#039;ve also chosen not to make these selectable, but you could if you wanted to.&lt;br /&gt;
&lt;br /&gt;
Finally, we add the departments&lt;br /&gt;
 solid_fuel_rockets:Solid Fuel Rockets Department:rockets:1&lt;br /&gt;
 liquid_fuel_rockets:Liquid Fuel Rockets Department:rockets:1&lt;br /&gt;
 large_springs:Large Spring Department:springs:1&lt;br /&gt;
 huge_springs:Huge Sprint Department:springs:1&lt;br /&gt;
&lt;br /&gt;
Generically, each line in the file is defined like this:&lt;br /&gt;
 &amp;lt;system name&amp;gt;:&amp;lt;human readable name&amp;gt;:&amp;lt;parent&amp;#039;s system name&amp;gt;:&amp;lt;selectable (0 or 1)&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Important&amp;lt;/strong&amp;gt;: it&amp;#039;s essential that every system name in the subjects file is unique across the whole file, otherwise nodes will appear in the wrong trees.&lt;br /&gt;
&lt;br /&gt;
== Modifying the subjects file ==&lt;br /&gt;
&lt;br /&gt;
The simplest way to add your organisational structure is to replace the existing &amp;#039;place-holder&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Open the subjects file:&lt;br /&gt;
 pico /opt/eprints3/&amp;lt;archive id&amp;gt;/cfg/subjects&lt;br /&gt;
&lt;br /&gt;
Find the line:&lt;br /&gt;
 divisions:University Structure:ROOT:0&lt;br /&gt;
&lt;br /&gt;
This is the root of the current hierarchy.  Remove the whole tree by removing from the above line to the last line in the tree:&lt;br /&gt;
 sch_med:School of Medicine:fac_med:1&lt;br /&gt;
&lt;br /&gt;
Insert your own hierarchy as described above, but be sure that the ROOT element has the system name &amp;lt;strong&amp;gt;divisions&amp;lt;/strong&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Attention: In case you included any other scheme in the subjects file, be aware to use document wide unique identifiers. They are not case sensitive! This means &amp;#039;RZ&amp;#039; is the same as &amp;#039;rz&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Importing the New Hierarchy ==&lt;br /&gt;
&lt;br /&gt;
Run the import_subjects script:&lt;br /&gt;
 /opt/eprints3/bin/import_subjects &amp;lt;archive id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now see your own hierarchy in the &amp;#039;Divisions&amp;#039; box when submitting an eprint.&lt;br /&gt;
&lt;br /&gt;
== Multilinguality ==&lt;br /&gt;
&lt;br /&gt;
=== Writing the scheme in &amp;#039;subjects&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
If the scheme should reflect different languages it must be stored in XML-format. Anyway it is easiest when You start as above with the scheme in English, because by default the language settings in the automatical XML file will be &amp;#039;en&amp;#039; (see below).&lt;br /&gt;
&lt;br /&gt;
=== Generating &amp;#039;subjects.xml&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
To generate the initial &amp;#039;subjects.xml&amp;#039; from the file &amp;#039;subjects&amp;#039; execute&lt;br /&gt;
&lt;br /&gt;
 /opt/eprints3/bin/import_subjects &amp;lt;archive id&amp;gt;&lt;br /&gt;
 /opt/eprints3/bin/export &amp;lt;archive id&amp;gt; subject XML &amp;gt; /opt/eprints3/archives/&amp;lt;archive id&amp;gt;/cfg/subjects.xml&lt;br /&gt;
&lt;br /&gt;
=== Modifying &amp;#039;subjects.xml&amp;#039; ===&lt;br /&gt;
&lt;br /&gt;
The root of your organisation scheme will look like this in subjects.xml:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;subject xmlns=&amp;quot;http://eprints.org/ep2/data/2.0&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;subjectid&amp;gt;divisions&amp;lt;/subjectid&amp;gt;&lt;br /&gt;
    &amp;lt;rev_number&amp;gt;3&amp;lt;/rev_number&amp;gt;&lt;br /&gt;
    &amp;lt;name&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;University of Osnabrück&amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;lang&amp;gt;en&amp;lt;/lang&amp;gt;&lt;br /&gt;
      &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;parents&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;ROOT&amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;/parents&amp;gt;&lt;br /&gt;
    &amp;lt;depositable&amp;gt;FALSE&amp;lt;/depositable&amp;gt;&lt;br /&gt;
  &amp;lt;/subject&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you have to add a further &amp;lt;item&amp;gt;-block with the translation and to replace special characters by Unicode entities:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;subject xmlns=&amp;quot;http://eprints.org/ep2/data/2.0&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;subjectid&amp;gt;divisions&amp;lt;/subjectid&amp;gt;&lt;br /&gt;
    &amp;lt;rev_number&amp;gt;3&amp;lt;/rev_number&amp;gt;&lt;br /&gt;
    &amp;lt;name&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;University of Osnabr&amp;amp;amp;#252;ck&amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;lang&amp;gt;en&amp;lt;/lang&amp;gt;&lt;br /&gt;
      &amp;lt;/item&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;&lt;br /&gt;
        &amp;lt;name&amp;gt;Universit&amp;amp;amp;#228;t Osnabr&amp;amp;amp;#252;ck&amp;lt;/name&amp;gt;&lt;br /&gt;
        &amp;lt;lang&amp;gt;de&amp;lt;/lang&amp;gt;&lt;br /&gt;
      &amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;/name&amp;gt;&lt;br /&gt;
    &amp;lt;parents&amp;gt;&lt;br /&gt;
      &amp;lt;item&amp;gt;ROOT&amp;lt;/item&amp;gt;&lt;br /&gt;
    &amp;lt;/parents&amp;gt;&lt;br /&gt;
    &amp;lt;depositable&amp;gt;FALSE&amp;lt;/depositable&amp;gt;&lt;br /&gt;
  &amp;lt;/subject&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Special characters, e.g. German umlauts, French accents and special symbols must be coded as XML-unicode characters (like &amp;amp;amp;#165; or &amp;amp;amp;#xA5; for the Yen-symbol &amp;amp;yen;). The &amp;amp;amp;yen; entity is not allowed.&lt;br /&gt;
&lt;br /&gt;
This way you can add more languages as you like. Proceed with all other &amp;lt;subject&amp;gt;-blocks.&lt;br /&gt;
&lt;br /&gt;
=== Apply the changes ===&lt;br /&gt;
&lt;br /&gt;
At the last step the new &amp;#039;subjects.xml&amp;#039; must imported into the system:&lt;br /&gt;
&lt;br /&gt;
 /opt/eprints3/bin/import_subjects &amp;lt;archive id&amp;gt; -xml /opt/eprints3/archives/&amp;lt;archive id&amp;gt;/cfg/subjects.xml&lt;br /&gt;
 /opt/eprints3/bin/generate_views &amp;lt;archive id&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In some cases this is not enough to take effect. Then load the configurations into the web server and restart it. This can look like:&lt;br /&gt;
&lt;br /&gt;
 /opt/eprints3/bin/epadmin reload &amp;lt;archive id&amp;gt;&lt;br /&gt;
 sudo /etc/init.d/apache2 restart&lt;/div&gt;</summary>
		<author><name>Pm705</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=4177&amp;oldid=prev</id>
		<title>Gobfrey: /* Modifying the subjects file */</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=4177&amp;oldid=prev"/>
		<updated>2007-03-22T20:34:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Modifying the subjects file&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:34, 22 March 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Modifying the subjects file ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Modifying the subjects file ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The simplest way to add your organisational structure is to &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;modify &lt;/del&gt;the existing &#039;place-holder&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The simplest way to add your organisational structure is to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;replace &lt;/ins&gt;the existing &#039;place-holder&#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Open the subjects file:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Open the subjects file:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gobfrey</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=4175&amp;oldid=prev</id>
		<title>Gobfrey at 20:30, 22 March 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=4175&amp;oldid=prev"/>
		<updated>2007-03-22T20:30:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:30, 22 March 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  divisions:University Structure:ROOT:0&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  divisions:University Structure:ROOT:0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is the root of the current hierarchy.  Remove the whole tree from the above line to:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is the root of the current hierarchy.  Remove the whole tree &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;by removing &lt;/ins&gt;from the above line to &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the last line in the tree&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sch_med:School of Medicine:fac_med:1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  sch_med:School of Medicine:fac_med:1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Insert your own hierarchy as described above, but be sure that the ROOT element has the system name &amp;lt;strong&amp;gt;divisions&amp;lt;/strong&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Insert your own hierarchy as described above, but be sure that the ROOT element has the system name &amp;lt;strong&amp;gt;divisions&amp;lt;/strong&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Importing the New Hierarchy ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Run the import_subjects script:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; /opt/eprints3/bin/import_subjects &amp;lt;archive id&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;You should now see your own hierarchy in the &#039;Divisions&#039; box when submitting an eprint.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gobfrey</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=4174&amp;oldid=prev</id>
		<title>Gobfrey at 20:19, 22 March 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=EPrints_3_Organisation_Hierarchy&amp;diff=4174&amp;oldid=prev"/>
		<updated>2007-03-22T20:19:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;EPrints 3 is supplied with a &amp;#039;place-holder&amp;#039; organisation hierarchy which should be modified to represent your organisation.&lt;br /&gt;
&lt;br /&gt;
== The Subjects File ==&lt;br /&gt;
&lt;br /&gt;
An organisation hierarchy is stored in the same file as the subject tree.  In fact, any number of hierarchies or trees can be stored in this file.&lt;br /&gt;
 /opt/eprints3/archives/&amp;#039;&amp;#039;archive_id&amp;#039;&amp;#039;/cfg/subjects&lt;br /&gt;
&lt;br /&gt;
== The Subjects File explained ==&lt;br /&gt;
&lt;br /&gt;
Imagine your organisation looks like this:&lt;br /&gt;
&lt;br /&gt;
* Acme Research Corporation&lt;br /&gt;
** Rocket Group&lt;br /&gt;
*** Solid Fuel Rockets Department&lt;br /&gt;
*** Liquid Fuel Rockets Department&lt;br /&gt;
** Spring Group&lt;br /&gt;
*** Large Spring Department&lt;br /&gt;
*** Huge Spring Department&lt;br /&gt;
&lt;br /&gt;
You need to create a machine-readable representation of this.&lt;br /&gt;
&lt;br /&gt;
Each hierarchy starts with a root:&lt;br /&gt;
 acme_division:Acme Research Corporation:ROOT:0&lt;br /&gt;
This tells EPrints that the top (or root) of the hierarchy (or tree) has a system name of acme_division, a human readable name of &amp;quot;Acme Research Corporation&amp;quot;, is the root, and is not selectable.&lt;br /&gt;
&lt;br /&gt;
Now we can add the groups:&lt;br /&gt;
 rockets:Rocket Group:acme_division:0&lt;br /&gt;
 springs:Spring Group:acme_division:0&lt;br /&gt;
This defines our two groups, and also defines the parent of them.  We&amp;#039;ve also chosen not to make these selectable, but you could if you wanted to.&lt;br /&gt;
&lt;br /&gt;
Finally, we add the departments&lt;br /&gt;
 solid_fuel_rockets:Solid Fuel Rockets Department:rockets:1&lt;br /&gt;
 liquid_fuel_rockets:Liquid Fuel Rockets Department:rockets:1&lt;br /&gt;
 large_springs:Large Spring Department:springs:1&lt;br /&gt;
 huge_springs:Huge Sprint Department:springs:1&lt;br /&gt;
&lt;br /&gt;
Generically, each line in the file is defined like this:&lt;br /&gt;
 &amp;lt;system name&amp;gt;:&amp;lt;human readable name&amp;gt;:&amp;lt;parent&amp;#039;s system name&amp;gt;:&amp;lt;selectable (0 or 1)&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;Important&amp;lt;/strong&amp;gt;: it&amp;#039;s essential that every system name in the subjects file is unique across the whole file, otherwise nodes will appear in the wrong trees.&lt;br /&gt;
&lt;br /&gt;
== Modifying the subjects file ==&lt;br /&gt;
&lt;br /&gt;
The simplest way to add your organisational structure is to modify the existing &amp;#039;place-holder&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Open the subjects file:&lt;br /&gt;
 pico /opt/eprints3/&amp;lt;archive id&amp;gt;/cfg/subjects&lt;br /&gt;
&lt;br /&gt;
Find the line:&lt;br /&gt;
 divisions:University Structure:ROOT:0&lt;br /&gt;
&lt;br /&gt;
This is the root of the current hierarchy.  Remove the whole tree from the above line to:&lt;br /&gt;
 sch_med:School of Medicine:fac_med:1&lt;br /&gt;
&lt;br /&gt;
Insert your own hierarchy as described above, but be sure that the ROOT element has the system name &amp;lt;strong&amp;gt;divisions&amp;lt;/strong&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Gobfrey</name></author>
	</entry>
</feed>