EPrints Technical Mailing List Archive

Message: #03568


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

[EP-tech] Re: Displaying corporate creator when no individual creator is listed


Hi Gunnar,
You need to edit ~/archives/ARCHIVEID/cfg/citations/eprint/default.xml (***unless you're using the XSLT citations - in which case it's default.xsl***).

The out-the-box version has the following 'choose' block at the top to display an appropriate creator:
<choose>

  <when test="type = 'book' and is_set( creators )">
    <print expr="creators_name"/>
  </when>

  <when test="type = 'book' and !is_set( creators )">
    <print expr="editors_name"/>, ed<if test="length(editors_name) gt 1">s</if>.
  </when>

  <when test="type = 'patent'">
    <print expr="patent_applicant"/>
  </when>

  <otherwise>
    <print expr="creators_name"/>
  </otherwise>

</choose>

If your 'meeting minutes' will always have a corp_creator, but not a 'creator', you can just put
  <when test="type = 'meeting_minutes'">
    <print expr="corp_creator"/>
  </when>

If it may have both, or possibly neither you might want to do something a bit more like the 'book' examples.

Cheers,
John

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Gunnar Wolf
Sent: 29 October 2014 01:56
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Displaying corporate creator when no individual creator is listed

Hi,

We just added a type of eprint to our repository, "meeting
minutes". Discussing on how the metadata for meetings should be
treated, we decided individual "creators" are mostly meaningless, but
a "corporate creator" makes sense. However, creating objects of this
type, I get the following results:

   http://ru.iiec.unam.mx/2591/

Foremost, what we don't like is the citation format does not display
the corporate creator:

    SIN ESPECIFICAR (2014) Reunión de trabajo RAD-UNAM, octubre de
    2014. [Acta / minuta] 

(of course, "SIN ESPECIFICAR" means "UNSPECIFIED", where it should
show the name of the corporate creator group)

Secondly, I think I know where to poke (in render.xml) to show the
corporate creators in the static page. However, I don't want to do
this until I know it won't mean repetiton with this first line.

Thanks for any help! 

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/