EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #05662


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Render field in Citation different ways.


Adam,

 

I’ll give it a try.  I’ve not worked with virtual fields yet so this will be a first.  Thanks for reminding me that these are available.

 

Thanks again,

-Brian.

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: Friday, April 29, 2016 1:12 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Render field in Citation different ways.

 

Virtual field?

 

 

Jisc

Adam Field
SHERPA services analyst developer

 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of "Brian D. Gregg" <bdgregg@pitt.edu>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Date: Friday, 29 April 2016 17:57
To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Render field in Citation different ways.

 

All,

 

Is there a way in a citation for an EPrint to render a field in different ways such as using the render function for the field by default and a way to define an alternate render?

 

For example.

If I had a DOI stored in the id_number field as such “doi:10.XXXX/abcdef” and default render turns this into ‘<a href="">http://dx.doi.org/10.XXXX/abcdef>10.XXXX/abcdef</a>’, but I also want it to have a 2nd render that turns the same data in the id_number field into ’10.XXXX/abcdef’ only, how could I accomplish this?

 

Thoughts or did I miss something somewhere?

 

Thanks in advance,

-Brian.

 

Brian D. Gregg

Solutions Architect

University of Pittsburgh | University Library System

Address: 7500 Thomas Blvd.  Room 129 Pittsburgh, PA 15208

Tel: (412) 648-3264 | Email: bdgregg@pitt.edu | Fax: (412) 648-3585

https://orcid.org/0000-0001-6541-4544

 


Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.