notes-20160810a: Inserting a citation from Zotero into a page (going a little farther)

This page will show the insertion of the a citation, in this case it is put in as a URL - which should be replace with something more sensible (such as a ContentObject with a hidden attribute for the data and a visible part of the citation indicator, such as [1]).

First the initial state of the page (note the Zotero Add Citation Icon in the RCE menu):

Image

After the insert

As can be seen in XXXXX["Field_setCode",[1,0,"ITEM CSL_CITATION {\"citationID\":\"5tqlb10eq\",\"properties\":{\"formattedCitation\":\"[1]\",\"plainCitation\":\"[1]\"},\"citationItems\":[{\"id\":24108,\"uris\":[\"http://zotero.org/users/683389/items/R92B39BF\"],\"uri\":[\"http://zotero.org/users/683389/items/R92B39BF\"],\"itemData\":{\"id\":24108,\"type\":\"paper-conference\",\"title\":\"Role(s) of a proxy in location based services\",\"container-title\":\"The 13th IEEE International Symposium on Personal, Indoor and Mobile Radio Communications\",\"publisher\":\"IEEE\",\"publisher-place\":\"Pavilhao Altantico, Lisboa, Portugal\",\"page\":\"1252-1256\",\"source\":\"CrossRef\",\"event\":\"13th IEEE International Symposium on Personal Indoor and Mobile Radio Communications (PIMRC 2002)\",\"event-place\":\"Pavilhao Altantico, Lisboa, Portugal\",\"abstract\":\"We examine a number of roles that a proxy server can play in location based services and how it can be used to provide protection of personal identifiable information. Location data, service requests, and privacy policies are encoded in XML by the mobile terminal and forwarded to a proxy server placed between the mobile terminal and the location based service(s). By a suitable architecture in the mobile terminal and in the proxy, we can hide the mobile device's network location, hide the identity of its user, and, in some cases, provide misleading physical location(s). We have applied our privacy model to location information obtained from a GPS receiver. The GPS-based method was chosen as being the only available method where the positioning calculation function (PCF) is fully under the user's control, since the position is calculated within the mobile terminal; other technologies rely on the network infrastructure, and hence some or all of the position data is outside the user's control. A proof of concept was implemented using Fastrax's iTrax02 small, ultra-low power consumption GPS receiver. We illustrate a number of different functions which can be provided by examining some scenarios.\",\"URL\":\"http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=1045229\",\"DOI\":\"10.1109/PIMRC.2002.1045229\",\"ISBN\":\"0-7803-7589-0\",\"author\":[{\"literal\":\"A. Escudero-Pascual\"},{\"literal\":\"G.Q. Maguire Jr.\"}],\"issued\":{\"date-parts\":[[\"2002\",9,15]]},\"accessed\":{\"date-parts\":[[\"2011\",8,1]]}}}],\"schema\":\"https://github.com/citation-style-language/schema/raw/master/csl-citation.json\"}"]] Links to an external site.

<p>As can be seen in XXXXX<a title="inserted text" href="http://localhost:14921/text_to_return.html" target="_blank">["Field_setCode",[1,0,"ITEM CSL_CITATION {\"citationID\":\"5tqlb10eq\",\"properties\":{\"formattedCitation\":\"[1]\",\"plainCitation\":\"[1]\"},\"citationItems\":[{\"id\":24108,\"uris\":[\"http://zotero.org/users/683389/items/R92B39BF\"],\"uri\":[\"http://zotero.org/users/683389/items/R92B39BF\"],\"itemData\":{\"id\":24108,\"type\":\"paper-conference\",\"title\":\"Role(s) of a proxy in location based services\",\"container-title\":\"The 13th IEEE International Symposium on Personal, Indoor and Mobile Radio Communications\",\"publisher\":\"IEEE\",\"publisher-place\":\"Pavilhao Altantico, Lisboa, Portugal\",\"page\":\"1252-1256\",\"source\":\"CrossRef\",\"event\":\"13th IEEE International Symposium on Personal Indoor and Mobile Radio Communications (PIMRC 2002)\",\"event-place\":\"Pavilhao Altantico, Lisboa, Portugal\",\"abstract\":\"We ... scenarios.\",\"URL\":\"http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=1045229\",\"DOI\":\"10.1109/PIMRC.2002.1045229\",\"ISBN\":\"0-7803-7589-0\",\"author\":[{\"literal\":\"A. Escudero-Pascual\"},{\"literal\":\"G.Q. Maguire Jr.\"}],\"issued\":{\"date-parts\":[[\"2002\",9,15]]},\"accessed\":{\"date-parts\":[[\"2011\",8,1]]}}}],\"schema\":\"https://github.com/citation-style-language/schema/raw/master/csl-citation.json\"}"]]</a></p>