Topic on User talk:Magnus Manske

Dynamic URL formatter for MnM catalogs

7
Summary by Epìdosis

Solved: feature enabled and working perfectly

Bargioni (talkcontribs)

Hi, Magnus, when we was in Athens (and El Pireo too :-) ), the National Library of Greece released its Koha authority records catalog. We immediately updated the related property. But of course the corresponding MnM catalog still uses the old one.

What about to use the value of P1630 (preferred, or the first one) for external links of MnM entries? Thx a lot.

Bargioni (talkcontribs)

Again, sorry, Magnus, a dynamic way to use url formatters in MnM would be very useful. Another example is for the COBISS consortium:

https://opac.si.cobiss.net/opac7/conor/ID is now wrong, it changed in

https://plus.cobiss.net/cobiss/si/sl/conor/ID

Magnus Manske (talkcontribs)

As to the case at hand, just to be on the same page, you mean Academy of Athens authority ID (P10141) and catalog 5139 respectively? Looks like the catalog is already using the preferred format, did I miss something?

As for using formatter URL (P1630), the idea behing Mix'n'match is that it can be used without a property, and that URLs are fixed with the entries. I can imagine a function to update the URLs for a catalog based on formatter URL (P1630) and the external IDs on demand though. Would that be sufficient?

Epìdosis (talkcontribs)
Magnus Manske (talkcontribs)

I have added this function to the catalog admin page, and tested it successfully on 5478.

Epìdosis (talkcontribs)
Magnus Manske (talkcontribs)

Ah, stupid typo. Fixed now.