On Mon, Apr 4, 2011 at 1:26 AM, Bruce D'Arcus <[email protected]> wrote: > cc-ing xbib-dev on reply ... > > On Sun, Apr 3, 2011 at 12:08 PM, Frank Bennett <[email protected]> wrote: >> After a discussion with Phillip Lord, I've made some changes in >> citeproc-js to provide access to the itemID inside the function used >> to generate the bibliography entry wrapper. One of the things this >> opens a path to is the inclusion of simple RDFa structures in HTML >> output as a set of hidden tags. > > So just to be clear, this is because of something about the way you've > designed the code that means that output tokens lose association to > metadata content during processing?
It means that the itemID was not available for use in writing unescaped text content associated with an item, but that it now is. I don't know what that says about the design of citeproc-js. Implementing it required the addition of one line of code, and a small change to another. > > Effectively, then, you need to dump a separate representation of the > bib item. This would facilitate RDFa, but also any other format > really. > > But it does have the cost of requiring duplication of content. > > Do I have that all right? You would need a separate record of the content anyway, since field content may be littered with raw HTML tags, and the names data will often not be complete in the rendered bibliography entries. But otherwise, yes. The idea would be to dump a separate representation of the bib item. > >> While not as fancy as wrapping content >> in RDFa, this would still offer a basis (once an RDFa parser is sorted >> out) for round-tripping citation data between the Web and reference >> managers. >> >> To anyone interested in contributing, RDFa output should be pretty >> simple to implement. Everything you need to know is in a little >> comment in the format.js source file of citeproc-js. >> >> http://groups.google.com/group/citeproc-js/browse_thread/thread/8095a38f21e0327d > > And if anyone has BIBO/RDFa specific questions, there's google group. > > <http://groups.google.com/group/bibliographic-ontology-specification-group> > > Bruce > Bruce > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xbiblio-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel > ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ xbiblio-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
