cygri / prefix.cc

Source code to the prefix.cc website
http://prefix.cc/
The Unlicense
38 stars 10 forks source link

Links generated to LOV pages from a prefix #32

Closed gatemezing closed 2 years ago

gatemezing commented 2 years ago

Currently, almost all the pages generated by prefix.cc to LOV are 404. This is maybe due to the changes in LOV some years ago. I suggest (if possible) to make the following changes in the code of the file lib/site.class.php, (If I understood well). This might give new pages to LOV. My suggestion would be to change the line $links["http://lov.okfn.org/dataset/lov/details/vocabulary_$prefix.html"] = 'lov'; by this one $links["https://lov.linkeddata.es/dataset/lov/vocabs/$prefix"] = 'lov';.

Thanks for this useful and incredible tool!

cygri commented 2 years ago

Done in #d51e0a9. Thank you!