{"id":453,"date":"2021-03-25T21:38:18","date_gmt":"2021-03-25T20:38:18","guid":{"rendered":"http:\/\/david.carter-tod.com\/wp\/?p=453"},"modified":"2021-03-25T21:38:18","modified_gmt":"2021-03-25T20:38:18","slug":"zotero-plugins","status":"publish","type":"post","link":"http:\/\/david.carter-tod.com\/wp\/2021\/03\/25\/zotero-plugins\/","title":{"rendered":"Zotero Plugins"},"content":{"rendered":"\n<p>I wrote a couple of Zotero (<a rel=\"noreferrer noopener\" href=\"https:\/\/t.co\/Qviu5WvpSz?amp=1\" target=\"_blank\">https:\/\/zotero.org<\/a>) plugins to solve some problems. First was to preview a citation in a tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"http:\/\/david.carter-tod.com\/wp\/wp-content\/uploads\/2021\/03\/zotero-preview2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"249\" src=\"http:\/\/david.carter-tod.com\/wp\/wp-content\/uploads\/2021\/03\/zotero-preview2.png\" alt=\"\" class=\"wp-image-455\" srcset=\"http:\/\/david.carter-tod.com\/wp\/wp-content\/uploads\/2021\/03\/zotero-preview2.png 550w, http:\/\/david.carter-tod.com\/wp\/wp-content\/uploads\/2021\/03\/zotero-preview2-300x136.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/figure>\n\n\n\n<p>The second is to fix line endings in abstracts, which seems to be a problem for me when I copy\/paste from PDF files.<\/p>\n\n\n\n<p>I was starting from scratch in learning how to do this, but basically copied some bits and pieces from other plugins. There was more than a little head-scratching. What was interesting to learn is that Zotero is a web page \/ application under the hood and so is basically written in JavaScript.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wrote a couple of Zotero (https:\/\/zotero.org) plugins to solve some problems. First was to preview a citation in a tab. The second is to fix line endings in abstracts, which seems to be a problem for me when I copy\/paste from PDF files. I was starting from scratch in learning how to do this, &hellip; <a href=\"http:\/\/david.carter-tod.com\/wp\/2021\/03\/25\/zotero-plugins\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Zotero Plugins<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[6],"tags":[],"class_list":["post-453","post","type-post","status-publish","format-standard","hentry","category-work"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2nWeR-7j","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":1,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":456,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts\/453\/revisions\/456"}],"wp:attachment":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/media?parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/categories?post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/tags?post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}