<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Taustin%40soton.ac.uk</id>
	<title>EPrints Documentation - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Taustin%40soton.ac.uk"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/Special:Contributions/Taustin@soton.ac.uk"/>
	<updated>2026-09-30T08:52:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8085</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8085"/>
		<updated>2009-12-24T05:17:06Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. A demonstrator has been integrated with the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], itself presently configured to manage data that comply with the MatDB schema. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints repository (version 3.1 or higher) has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
Further technical information relating to data centre integration is available from the [http://ep2dc.codeplex.com/documentation CodePlex EP2DC Documentation Page].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Enable support for SSO.&lt;br /&gt;
* Integrate with other data centres in other scientific domains.&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit.&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8084</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8084"/>
		<updated>2009-12-24T05:16:31Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. A demonstrator has been integrated with a [https://mdc-s1.soton.ac.uk/ Materials Data Centre], which is itself presently configured to manage data that comply with the MatDB schema. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints repository (version 3.1 or higher) has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
Further technical information relating to data centre integration is available from the [http://ep2dc.codeplex.com/documentation CodePlex EP2DC Documentation Page].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Enable support for SSO.&lt;br /&gt;
* Integrate with other data centres in other scientific domains.&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit.&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8083</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8083"/>
		<updated>2009-12-24T05:10:13Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints repository (version 3.1 or higher) has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
Further technical information relating to data centre integration is available from the [http://ep2dc.codeplex.com/documentation CodePlex EP2DC Documentation Page].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Enable support for SSO.&lt;br /&gt;
* Integrate with other data centres in other scientific domains.&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit.&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8082</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8082"/>
		<updated>2009-12-23T05:16:35Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Development Roadmap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints repository (version 3.1 or higher) has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
Further technical information relating to data centre integration is available from the [http://ep2dc.codeplex.com/documentation CodePlex EP2DC Documentation Page].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Enable support for SSO.&lt;br /&gt;
* Integrate with other data centres in other scientific domains.&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit.&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8081</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8081"/>
		<updated>2009-12-23T05:14:09Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Data Centre Integration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints repository (version 3.1 or higher) has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
Further technical information relating to data centre integration is available from the [http://ep2dc.codeplex.com/documentation CodePlex EP2DC Documentation Page].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8080</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8080"/>
		<updated>2009-12-23T05:11:09Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* EP2DC Plugin Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints repository (version 3.1 or higher) has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8079</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8079"/>
		<updated>2009-12-23T04:12:33Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Data Retrieval */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the page for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Retrieving_restricted_data.png&amp;diff=8078</id>
		<title>File:Retrieving restricted data.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Retrieving_restricted_data.png&amp;diff=8078"/>
		<updated>2009-12-23T04:11:09Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Retrieving_unrestricted_data.png&amp;diff=8077</id>
		<title>File:Retrieving unrestricted data.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Retrieving_unrestricted_data.png&amp;diff=8077"/>
		<updated>2009-12-23T04:06:38Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Deposit_eprints_stage.png&amp;diff=8076</id>
		<title>File:Deposit eprints stage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Deposit_eprints_stage.png&amp;diff=8076"/>
		<updated>2009-12-23T03:57:12Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: uploaded a new version of &amp;quot;File:Deposit eprints stage.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Deposit_eprints_stage.png&amp;diff=8075</id>
		<title>File:Deposit eprints stage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Deposit_eprints_stage.png&amp;diff=8075"/>
		<updated>2009-12-23T03:54:40Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8074</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8074"/>
		<updated>2009-12-23T03:44:45Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Data Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory. As shown in the adjacent figure, one of these madatory fields defines the access control. This field affects the data retrieval process, as follows:&lt;br /&gt;
* Open—allows data retrieved from the EP2DC EPrints repository to be downloaded by anyone.&lt;br /&gt;
* Restricted to registered users—allows data retrieved from the EP2DC EPrints repository to be downloaded by by registered users.&lt;br /&gt;
* On demoand—data is supplied on request direct from the owner.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_metadata.png&amp;diff=8073</id>
		<title>File:Ep2dc eprints metadata.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_metadata.png&amp;diff=8073"/>
		<updated>2009-12-23T03:40:29Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8072</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8072"/>
		<updated>2009-12-23T03:39:24Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Options==&lt;br /&gt;
[[Image:ep2dc_eprints_metadata.png|frame|right|||||Screen capture of the metadata section of the EP2DC stage]] &lt;br /&gt;
&lt;br /&gt;
The EP2DC stage for uploading experimental data includes an options (collapsed in the previous figure) that allows metadata associated with the test data to be entered. The fields marked with a red star are mandatory, as shown in the adjacent figure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8071</id>
		<title>File:Ep2dc eprints stage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8071"/>
		<updated>2009-12-23T03:34:44Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: uploaded a new version of &amp;quot;File:Ep2dc eprints stage.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8070</id>
		<title>File:Ep2dc eprints stage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8070"/>
		<updated>2009-12-21T16:26:07Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: uploaded a new version of &amp;quot;File:Ep2dc eprints stage.png&amp;quot;:&amp;amp;#32;Reverted to version as of 09:36, 15 December 2009&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8069</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8069"/>
		<updated>2009-12-21T16:25:46Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Data Upload */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8068</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8068"/>
		<updated>2009-12-21T16:25:13Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Data Upload */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|600px|thumb|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8067</id>
		<title>File:Ep2dc eprints stage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8067"/>
		<updated>2009-12-21T16:20:46Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: uploaded a new version of &amp;quot;File:Ep2dc eprints stage.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8066</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8066"/>
		<updated>2009-12-21T16:11:35Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Retrieving the Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Retrieval==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8065</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8065"/>
		<updated>2009-12-21T16:11:13Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Depositing the Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Deposit==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Retrieving the Data==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8064</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8064"/>
		<updated>2009-12-21T16:10:53Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Uploading the Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Data Upload==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Depositing the Data==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Retrieving the Data==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8063</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8063"/>
		<updated>2009-12-21T16:10:21Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
The EP2DC module affects the default stages for upload and deposit, as well as the page displayed when a unit of work that includes a remotely stored data set is retrieved.&lt;br /&gt;
&lt;br /&gt;
==Uploading the Data==&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Depositing the Data==&lt;br /&gt;
[[Image:deposit_eprints_stage.png|frame|right|||||Screen capture of the default EPrints deposit stage for a successfully deposited unit of work]] &lt;br /&gt;
&lt;br /&gt;
The last stage in the EPrints default workflow is to deposit the unit of work (meaning all of the documentation, figures, etc. together with the accompanying data). The data will be deposited ataa remoted data centre, which is responsible for validating the data against the corresponding XML Schema Definition. If the data sets is validated and deposited successfully, a page similar to that shown in the adjacent figure is displayed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Retrieving the Data==&lt;br /&gt;
[[Image:retrieving_unrestricted_data.png|frame|right|||||Screen capture of the link to the data set and the disproportionate feedback provided on related data sets]] &lt;br /&gt;
&lt;br /&gt;
As shown in the adjacent figure, when an item that has accompanying data is retrieved, in the case where a data set is unrestricted (meaning open access or accessible to registered users), there is an accompanying link to the data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:retrieving_restricted_data.png|frame|right|||||Screen capture of the message box for requesting access to restricted data]] &lt;br /&gt;
&lt;br /&gt;
In the case where the data set is available on demand, a message can be sent to the owner requesting that a copy of the data set be provided.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8062</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8062"/>
		<updated>2009-12-21T15:53:41Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set at [[SampleMatDBCompliantDataSet]] can be copy/pasted into an XML file (the XML extension is important because the EP2DC module filters on this file type).&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=SampleMatDBCompliantDataSet&amp;diff=8061</id>
		<title>SampleMatDBCompliantDataSet</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=SampleMatDBCompliantDataSet&amp;diff=8061"/>
		<updated>2009-12-21T15:51:24Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: Created page with '  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;   &amp;lt;MatDB:MatDB xsi:schemaLocation=&amp;quot;http://odin.jrc.ec.europa.eu matdb.xsd&amp;quot; xmlns:MatDB=&amp;quot;http://odin.jrc.ec.europa.eu&amp;quot; xmlns:xsi=&amp;quot;http://w…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;MatDB:MatDB xsi:schemaLocation=&amp;quot;http://odin.jrc.ec.europa.eu matdb.xsd&amp;quot; xmlns:MatDB=&amp;quot;http://odin.jrc.ec.europa.eu&amp;quot; xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;MatDB:Source&amp;gt;&lt;br /&gt;
      &amp;lt;MatDB:Details companyName=&amp;quot;University of Southampton&amp;quot; sourceNumber=&amp;quot;text&amp;quot; sourceKey=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:Address state=&amp;quot;Hampshire&amp;quot; street=&amp;quot;University Road&amp;quot; city=&amp;quot;Southampton&amp;quot; postCode=&amp;quot;SO17 1BJ&amp;quot; country=&amp;quot;United Kingdom&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:FullSourceTitle&amp;gt;School of Engineering Sciences, University of Southampton&amp;lt;/MatDB:FullSourceTitle&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:DateOfSourceDelivery&amp;gt;2009-12-14&amp;lt;/MatDB:DateOfSourceDelivery&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:SourceAdministrator&amp;gt;Tim Austin&amp;lt;/MatDB:SourceAdministrator&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:Reports&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:ReferenceToReport hyperlinkToReport=&amp;quot;text&amp;quot; authors=&amp;quot;text&amp;quot; year=&amp;quot;test&amp;quot; title=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:Reports&amp;gt;&lt;br /&gt;
      &amp;lt;/MatDB:Details&amp;gt;&lt;br /&gt;
      &amp;lt;MatDB:ProjectResponsibilities name=&amp;quot;text&amp;quot;&amp;gt;&amp;lt;/MatDB:ProjectResponsibilities&amp;gt;&lt;br /&gt;
    &amp;lt;/MatDB:Source&amp;gt;&lt;br /&gt;
    &amp;lt;MatDB:Materials&amp;gt;&lt;br /&gt;
      &amp;lt;MatDB:Material materialKey=&amp;quot;sample_1&amp;quot; materialName=&amp;quot;text&amp;quot; materialClass=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:Production internalMaterialSpecification=&amp;quot;text&amp;quot; combinedMaterialName=&amp;quot;text&amp;quot; materialNumber=&amp;quot;text&amp;quot; nameOfProducer=&amp;quot;text&amp;quot; chemicalAnalysis=&amp;quot;text&amp;quot; batchIdentifier=&amp;quot;text&amp;quot; productionRemark=&amp;quot;text&amp;quot; supplierName=&amp;quot;text&amp;quot; referenceToProducer=&amp;quot;text&amp;quot; serialNumber=&amp;quot;text&amp;quot; metallurgicalProcess=&amp;quot;text&amp;quot; formingProcedure=&amp;quot;text&amp;quot; productForm=&amp;quot;text&amp;quot; grainSizeType=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:Characterisation/&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:ProductSize&amp;gt;text&amp;lt;/MatDB:ProductSize&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:Production&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:ChemicalComposition&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:Symbol maximumContent=&amp;quot;100.0&amp;quot; minimumContent=&amp;quot;100.0&amp;quot; meanContent=&amp;quot;100.0&amp;quot; remark=&amp;quot;String&amp;quot;&amp;gt;Al&amp;lt;/MatDB:Symbol&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:ChemicalComposition&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:ThermoMechanicalHeatTreatment&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:Step type=&amp;quot;text&amp;quot; quenchingType=&amp;quot;water&amp;quot; treatedOn=&amp;quot;text&amp;quot; environment=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:Temperature unit=&amp;quot;C&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:HoldTime unit=&amp;quot;s&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:HeatingOrCoolingRate unit=&amp;quot;1/s&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:ColdWork unit=&amp;quot;text&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:HipingPressure unit=&amp;quot;MPa&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
          &amp;lt;/MatDB:Step&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:ThermoMechanicalHeatTreatment&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:Hardness meanValue=&amp;quot;text&amp;quot; minimumValue=&amp;quot;text&amp;quot; maximumValue=&amp;quot;text&amp;quot; testMethod=&amp;quot;text&amp;quot; measuredAt=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:TestLoad unit=&amp;quot;text&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:Hardness&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:PhysicalMetallurgicalProperties&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:RecrystalisationTemperature unit=&amp;quot;text&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:SolidusTemperature unit=&amp;quot;text&amp;quot; value=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:PhysicalMetallurgicalProperties&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:GrainSize&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:DirectionallySolidified&amp;gt;text&amp;lt;/MatDB:DirectionallySolidified&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:GrainSize&amp;gt;&lt;br /&gt;
      &amp;lt;/MatDB:Material&amp;gt;&lt;br /&gt;
    &amp;lt;/MatDB:Materials&amp;gt;&lt;br /&gt;
    &amp;lt;MatDB:Tests&amp;gt;&lt;br /&gt;
      &amp;lt;MatDB:Test testID=&amp;quot;ID_2&amp;quot; materialKey=&amp;quot;ID_1&amp;quot; sourceKey=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;MatDB:UniaxialTensile linkToDescription=&amp;quot;https://odin.jrc.ec.europa.eu/alcor/docums/uniaxial tensile.pdf&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:Specimen&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:SpecimenGeometryAndProduction characterisation=&amp;quot;text&amp;quot; materialKey=&amp;quot;ID_1&amp;quot; standard=&amp;quot;text&amp;quot; specimenName=&amp;quot;text&amp;quot; sampling=&amp;quot;text&amp;quot; remark=&amp;quot;text&amp;quot; orientation=&amp;quot;text&amp;quot; specimenForm=&amp;quot;text&amp;quot; internalSpecimenSpecification=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:SpecimenDimension&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:ActiveGaugeLength unit=&amp;quot;mm&amp;quot;&amp;gt;20&amp;lt;/MatDB:ActiveGaugeLength&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:ActiveSurface unit=&amp;quot;mm2&amp;quot;&amp;gt;20&amp;lt;/MatDB:ActiveSurface&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:DiameterMisalignment unit=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:ThicknessB unit=&amp;quot;mm&amp;quot;&amp;gt;5&amp;lt;/MatDB:ThicknessB&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Width unit=&amp;quot;mm&amp;quot;&amp;gt;4&amp;lt;/MatDB:Width&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:SpecimenDimension&amp;gt;&lt;br /&gt;
          &amp;lt;/MatDB:Specimen&amp;gt;&lt;br /&gt;
          &amp;lt;MatDB:TestResults&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:TestData qualityRemark=&amp;quot;text&amp;quot; testDate=&amp;quot;1967-08-13&amp;quot; testStandard=&amp;quot;text&amp;quot; testedBy=&amp;quot;text&amp;quot; testResultKey=&amp;quot;text&amp;quot; remark=&amp;quot;text&amp;quot; testMachine=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:ReferenceToReport hyperlinkToReport=&amp;quot;text&amp;quot; authors=&amp;quot;text&amp;quot; year=&amp;quot;text&amp;quot; title=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TestParams&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:TestControl&amp;gt;text&amp;lt;/MatDB:TestControl&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:Temperature unit=&amp;quot;C&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:DisplacementRate1 unit=&amp;quot;m/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:DisplacementRate2 unit=&amp;quot;m/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:LoadRate1 unit=&amp;quot;N/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:LoadRate2 unit=&amp;quot;N/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:StrainRate1 unit=&amp;quot;1/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:StrainRate2 unit=&amp;quot;1/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:StressRate1 unit=&amp;quot;MPa/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:StressRate2 unit=&amp;quot;MPa/s&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/MatDB:TestParams&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Results&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:TensileStrength unit=&amp;quot;MPa&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:YieldStrength unit=&amp;quot;MPa&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:LowerYStrength unit=&amp;quot;MPa&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:UpperYStrength unit=&amp;quot;MPa&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:ElongAfterRupture unit=&amp;quot;%&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:UniformElongation unit=&amp;quot;%&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:ReductionOfArea unit=&amp;quot;%&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:YoungsModulus unit=&amp;quot;MPa&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:ProofStrength PS0.01perc=&amp;quot;text&amp;quot; PS0.1perc=&amp;quot;text&amp;quot; PS10perc=&amp;quot;text&amp;quot; PS0.5perc=&amp;quot;text&amp;quot; unit=&amp;quot;MPa&amp;quot; PS2perc=&amp;quot;text&amp;quot; PS0.02perc=&amp;quot;text&amp;quot; PS0.2perc=&amp;quot;text&amp;quot; PS20perc=&amp;quot;text&amp;quot; PS1perc=&amp;quot;text&amp;quot; PS0.05perc=&amp;quot;text&amp;quot; PS5perc=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
              &amp;lt;/MatDB:Results&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Fracture&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:FractureMode&amp;gt;text&amp;lt;/MatDB:FractureMode&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:FracturePosition&amp;gt;text&amp;lt;/MatDB:FracturePosition&amp;gt;&lt;br /&gt;
                &amp;lt;MatDB:GaugeLengthElong&amp;gt;text&amp;lt;/MatDB:GaugeLengthElong&amp;gt;&lt;br /&gt;
              &amp;lt;/MatDB:Fracture&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:OrientationDeviationAngle unit=&amp;quot;Â°&amp;quot; deviationAngleRho=&amp;quot;text&amp;quot; deviationAngleTheta=&amp;quot;text&amp;quot;/&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:TestData&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:CurveData&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:SequenceNumber&amp;gt;1&amp;lt;/MatDB:SequenceNumber&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0001&amp;lt;/MatDB:EngStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStress unit=&amp;quot;MPa&amp;quot;&amp;gt;10&amp;lt;/MatDB:EngStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0001&amp;lt;/MatDB:TrueStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStress unit=&amp;quot;MPa&amp;quot;&amp;gt;10&amp;lt;/MatDB:TrueStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Load unit=&amp;quot;N&amp;quot;&amp;gt;1&amp;lt;/MatDB:Load&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TransStrainEng unit=&amp;quot;%&amp;quot;&amp;gt;0.000&amp;lt;/MatDB:TransStrainEng&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Time unit=&amp;quot;s&amp;quot;&amp;gt;1&amp;lt;/MatDB:Time&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Notes&amp;gt;text&amp;lt;/MatDB:Notes&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:CurveData&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:CurveData&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:SequenceNumber&amp;gt;2&amp;lt;/MatDB:SequenceNumber&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0002&amp;lt;/MatDB:EngStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStress unit=&amp;quot;MPa&amp;quot;&amp;gt;20&amp;lt;/MatDB:EngStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0002&amp;lt;/MatDB:TrueStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStress unit=&amp;quot;MPa&amp;quot;&amp;gt;20&amp;lt;/MatDB:TrueStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Load unit=&amp;quot;N&amp;quot;&amp;gt;2&amp;lt;/MatDB:Load&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TransStrainEng unit=&amp;quot;%&amp;quot;&amp;gt;0.000&amp;lt;/MatDB:TransStrainEng&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Time unit=&amp;quot;s&amp;quot;&amp;gt;2&amp;lt;/MatDB:Time&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Notes&amp;gt;text&amp;lt;/MatDB:Notes&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:CurveData&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:CurveData&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:SequenceNumber&amp;gt;3&amp;lt;/MatDB:SequenceNumber&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0003&amp;lt;/MatDB:EngStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStress unit=&amp;quot;MPa&amp;quot;&amp;gt;30&amp;lt;/MatDB:EngStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0003&amp;lt;/MatDB:TrueStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStress unit=&amp;quot;MPa&amp;quot;&amp;gt;30&amp;lt;/MatDB:TrueStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Load unit=&amp;quot;N&amp;quot;&amp;gt;3&amp;lt;/MatDB:Load&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TransStrainEng unit=&amp;quot;%&amp;quot;&amp;gt;0.000&amp;lt;/MatDB:TransStrainEng&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Time unit=&amp;quot;s&amp;quot;&amp;gt;3&amp;lt;/MatDB:Time&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Notes&amp;gt;text&amp;lt;/MatDB:Notes&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:CurveData&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:CurveData&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:SequenceNumber&amp;gt;4&amp;lt;/MatDB:SequenceNumber&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0004&amp;lt;/MatDB:EngStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStress unit=&amp;quot;MPa&amp;quot;&amp;gt;40&amp;lt;/MatDB:EngStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0004&amp;lt;/MatDB:TrueStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStress unit=&amp;quot;MPa&amp;quot;&amp;gt;40&amp;lt;/MatDB:TrueStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Load unit=&amp;quot;N&amp;quot;&amp;gt;4&amp;lt;/MatDB:Load&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TransStrainEng unit=&amp;quot;%&amp;quot;&amp;gt;0.000&amp;lt;/MatDB:TransStrainEng&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Time unit=&amp;quot;s&amp;quot;&amp;gt;4&amp;lt;/MatDB:Time&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Notes&amp;gt;text&amp;lt;/MatDB:Notes&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:CurveData&amp;gt;&lt;br /&gt;
            &amp;lt;MatDB:CurveData&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:SequenceNumber&amp;gt;5&amp;lt;/MatDB:SequenceNumber&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0005&amp;lt;/MatDB:EngStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:EngStress unit=&amp;quot;MPa&amp;quot;&amp;gt;50&amp;lt;/MatDB:EngStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStrain unit=&amp;quot;%&amp;quot;&amp;gt;0.0005&amp;lt;/MatDB:TrueStrain&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TrueStress unit=&amp;quot;MPa&amp;quot;&amp;gt;50&amp;lt;/MatDB:TrueStress&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Load unit=&amp;quot;N&amp;quot;&amp;gt;5&amp;lt;/MatDB:Load&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:TransStrainEng unit=&amp;quot;%&amp;quot;&amp;gt;0.000&amp;lt;/MatDB:TransStrainEng&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Time unit=&amp;quot;s&amp;quot;&amp;gt;5&amp;lt;/MatDB:Time&amp;gt;&lt;br /&gt;
              &amp;lt;MatDB:Notes&amp;gt;text&amp;lt;/MatDB:Notes&amp;gt;&lt;br /&gt;
            &amp;lt;/MatDB:CurveData&amp;gt;&lt;br /&gt;
          &amp;lt;/MatDB:TestResults&amp;gt;&lt;br /&gt;
        &amp;lt;/MatDB:UniaxialTensile&amp;gt;&lt;br /&gt;
      &amp;lt;/MatDB:Test&amp;gt;&lt;br /&gt;
    &amp;lt;/MatDB:Tests&amp;gt;&lt;br /&gt;
  &amp;lt;/MatDB:MatDB&amp;gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8060</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8060"/>
		<updated>2009-12-21T15:44:47Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[SampleMatDBCompliantDataSet]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8059</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8059"/>
		<updated>2009-12-21T15:13:16Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[File:sample.ogg]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8058</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8058"/>
		<updated>2009-12-21T15:10:08Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[MatdDBSampleDataSet]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8057</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8057"/>
		<updated>2009-12-21T05:43:49Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC EPrints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[File:matdb_data_set.xml]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8056</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8056"/>
		<updated>2009-12-21T05:43:24Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre], it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[File:matdb_data_set.xml]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8055</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8055"/>
		<updated>2009-12-21T05:42:38Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] (presently under development at the University of Southampton) it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[File:matdb_data_set.xml]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8054</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8054"/>
		<updated>2009-12-21T05:36:29Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[File:matdb_data_set.xml]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8053</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8053"/>
		<updated>2009-12-21T05:35:27Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[Media:matdb_data_set.xml]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8052</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8052"/>
		<updated>2009-12-21T05:34:12Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[sample.xml]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8051</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8051"/>
		<updated>2009-12-21T05:18:43Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload a MatDB-compliant data set, add some additional metadata, and set the access rights, which are open, accessible to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[EP2DCSampleDataSet]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:EPrints_navigable_stages.png&amp;diff=8050</id>
		<title>File:EPrints navigable stages.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:EPrints_navigable_stages.png&amp;diff=8050"/>
		<updated>2009-12-21T05:14:44Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: uploaded a new version of &amp;quot;File:EPrints navigable stages.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Screen capture of the EP2DC deposit stages&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8049</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8049"/>
		<updated>2009-12-21T05:10:41Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png||center]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload MatDB-compliant data set, add some additional metadata, and set the access rights, which are either open, accessable to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[EP2DCSampleDataSet]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:EPrints_navigable_stages.png&amp;diff=8048</id>
		<title>File:EPrints navigable stages.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:EPrints_navigable_stages.png&amp;diff=8048"/>
		<updated>2009-12-21T05:08:53Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: Screen capture of the EP2DC deposit stages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Screen capture of the EP2DC deposit stages&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8047</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8047"/>
		<updated>2009-12-21T05:06:34Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Trialing the EP2DC Service */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:EPrints_navigable_stages.png|frame|center|||||The EP2DC EPrints Workflow]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload MatDB-compliant data set, add some additional metadata, and set the access rights, which are either open, accessable to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[EP2DCSampleDataSet]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8046</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8046"/>
		<updated>2009-12-21T05:02:55Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: Add trialing instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Trialing the EP2DC Service=&lt;br /&gt;
&lt;br /&gt;
As already mentioned, EP2DC is a module designed to serve the data capture needs of the scientific community. To trial the service, perhaps in anticipation of installing at your own EPrints repository, or simply to gain an understanding of the direction data management in the UK HE sector is taking, you are invited to upload a sample file and data set, as follows:&lt;br /&gt;
* Navigate to [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository].&lt;br /&gt;
* If not already registered, use the &amp;lt;em&amp;gt;Create Account&amp;lt;/em&amp;gt; link at the top left of the landing page to create an account.&lt;br /&gt;
* Once logged-in, click the &amp;lt;em&amp;gt;New Item&amp;lt;/em&amp;gt; button on the Manage Deposits page. This opens the Edit Item page, which is the entry point for depositing a new item.&lt;br /&gt;
* The workflow for creating/editing a deposit is shown in a navigable bar towards the top of the page, as shown in the figure:&lt;br /&gt;
[[Image:eprints_stage.png|frame|right|||||The EP2DC EPrints Workflow]]&lt;br /&gt;
* The EPrints stages are designed to be intuitive, with Help icons adjacent to each field. Required fields are marked with a red star, but in an effort to simplify the process of depositing an item, these are kept to a minimum.&lt;br /&gt;
* The new stage that the EP2DC module introduces is labelled EP2DC Data. At this stage you can upload MatDB-compliant data set, add some additional metadata, and set the access rights, which are either open, accessable to registered users, or available on demand. For the purposes of trialing the service, a sample data set is available at [[EP2DCSampleDataSet]].&lt;br /&gt;
* At the &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt;, clicking &amp;lt;em&amp;gt;Deposit&amp;lt;/em&amp;gt; will deposit the data set to the MDC repository, and the accompanying manuscript (or other unit of work associated with the data) to the EP2DC EPrints repository.&lt;br /&gt;
* Once the data (and the accompanying manuscript or other unit of work associated with the data) are deposited, the standard EPrints search options can be used to retrieve the deposit.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Update your workflow file in order to enable the upload of XML datasets to your EPrints repository:&lt;br /&gt;
&lt;br /&gt;
Edit '''/opt/eprints3/archives/ARCHIVE_ID/cfg/worklows/eprint/default.xml''', add the following stage definition (between the &amp;lt;flow&amp;gt; tags): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
       &amp;lt;stage ref=&amp;quot;data&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and add the stage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
        &amp;lt;stage name=&amp;quot;data&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;XHTML&amp;quot;&amp;gt;&amp;lt;epc:phrase ref=&amp;quot;Plugin/InputForm/Component/EP2DCUpload:help&amp;quot; /&amp;gt;&amp;lt;/component&amp;gt;&lt;br /&gt;
                &amp;lt;component type=&amp;quot;EP2DCUpload&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;upload-methods&amp;gt;&lt;br /&gt;
                                &amp;lt;method&amp;gt;file&amp;lt;/method&amp;gt;&lt;br /&gt;
                        &amp;lt;/upload-methods&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_data_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_type&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_date&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_test_centre&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                        &amp;lt;field ref=&amp;quot;ep2dc_security&amp;quot; required=&amp;quot;yes&amp;quot; /&amp;gt;&lt;br /&gt;
                &amp;lt;/component&amp;gt;&lt;br /&gt;
        &amp;lt;/stage&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8031</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8031"/>
		<updated>2009-12-15T10:04:53Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cp mdc-1.0.tar.gz .&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;tar zxvf mdc-1.0.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields_default.pl''', adding the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''document_fields.pl''', adding the following field definitions:&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_warnings.pl''', adding the following to the end of the file:&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Edit '''eprint_render.pl''' as follows:&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
Save the changes.&lt;br /&gt;
&lt;br /&gt;
* Add the new fields to the database with &amp;lt;code&amp;gt;/opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Link the CGI scripts to EPrints with &amp;lt;code&amp;gt;ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart your web server, as root with &amp;lt;code&amp;gt;/etc/init.d/httpd restart&amp;lt;/code&amp;gt;&lt;br /&gt;
 (note that this line might be different depending on which version of Linux you are running).&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8030</id>
		<title>File:Ep2dc eprints stage.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Ep2dc_eprints_stage.png&amp;diff=8030"/>
		<updated>2009-12-15T09:36:58Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8029</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8029"/>
		<updated>2009-12-15T09:20:04Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted by the University of Southampton School of Engineering Sciences at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
1-cd /opt/eprints3/archives/ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
2-cp mdc-1.0.tar.gz .&lt;br /&gt;
&lt;br /&gt;
3-tar zxvf mdc-1.0.tar.gz&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
4-cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
5-vim document_fields_default.pl, add the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
6-vim document_fields.pl, add the following field definitions:&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
7-vim eprint_warnings.pl, add the following at the end:&lt;br /&gt;
&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
8-vim eprint_render.pl&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
save and exit vim.&lt;br /&gt;
&lt;br /&gt;
9-Add the new fields to the database:&lt;br /&gt;
        /opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
10-Link the CGI scripts to EPrints:&lt;br /&gt;
        ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&lt;br /&gt;
&lt;br /&gt;
11-Restart your web server, as root (note that this line might be different depending on which version of Linux you are running):&lt;br /&gt;
        /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8028</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8028"/>
		<updated>2009-12-15T09:10:18Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
An EPrints repository configured for the EP2DC plugin is hosted at [http://ep2dc-s1.soton.ac.uk EP2DC Eprints Repository at the University of Southampton School of Engineering Sciences]. Whilst the EP2DC plugin has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
1-cd /opt/eprints3/archives/ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
2-cp mdc-1.0.tar.gz .&lt;br /&gt;
&lt;br /&gt;
3-tar zxvf mdc-1.0.tar.gz&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
4-cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
5-vim document_fields_default.pl, add the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
6-vim document_fields.pl, add the following field definitions:&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
7-vim eprint_warnings.pl, add the following at the end:&lt;br /&gt;
&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
8-vim eprint_render.pl&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
save and exit vim.&lt;br /&gt;
&lt;br /&gt;
9-Add the new fields to the database:&lt;br /&gt;
        /opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
10-Link the CGI scripts to EPrints:&lt;br /&gt;
        ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&lt;br /&gt;
&lt;br /&gt;
11-Restart your web server, as root (note that this line might be different depending on which version of Linux you are running):&lt;br /&gt;
        /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8027</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8027"/>
		<updated>2009-12-15T09:07:38Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
[http://ep2dc-s1.soton.ac.uk EP2DC] is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
Whilst the EP2DC module has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
1-cd /opt/eprints3/archives/ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
2-cp mdc-1.0.tar.gz .&lt;br /&gt;
&lt;br /&gt;
3-tar zxvf mdc-1.0.tar.gz&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
4-cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
5-vim document_fields_default.pl, add the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
6-vim document_fields.pl, add the following field definitions:&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
7-vim eprint_warnings.pl, add the following at the end:&lt;br /&gt;
&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
8-vim eprint_render.pl&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
save and exit vim.&lt;br /&gt;
&lt;br /&gt;
9-Add the new fields to the database:&lt;br /&gt;
        /opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
10-Link the CGI scripts to EPrints:&lt;br /&gt;
        ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&lt;br /&gt;
&lt;br /&gt;
11-Restart your web server, as root (note that this line might be different depending on which version of Linux you are running):&lt;br /&gt;
        /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8026</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8026"/>
		<updated>2009-12-14T22:39:07Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with a deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The experimental The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
Whilst the EP2DC module has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
1-cd /opt/eprints3/archives/ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
2-cp mdc-1.0.tar.gz .&lt;br /&gt;
&lt;br /&gt;
3-tar zxvf mdc-1.0.tar.gz&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
4-cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
5-vim document_fields_default.pl, add the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
6-vim document_fields.pl, add the following field definitions:&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
7-vim eprint_warnings.pl, add the following at the end:&lt;br /&gt;
&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
8-vim eprint_render.pl&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
save and exit vim.&lt;br /&gt;
&lt;br /&gt;
9-Add the new fields to the database:&lt;br /&gt;
        /opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
10-Link the CGI scripts to EPrints:&lt;br /&gt;
        ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&lt;br /&gt;
&lt;br /&gt;
11-Restart your web server, as root (note that this line might be different depending on which version of Linux you are running):&lt;br /&gt;
        /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8025</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8025"/>
		<updated>2009-12-14T22:37:55Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: /* Development Roadmap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with your deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The experimental The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
Whilst the EP2DC module has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
1-cd /opt/eprints3/archives/ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
2-cp mdc-1.0.tar.gz .&lt;br /&gt;
&lt;br /&gt;
3-tar zxvf mdc-1.0.tar.gz&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
4-cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
5-vim document_fields_default.pl, add the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
6-vim document_fields.pl, add the following field definitions:&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
7-vim eprint_warnings.pl, add the following at the end:&lt;br /&gt;
&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
8-vim eprint_render.pl&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
save and exit vim.&lt;br /&gt;
&lt;br /&gt;
9-Add the new fields to the database:&lt;br /&gt;
        /opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
10-Link the CGI scripts to EPrints:&lt;br /&gt;
        ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&lt;br /&gt;
&lt;br /&gt;
11-Restart your web server, as root (note that this line might be different depending on which version of Linux you are running):&lt;br /&gt;
        /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
The EP2DC plugin is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8024</id>
		<title>EP2DCOverview</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=EP2DCOverview&amp;diff=8024"/>
		<updated>2009-12-14T22:28:31Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: first draft of the ep2dc overview&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The EPrints to Data Centre (EP2DC) plugin extends EPrints to support uploading to a remote data centre any XML-formatted experimental data associated with your deposit.&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
EP2DC is a prototype plugin designed to enable EPrints to support the submission of XML-formatted experimental data sets together with the manuscript to which they correspond. The experimental The work recognizes the worth and potential for reuse of high quality experimental data, and is consistent with trends in scientific publishing and funding policy that advocate a more responsible approach to managing research data.&lt;br /&gt;
&lt;br /&gt;
The EP2DC plugin is the realization of the JISC-funded [http://www.jisc.ac.uk/whatwedo/programmes/inf11/jiscri/ep2dc.aspx EP2DC Rapid Innovation Project], and the support of JISC, both financial and managerial, is gratefully acknowledged.&lt;br /&gt;
&lt;br /&gt;
Whilst the EP2DC module has been tested and refined by an integration with the JISC-funded [https://mdc-s1.soton.ac.uk/ Materials Data Centre] that is presently under development at the University of Southampton, it is designed for integration with any data centre.&lt;br /&gt;
&lt;br /&gt;
=Features=&lt;br /&gt;
&lt;br /&gt;
[[Image:ep2dc_eprints_stage.png|frame|right|||||Screen capture of the EP2DC stage added to the default EPrints stages]] &lt;br /&gt;
&lt;br /&gt;
As shown in the figure, the EP2DC plugin extends the default EPrints stages with an additional EP2DC stage for uploading experimental data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;clear: both;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=EP2DC Plugin Installation=&lt;br /&gt;
&lt;br /&gt;
Installation of EP2DC at an existing EPrints 3.3 repository has been designed to be a simple as possible.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
PERL modules, all of which are available from CPAN:&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* HTTP::Request::Common&lt;br /&gt;
* Authen::NTLM&lt;br /&gt;
* LWP::Authen::Ntlm&lt;br /&gt;
* HTML::Entities&lt;br /&gt;
&lt;br /&gt;
==Install==&lt;br /&gt;
&lt;br /&gt;
Assuming the EPrints install path is /opt/eprints3, and that the name of your archive is ARCHIVE_ID, the following actions are required to install the EP2DC plugin:&lt;br /&gt;
&lt;br /&gt;
1-cd /opt/eprints3/archives/ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
2-cp mdc-1.0.tar.gz .&lt;br /&gt;
&lt;br /&gt;
3-tar zxvf mdc-1.0.tar.gz&lt;br /&gt;
This will copy most of the files at the right location.&lt;br /&gt;
&lt;br /&gt;
4-cd /opt/eprints3/archives/ARCHIVE_ID/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
5-vim document_fields_default.pl, add the following:&lt;br /&gt;
        $data-&amp;gt;{ep2dc_is_validated} = 'TRUE';&lt;br /&gt;
save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
6-vim document_fields.pl, add the following field definitions:&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_data&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_is_validated&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;boolean&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_data_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;mdc&amp;quot;, &amp;quot;ndc&amp;quot;, &amp;quot;amcc&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_type&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;tensile&amp;quot;, &amp;quot;creep&amp;quot;, &amp;quot;fatigue&amp;quot;, &amp;quot;impact&amp;quot;, &amp;quot;fcg&amp;quot;, &amp;quot;ccg&amp;quot; ],&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_date&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;date&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_test_centre&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;longtext&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_object_id&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;text&amp;quot;,&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
                name =&amp;gt; &amp;quot;ep2dc_security&amp;quot;,&lt;br /&gt;
                type =&amp;gt; &amp;quot;set&amp;quot;,&lt;br /&gt;
                options =&amp;gt; [ &amp;quot;openaccess&amp;quot;, &amp;quot;restricted&amp;quot;, &amp;quot;ondemand&amp;quot; ]&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
7-vim eprint_warnings.pl, add the following at the end:&lt;br /&gt;
&lt;br /&gt;
        push @problems, $session-&amp;gt;make_text( &amp;quot;After clicking the deposit button, all EP2DC data files will automatically be transferred to the selected datacentre(s).&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
	save &amp;amp; exit vim.&lt;br /&gt;
&lt;br /&gt;
8-vim eprint_render.pl&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents();&lt;br /&gt;
Replace with:&lt;br /&gt;
        my @documents = $eprint-&amp;gt;get_all_documents(0);&lt;br /&gt;
Look for the following piece of code:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} )&lt;br /&gt;
Replace with:&lt;br /&gt;
        if( defined $files{$doc-&amp;gt;get_main} &amp;amp;&amp;amp; !$doc-&amp;gt;is_data() )&lt;br /&gt;
Where you want to display the EP2DC datasets, add the following:&lt;br /&gt;
        my $data_container = $session-&amp;gt;make_element( &amp;quot;div&amp;quot;, id =&amp;gt; &amp;quot;ep_datadocs_container&amp;quot;, style=&amp;gt;&amp;quot;width:80%;margin:auto;&amp;quot; );&lt;br /&gt;
        $page-&amp;gt;appendChild( $data_container );&lt;br /&gt;
        my $wait_p = $session-&amp;gt;make_element( &amp;quot;p&amp;quot;, style=&amp;gt;&amp;quot;vertical-align: middle;width:100%;text-align:center;&amp;quot; );&lt;br /&gt;
        $data_container-&amp;gt;appendChild( $wait_p );&lt;br /&gt;
        my $wait_img = $session-&amp;gt;make_element( &amp;quot;img&amp;quot;, border =&amp;gt; &amp;quot;0&amp;quot;, src =&amp;gt; &amp;quot;/images/ajax_waiting.gif&amp;quot; );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $session-&amp;gt;make_text( &amp;quot;Loading datasets...   &amp;quot; ) );&lt;br /&gt;
        $wait_p-&amp;gt;appendChild( $wait_img );&lt;br /&gt;
        $page-&amp;gt;appendChild( $session-&amp;gt;make_javascript( &amp;quot;var datadocs = new Ajax.Updater( 'ep_datadocs_container', '/cgi/render_data_docs?eprintid=&amp;quot;.$eprint-&amp;gt;get_id.&amp;quot;', { method:'get', onComplete: function(req) { \$('ep_datadocs_container').innerHTML = req.responseText;} } );&amp;quot; ) );&lt;br /&gt;
save and exit vim.&lt;br /&gt;
&lt;br /&gt;
9-Add the new fields to the database:&lt;br /&gt;
        /opt/eprints3/bin/epadmin update_database_structure ARCHIVE_ID&lt;br /&gt;
&lt;br /&gt;
10-Link the CGI scripts to EPrints:&lt;br /&gt;
        ln -s /opt/eprints3/archives/ARCHIVE_ID/cgi/* /opt/eprints3/cgi/&lt;br /&gt;
&lt;br /&gt;
11-Restart your web server, as root (note that this line might be different depending on which version of Linux you are running):&lt;br /&gt;
        /etc/init.d/httpd restart&lt;br /&gt;
&lt;br /&gt;
=Data Centre Integration=&lt;br /&gt;
&lt;br /&gt;
The data centre integration relies on an EP2DC RESTful Web Services API. In the case of the [https://mdc-s1.soton.ac.uk/ Materials Data Centre], the end point is available at [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/MDCSvc.svc EP2DC Endpoint].&lt;br /&gt;
&lt;br /&gt;
The out-of-the-box EP2DC module is designed to work with the EP2DC Web Services API. Documentation for implementing this API is available from [https://mdc-s1.soton.ac.uk:8080/mdc_bin/EP2DC/ServiceDocumentation.aspx Web Services API documentation].&lt;br /&gt;
&lt;br /&gt;
=Development Roadmap=&lt;br /&gt;
As mentioned, the module is a prototype, and reports, and suggestions for improvements are welcomed. Presently, the roadmap for further development includes the following:&lt;br /&gt;
* Associate data with a pre-existing EPrints deposit&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Files/EPrints_MDC_Layer&amp;diff=8023</id>
		<title>Files/EPrints MDC Layer</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Files/EPrints_MDC_Layer&amp;diff=8023"/>
		<updated>2009-12-14T21:15:22Z</updated>

		<summary type="html">&lt;p&gt;Taustin@soton.ac.uk: redirect to EP2DC overview posting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[EP2DCOverview]]&lt;/div&gt;</summary>
		<author><name>Taustin@soton.ac.uk</name></author>
		
	</entry>
</feed>