tag:blogger.com,1999:blog-63301610050902748722024-03-14T02:16:49.670-07:00Otago LibLabProjects from the peeps in Digital Services at the University of Otago Library, Dunedin, New Zealand.LibLabhttp://www.blogger.com/profile/02099322085333563587noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6330161005090274872.post-13408500032340412662014-11-18T13:12:00.003-08:002014-11-18T13:13:07.136-08:00World of Persistent Identifiers [Updated]The reason I created this diagram was so I could visualise what the relationship is between Handles and DOIs, as well as other persistent identification systems. This diagram has also helped colleagues, so I thought it was worth updating.<br />
<br />
The Diagram for the World of Persistent Identifiers has been updated to include the OUR Journal service (Otago University Research Journal service).<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-BeCuS5kVX30/VGu1lNu2vII/AAAAAAAAH1A/jLJn6G9vZEQ/s1600/DOIhandleInfrastructureFigure20141119.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-BeCuS5kVX30/VGu1lNu2vII/AAAAAAAAH1A/jLJn6G9vZEQ/s1600/DOIhandleInfrastructureFigure20141119.png" height="220" width="320" /></a></div>
<br />
<br />
<br />
<br />
Access the first version of this diagram <a href="http://otagoliblab.blogspot.co.nz/2012/12/world-of-persistent-identifiers.html" target="_blank">World of Persistent Identifiers</a>.<span class="GCUXF0KCLB"></span>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6330161005090274872.post-13682912005385876352013-03-06T13:12:00.000-08:002013-03-06T13:13:05.758-08:00Setting up CrossRef DOIs in OJSWhen looking at the requirements for implementing CrossRef DOIs (digital object identifiers) in OJS (open journal systems) I was uncertain of the order required to set this up. (It did not help that the terminology used by OJS, CrossRef and other resources varies.)<br />
<br />
There are different <a href="http://pkp.sfu.ca/support/forum/index.php" target="_blank">OJS forum posts</a> that cover this, like <a href="http://pkp.sfu.ca/support/forum/viewtopic.php?f=2&t=7419#p28700" target="_blank">Re: STEP BY STEP FOR USING CROSSREF</a>. These posts did help me figure out most of the steps and code I have used. However, I still needed to figure out the right order for when you <i>display a DOI</i> and then when it should be <i>activated </i>(so it can be used as a link).<br />
<br />
The order for setting up DOIs in OJS for a journal are:<br />
<ol>
<li>Apply to CrossRef and <i>receive a DOI prefix</i> </li>
<li>Add this <i>DOI prefix</i> to the Journal Setup / Details page</li>
<li>Enter/select and save your preferred <i>DOI suffix</i> </li>
<li><i>Alter the metadata displayed on the Article record page</i>. This should include the DOI you generated. </li>
<li><i>Once the article is </i><i><i>Published/</i>Live/Public submit the metadata and DOI to CrossRef</i>. Either use the CrossRef XML export plugin or submit to CrossRef manually via the form <a href="http://www.crossref.org/webDeposit/" target="_blank">http://www.crossref.org/webDeposit/</a> </li>
<li><i>CrossRef will</i> <i>activate the DOIs</i>, using your submitted metadata/DOI. (There may be a delay in the activation but the DOI can still be cited.)</li>
</ol>
<br />
<b>More details for some of these steps and code</b><br />
<br />
2. Adding and generating your DOI for each article<br />
<ul>
<li>Go to - User Home / Journal Manager / Journal Setup / 1. Details / 1.1 General Information / DOI Prefix. Enter the prefix here</li>
</ul>
3. Create the DOI suffix for each journal.<br />
<ul>
<li>You can use the template structure with OJS or create a structure. (The DOI structure I suggested for each journal was concise and human readable.) CrossRef provides some guidance <a href="http://help.crossref.org/#establishing_a_doi_suffix_pattern" target="_blank">http://help.crossref.org/#establishing_a_doi_suffix_pattern</a></li>
</ul>
<ul>
</ul>
<br />
4. Alter the metadata displayed on the Article record page (i.e. Journal Initials, Volume, Issue, Year)<br />
<ul>
<li>The OJS default does not display metadata that CrossRef requires, so you will need to change what is displayed for each article. </li>
<li>OJS provides support to help you figure out how to create or change the code: <i>OJS API Reference</i> <a href="http://pkp.sfu.ca/ojs/doxygen/current/html/index.html" target="_blank">http://pkp.sfu.ca/ojs/doxygen/current/html/index.html</a> and go to the Class List </li>
<li>Within the directory (file structure) for your journal go to: Templates / Article and open the article.tpl file (via an XML editor, but I found WordPad is enough to edit the file). I added this code under the Authors and above the Abstract. Edit or order this based on the needs of each journal.</li>
</ul>
<br />
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> <div>
<br />
<div><h4>{$journal->getLocalizedInitials()|escape}, Vol {$issue->getVolume()|escape}, No {$issue->getNumber()|escape} ({$issue->getYear()|escape}) </h4></div>
<div><a href="http://dx.doi.org/{$article->getStoredDOI()|escape}">http://dx.doi.org/{$article->getStoredDOI()|escape}</a></div>
<br />
</div>
</code></pre>
<br />
<ul>
<li>If you do not want to display the DOI as a link before it is activated when you first set this up use the code for the DOI without the link</li>
</ul>
<br />
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> <div>DOI: {$article->getStoredDOI()|escape}</div>
</code></pre>
<br />
<br />
<ul>
</ul>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6330161005090274872.post-74226191593313370072012-12-17T12:29:00.001-08:002014-11-18T13:14:02.322-08:00World of Persistent IdentifiersWe have been working on providing DOIs (Digital Object Identifiers) for some journals we are managing in OJS (Open Journal Systems). When I was trying to understand the relationship between the handles used by DSpace and different types of DOIs I wanted to visualise this. I also needed to cover options for persistency when managing data and archives. I ended up creating a diagram to help me picture the 'world of persistent identifiers'.
<br />
<a href="http://3.bp.blogspot.com/-W_knm-x5ipA/ULQEAC0Y7bI/AAAAAAAABC8/vhjM7IIvbZc/s1600/DOIhandleInfrastructureFigure.png" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-W_knm-x5ipA/ULQEAC0Y7bI/AAAAAAAABC8/vhjM7IIvbZc/s400/DOIhandleInfrastructureFigure.png" height="277" width="400" /></a>
<br />
This diagram is a snapshot of what I was focusing on at the time of this investigation. If you want to remix this for your own purposes contact us and we can provide the original diagram (created in Microsoft Visio).<br />
<br />
View the Updated version if this Diagram <a href="http://otagoliblab.blogspot.co.nz/2014/11/world-of-persistent-identifiers-updated.html">http://otagoliblab.blogspot.co.nz/2014/11/world-of-persistent-identifiers-updated.html</a>. Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6330161005090274872.post-54575145185410815262012-06-12T21:59:00.000-07:002012-06-12T21:59:30.187-07:00Increasing the size of an EC2 root EBS volume<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="p1">
AWS EC2 AMI advertises that it comes with a 160G, but the loaded EBS only has 8G available. I only realised this once I started getting storage errors from my apps as the 8G cap was being hit. These are the steps I took to expand the root volume:</div>
<div class="p2">
<br /></div>
<div class="p1">
In the AWS console:</div>
<div class="p2">
<br /></div>
<div class="p1">
1. Create snapshot of the root volume (this will take a while)</div>
<div class="p2">
<br /></div>
<div class="p1">
2. Create a new volume from the snapshot with increased size (I put mine to 150G)</div>
<div class="p2">
<br /></div>
<div class="p1">
3. Stop the instance (you will get a warning about anything written to the ephemeral file system being lost. I lost my s3fs mount to S3. All my other data stayed)</div>
<div class="p2">
<br /></div>
<div class="p1">
4. Detach the root volume</div>
<div class="p2">
<br /></div>
<div class="p1">
5. Attach your new volume to the instance - set the device to /dev/sda1 (default root device)</div>
<div class="p2">
<br /></div>
<div class="p1">
6. Start up the Instance</div>
<div class="p2">
<br /></div>
<div class="p1">
7. If you had an elastic IP you will have to reattach that</div>
<div class="p2">
<br /></div>
<div class="p1">
8. ssh into your instance and, as root, run the following command:</div>
<div class="p2">
<br /></div>
<div class="p1" style="text-align: left;">
resize2fs /dev/sda1</div>
<div class="p2">
<br /></div>
<div class="p1">
9. run df -h to see your newly super-sized (actually, the size it *should* have been from the start!) volume. You should see something like this:</div>
<div class="p2">
<br /></div>
<div class="p2">
<br /></div>
<div class="p1">
Filesystem Size Used Avail Use% Mounted on</div>
<div class="p1">
/dev/xvda1 148G 7.9G 139G 6% /</div>
<div class="p1">
tmpfs 830M 0 830M 0% /dev/shm</div>
<div class="p3">
<br /></div>
</div>Anonymoushttp://www.blogger.com/profile/04361365496902283011noreply@blogger.com0