<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
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:
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