Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
dev:exposing_metadata [2017/11/22 05:45] – Remove Zotero 5 warning bwiernik | dev:exposing_metadata [2018/06/06 17:23] – [Force Zotero to refresh metadata] nbudak | ||
---|---|---|---|
Line 51: | Line 51: | ||
Websites for which metadata changes without a page reload should fire a ZoteroItemUpdated event to tell Zotero to re-detect metadata on the page. This is supported in Zotero 3.0 and later. | Websites for which metadata changes without a page reload should fire a ZoteroItemUpdated event to tell Zotero to re-detect metadata on the page. This is supported in Zotero 3.0 and later. | ||
- | <code javascript> | + | <code javascript> |
- | ev.initEvent(' | + | document.dispatchEvent(new Event(' |
- | document.dispatchEvent(ev); | + | bubbles: |
+ | cancelable: | ||
+ | })) | ||
+ | </ | ||
===== Zotero Web Translators ===== | ===== Zotero Web Translators ===== | ||
Exposing bibliographic metadata through an open standard is very powerful (and also benefits non-Zotero users!). However, if you have little control over the way your website is built, you may have to [[dev/ | Exposing bibliographic metadata through an open standard is very powerful (and also benefits non-Zotero users!). However, if you have little control over the way your website is built, you may have to [[dev/ |