places in EFES

28 views
Skip to first unread message

Daria R.

unread,
Mar 5, 2024, 7:50:11 AM3/5/24
to EFES users
Good morning, 

I am studying how to use EFES and I have a (certainly basic) question, but I do not find an answer online. 
I have encoded place names as follows: 

  • in the xml find of the inscription: 

    • <placeName type=“ancientFindspot" ref="findspot.xml#athens”>Athens</placeName>

    • In the authority list (file: findspot.xml):                          
    I basically encoded as I would do with bibliography. The point is that they appear in EFES as if there was no reference to the authority list: I cannot click on the name to obtain further information.
    I also tried to put the reference to pleiades and geonames directly in the xml find of the inscription but they still appear as “normal” text.
    Should places appear like that? If not, what I am doing wrong?
    Best wishes and thanks,

    Daria Russo

Gabriel Bodard

unread,
Mar 5, 2024, 7:58:35 AM3/5/24
to EFES users
Dear Daria,

Others may have more detailed replies to your question, but in haste (and if I understand your intent correctly), the EpiDoc Stylesheets as used by EFES do not (at least by default) make entities in the epigraphic text into hyperlinks based on @ref​ attributes pointing to either internal authority list or gazetteers, etc. (The authority lists and internal encoding are only used for the purpose of indexing the content, populating the person/place indexes, etc.)

If you wanted to turn e.g. placenames into hyperlinks pointing to Pleiades (or to your internal gazetteer), the Stylesheets would be the place to customise that. (If you confirm that I haven't misunderstood what you're trying to do, and you're not comfortable with customising XSLT yourself yet, we could also give some pointers as to which parts of the Stylesheets to look at first…)

All best,

Gabby

-- 
Dr Gabriel BODARD (he/him)
Reader in Digital Classics

Director of Studies (research): Digital Humanities Research Hub
Director of Studies (research): Institute of Classical Studies

Mailing address:
  Institute of Classical Studies
  University of London
  Senate House
  Malet Street
  London WC1E 7HU
 
Especially at the moment, I may email at odd hours of the day and night/days of the week. I do not ever expect a reply outside of your working hours.

From: efes-...@googlegroups.com <efes-...@googlegroups.com> on behalf of Daria R. <dariar...@gmail.com>
Sent: 05 March 2024 12:50
To: EFES users <efes-...@googlegroups.com>
Subject: [efes-users] places in EFES
 
--
You received this message because you are subscribed to the Google Groups "EFES users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to efes-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/efes-users/e6515b55-6f41-4a6e-af2d-fd9cecc846e6n%40googlegroups.com.

Daria R.

unread,
Mar 5, 2024, 8:53:13 AM3/5/24
to efes-...@googlegroups.com
Dear Gabriel (if I may), 

yes, that was the question! 
Up to now I haven't even tried to modify the stylesheets, so your suggestions on how to do it would be very welcome!
With many thanks again, and best wishes, 

Daria 

You received this message because you are subscribed to a topic in the Google Groups "EFES users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/efes-users/zI40Squ8Dvg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to efes-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/efes-users/LO0P123MB414072B5FC56F58ABA37B250C1222%40LO0P123MB4140.GBRP123.PROD.OUTLOOK.COM.

Emmanuelle Morlock

unread,
Mar 5, 2024, 10:00:34 AM3/5/24
to efes-...@googlegroups.com
Hi Gabby, Daria, and all.

Maybe I could help with the XSLTs. Don't hesitate to put me in the loop. Are there other use case among the EFES users?
Best wishes,

Emmanuelle 




--
Bien cordialement,

Emmanuelle Morlock

Martina Filosa

unread,
Mar 5, 2024, 10:04:57 AM3/5/24
to efes-...@googlegroups.com
Dear all, Dear Daria -- welcome among the EFES users!

In our project we did something similar, however not in the inscriptions but in the metadata. 

We added this snippet of code, which pertains only to the geodata:

<xsl:template match="t:placeName">
    <xsl:choose>
      <xsl:when test="contains(@ref,'pleiades.stoa.org') or contains(@ref,'geonames.org') or contains(@ref,'slsgazetteer.org')">
        <a>
          <xsl:attribute name="href">
            <xsl:value-of select="@ref"/>
          </xsl:attribute>
          <xsl:attribute name="target">_blank</xsl:attribute>
          <xsl:apply-templates/>
        </a>
      </xsl:when>
      <xsl:otherwise>
        <xsl:apply-templates/>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

All best,

Martina



--

Martina Filosa, M.A.

Wissenschaftliche Mitarbeiterin

ANR/DFG DigiByzSeal - VolkswagenStiftung DiBS

Universität zu Köln
Institut für Altertumskunde
Abteilung Byzantinistik und Neugriechische Philologie
Albertus-Magnus-Platz
D-50923 Köln



Daria R.

unread,
Mar 6, 2024, 4:01:27 AM3/6/24
to efes-...@googlegroups.com
Dear all, 

thank you for your replies and all your help, and for welcoming me in the community!
Best wishes, 

Daria 



Gabriel Bodard

unread,
Mar 6, 2024, 6:08:27 AM3/6/24
to efes-...@googlegroups.com
Dear Daria and all,

One thing to add is that we would need to be a bit careful about the placement and parameterisation of any customisation to the EpiDoc Stylesheets for placeName​ and similar elements.

  1. Since we're talking about EFES for the moment, we could either add templates in the local stylesheets directory for the current project only (EFES/webapps/ROOT/stylesheets/epidoc) or​—which is my normal preference—add the new templates to the EpiDoc stylesheets, parametrised so they only effect your project and anyone else who specifically selects them, which would then be copied into the EFES-wide stylesheets directory (EFES/webapps/ROOT/kiln/stylesheets/epidoc).
  2. Either way, these changes would want to be made onto the HTML output of the stylesheets, since such links are not possible in text-only and (presumably) not desired in ODT or FO outputs.
  3. Since no template currently exists for the handling of placeName​ and related elements in the EpiDoc edition, this would need to be added (e.g. as htm-teipersname.xsl​) and an xsl:include​ call added in start-edition.xsl.

This slightly esoteric understanding of how the EpiDoc Stylesheets works should probably be better documented somewhere (both in EFES and in the EpiDoc documentation more broadly). Happy to discuss further if useful in the meantime.

Best,

Gabby

-- 
Dr Gabriel BODARD (he/him)
Reader in Digital Classics

Director of Studies (research): Digital Humanities Research Hub
Director of Studies (research): Institute of Classical Studies

Mailing address:
  Institute of Classical Studies
  University of London
  Senate House
  Malet Street
  London WC1E 7HU
 
Especially at the moment, I may email at odd hours of the day and night/days of the week. I do not ever expect a reply outside of your working hours.

Sent: 06 March 2024 09:01
To: efes-...@googlegroups.com <efes-...@googlegroups.com>
Subject: Re: [efes-users] places in EFES
 
Reply all
Reply to author
Forward
0 new messages