zandy
zandy copied to clipboard
Citations to clipboard
Discussion on Zotero forums suggests that it would be useful to push in-text citations and bibliography-formatted citations to the clipboard; specified use case is Google Docs, but this would be useful anywhere.
Two ways to do this: make the API server do it, or embed citeproc-js in a WebView. The latter would also entail translating from Zotero JSON to citeproc-js JSON, but it's doable (we could request the citeproc-js JSON from the server, but then we might as well request a formatted cite).
For clipboard access (we could probably even make a SpannedString for formatted cites): http://developer.android.com/reference/android/text/ClipboardManager.html
Can't use the new version, since that requires API 11.
I think this might be relevant as there are standalone scripting engines to avoid WebView usage just for the sake of JS.