<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=Make_orderkey.pl</id>
	<title>Make orderkey.pl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=Make_orderkey.pl"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Make_orderkey.pl&amp;action=history"/>
	<updated>2026-04-05T16:52:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Make_orderkey.pl&amp;diff=14523&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk at 09:55, 7 February 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Make_orderkey.pl&amp;diff=14523&amp;oldid=prev"/>
		<updated>2022-02-07T09:55:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 09:55, 7 February 2022&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-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;'''make_orderkey.pl''' contains several functions to provide orderings to be used by the &amp;lt;code&amp;gt;make_value_orderkey&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make_single_value_orderkey&amp;lt;/code&amp;gt; field attributes. See [[Category:EPrints_Metadata_Fields#Ordering.2C_Indexing_and_Searching|EPrints Metadata Fields]] for more details.&amp;#160; It adds the following functions to the configuration:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;'''make_orderkey.pl''' contains several functions to provide orderings to be used by the &amp;lt;code&amp;gt;make_value_orderkey&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make_single_value_orderkey&amp;lt;/code&amp;gt; field attributes. See [[Category:EPrints_Metadata_Fields#Ordering.2C_Indexing_and_Searching|EPrints Metadata Fields]] for more details.&amp;#160; It adds the following functions to the configuration:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_orderkey_ignore_extras}&amp;lt;/code&amp;gt;''' - Converts a to string that ignores all but the standard ASCII alphabet, numbers and underscores. All letters are upper-cased and full stops (.) are replaced with underscores (_).&amp;#160; This is used by the functions below, which are called with the parameters of&amp;#160; &amp;lt;code&amp;gt;make_value_orderkey&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make_single_value_orderkey&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_orderkey_ignore_extras}&amp;lt;/code&amp;gt;''' - Converts a to string that ignores all but the standard ASCII alphabet, numbers and underscores. All letters are upper-cased and full stops (.) are replaced with underscores (_).&amp;#160; This is used by the functions below, which are called with the parameters of&amp;#160; &amp;lt;code&amp;gt;make_value_orderkey&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make_single_value_orderkey&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_name_orderkey}&amp;lt;/code&amp;gt;''' - Only uses family name, given name and honourific in that order to generate the initial order key, then uses &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;$c-&amp;gt;{make_orderkey_ignore_extras}&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/del&gt;to sanitise each string in turn before joining together with underscores.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_name_orderkey}&amp;lt;/code&amp;gt;''' - Only uses family name, given name and honourific in that order to generate the initial order key, then uses&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;$c-&amp;gt;{make_orderkey_ignore_extras}&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;to sanitise each string in turn before joining together with underscores.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_title_orderkey}&amp;lt;/code&amp;gt;''' - Calls &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;$c-&amp;gt;{make_orderkey_ignore_extras}&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/del&gt;after removing any preceding definite or indefinite articles (i.e. ''a'', ''an'' and ''the'').&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_title_orderkey}&amp;lt;/code&amp;gt;''' - Calls &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;$c-&amp;gt;{make_orderkey_ignore_extras}&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;after removing any preceding definite or indefinite articles (i.e. ''a'', ''an'' and ''the'').&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_sanitised_value_orderkey}&amp;lt;/code&amp;gt;''' - Just calls &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;$c-&amp;gt;{make_orderkey_ignore_extras}&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_sanitised_value_orderkey}&amp;lt;/code&amp;gt;''' - Just calls &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;$c-&amp;gt;{make_orderkey_ignore_extras}&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt;&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Make_orderkey.pl&amp;diff=14522&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added config file page.</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Make_orderkey.pl&amp;diff=14522&amp;oldid=prev"/>
		<updated>2022-02-07T09:54:17Z</updated>

		<summary type="html">&lt;p&gt;Added config file page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dirs}}&lt;br /&gt;
{{cfgd}}&lt;br /&gt;
&lt;br /&gt;
'''make_orderkey.pl''' contains several functions to provide orderings to be used by the &amp;lt;code&amp;gt;make_value_orderkey&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make_single_value_orderkey&amp;lt;/code&amp;gt; field attributes. See [[Category:EPrints_Metadata_Fields#Ordering.2C_Indexing_and_Searching|EPrints Metadata Fields]] for more details.  It adds the following functions to the configuration:&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_orderkey_ignore_extras}&amp;lt;/code&amp;gt;''' - Converts a to string that ignores all but the standard ASCII alphabet, numbers and underscores. All letters are upper-cased and full stops (.) are replaced with underscores (_).  This is used by the functions below, which are called with the parameters of  &amp;lt;code&amp;gt;make_value_orderkey&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;make_single_value_orderkey&amp;lt;/code&amp;gt;.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_name_orderkey}&amp;lt;/code&amp;gt;''' - Only uses family name, given name and honourific in that order to generate the initial order key, then uses ''$c-&amp;gt;{make_orderkey_ignore_extras}'' to sanitise each string in turn before joining together with underscores.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_title_orderkey}&amp;lt;/code&amp;gt;''' - Calls ''$c-&amp;gt;{make_orderkey_ignore_extras}'' after removing any preceding definite or indefinite articles (i.e. ''a'', ''an'' and ''the'').&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$c-&amp;gt;{make_sanitised_value_orderkey}&amp;lt;/code&amp;gt;''' - Just calls ''$c-&amp;gt;{make_orderkey_ignore_extras}''.&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
</feed>