Page MenuHomePhabricator

Trying to make a citation results in an error while zotero seems to be able to make citation just fine
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Lwgph
Aug 25 2024, 10:09 PM
Referenced Files
F57293543: fixed values works as expected.png
Aug 25 2024, 10:09 PM
F57293547: Schermafbeelding 2024-08-25 235935.png
Aug 25 2024, 10:09 PM
F57293541: citoid fails.png
Aug 25 2024, 10:09 PM
Subscribers

Description

Adding a citation with citoid, or testing it at the web2cit website results in an error for certain websites, while trying the same url at https://zbib.org/ seems to work fine.

citoid fails.png (346×392 px, 14 KB)
Schermafbeelding 2024-08-25 235935.png (460×968 px, 46 KB)

I tried the following urls:

I did notice that these three websites seem to use a similar url structure, but I am not sure if that's related at all.

Other information (browser name/version, screenshots, etc.):
I tried to define a translation template for one of them: https://meta.wikimedia.org/wiki/Web2Cit/data/be/hbvl/www/templates.json and that works as long as the fields are all fixed. As soon as you try to retrieve data through citoid or xpath, it breaks.
Fixed fields only:

fixed values works as expected.png (617×889 px, 56 KB)

Title with xpath:
Schermafbeelding 2024-08-25 235935.png (460×968 px, 46 KB)