zotero / zoterobib

ZoteroBib is a free online bibliography generator from the makers of Zotero
https://zbib.org
Other
68 stars 19 forks source link

Consider embeddable widget #293

Open tnajdek opened 1 year ago

tnajdek commented 1 year ago

https://forums.zotero.org/discussion/103881/is-zoterobib-embeddable#latest

A widget could render a small form that redirects to zbib with a pre-configured citation style and a query entered by the user. We should also do some UX improvements so it offers an option to restart with a fresh bibliography if arrived via /import endpoint and bibliography has not been updated (visited?) in past 24 hours.

tnajdek commented 1 year ago

If user has no data stored locally on zbib.org and arrive to /import, item(s) will be automatically added and citation style, if present, set to one from the URL.

If user had some items on zbib.org then if import link contains a citation style different than one currently used by zbib, the dialog has two tabs: one for each citation styles. User needs to pick a version (by selecting a tab) and then can add item(s) to the current bibliography. Otherwise there are no tabs. Either way user is presented with two options, one is add, second, hidden underneath a dropdown is "Replace current bibliography" (maybe in red + confirmation?)