leonkt / zotero-memento

Zotero extension that combats link rot by archiving webpages and journal articles.
MIT License
280 stars 15 forks source link

Format archive URL as key-value pair in extra field #12

Open nmeuschke opened 3 years ago

nmeuschke commented 3 years ago

Thanks for this great extension!

I suggest creating a proper key-value entry for the archive URL in the extra field. This avoids problems when using several entries in extra, e.g., when simultaneously using the Citation Key entry of BetterBibTeX. Moreover, it facilitates accessing the archive URL in CSL as it corresponds to the official recommendation for citing fields from extra).

sneakers-the-rat commented 2 years ago

btw to export this field in BetterBibTeX i had to change this to being tex.<fieldname>: (i used tex.archive:

see https://retorque.re/zotero-better-bibtex/exporting/extra-fields/#bbt-specific

stites commented 1 year ago

old issue, but I noticed that this solves #22, so I'm digging it up again.

@sneakers-the-rat is the idea that the field should be tex.<fieldname> instead of Momento? That would be surprising because BBT adds a pinned citation key as Citation Key:

Also, it looks like this key-value pair should also have been added to line 130.