Edelweiss / hgv

Heidelberger Gesamtverzeichnis der griechischen Papyrusurkunden Ägyptens
MIT License
1 stars 0 forks source link

links in HTML pages of old gv0 catalogue #191

Open jcowey opened 10 months ago

jcowey commented 10 months ago

It would be nice to bring these up to date.

Here https://papy.zaw.uni-heidelberg.de/gv0/Papyri/P.Heid._III/241/P.Heid._III_241.html there is a dead link:

Screenshot 2023-08-18 at 17 23 19

We can make the changes directly to the HTML files. For the above cited example the file is at

/Volumes/sd18K003/www/gv0/PapyriP.Heid._III/231/P.Heid._III_231.html

there is the line

<LI><A HREF="http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus:text:1999.05.0131:volume=3:document=231">Griechischer Text</A> der DDBDP (bei Perseus)

this shoud be replaced with

<LI><A HREF="http://www.papyri.info/ddbdp/p.heid;3;231">Griechischer Text</A> in papyri.info.

The handle that could be used for a script is "1999.05.0131:volume=3:document=231"

from that ignore "1999.05." take "0131" concatenate ";" followed by the value of the volume "3" followed by ";" followed by the value of the document "231" this would give you the triplet

0131;3;131

using that search across https://github.com/papyri/idp.data/tree/master/DDB_EpiDoc_XML

there you will find the hit <idno type="ddb-perseus-style">0131;3;231</idno>

now use instead the ddb-hybrid associated with that record (usually directly below what you have just found)

in this case at https://github.com/papyri/idp.data/blob/master/DDB_EpiDoc_XML/p.heid/p.heid.3/p.heid.3.231.xml#L15-L16

            <idno type="ddb-perseus-style">0131;3;231</idno>
            <idno type="ddb-hybrid">p.heid;3;231</idno>
jcowey commented 9 months ago

Screenshot 2023-09-21 at 11 15 30 Please margined

jcowey commented 9 months ago

Linking to the spreadsheet:

https://docs.google.com/spreadsheets/d/1I_TAwhEQwAxGSF6Gcx-RmbREg-pyyUHeDWvEhTjSB5g/edit#gid=0