diegodlh / zotero-cita

Cita: a Wikidata addon for Zotero with citations metadata support
GNU General Public License v3.0
218 stars 10 forks source link

Update the URL of an item via wikidata P953 value #237

Open Futur3r opened 1 year ago

Futur3r commented 1 year ago

Working on #235 .

I'm trying to get the value of the P953 statement of a WD element via the Wikidata.getProperties() method without success.

Dominic-DallOsto commented 1 year ago

Hey, sorry I'm a bit slow to review this!

At the moment this is just setting the URL of the item, but the goal would rather be to download the the PDF from that URL and add it as an attachment right?

Futur3r commented 1 year ago

Yes, it is the goal.

But for me it seemed a lot of work and a bit beyond my skills. As I wanted this kind of functionality now, I started to code something easier for me and close enough. Also, I think this functionality would be good to have.

Futur3r commented 1 year ago

Actually, maybe just this functionality is enough, what do you think ? This could be merged now, but the issue can stay open.