> Do you know if it is specifically geared > toward Zotero's SQLite data structures?
I don't believe so, since the CSL standard, such that it is, predates Zotero. I've worked with CSL a little bit in trying to create a PHP CSL rules engine. Not a trivial task, to say the least, but long-term it would serve you very well. I think there are Python and Ruby CSL libraries, but my impression, like Jonathan's, is that they are still somewhat in the works. --Dave ================== David Walker Library Web Services Manager California State University http://xerxes.calstate.edu ________________________________________ From: Code for Libraries [code4...@listserv.nd.edu] On Behalf Of Andrew Ashton [andrew_ash...@brown.edu] Sent: Monday, January 12, 2009 8:06 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] MODS-to-citation stylesheets Thanks, I have heard of CSL but never really worked with it. Do you know if it is specifically geared toward Zotero's SQLite data structures? We're interested in generating citations in web apps from a native XML database of MODS, preferably without going through Zotero. I've experimented with generating the citations from our eXist-based system by way of Zotero, but we run into genre-authority issues. Zotero's default MODS import translator expects <mods:genre authority="marcgt"> and our system uses other authorities. Granted, I'm working off of some older Zotero code, so I may not have the most recent info. -Andy On 1/12/09 10:51 AM, "Jonathan Rochkind" <rochk...@jhu.edu> wrote: > What I've been meaning to investigate more fully is the "Citation Style > Language" (CSL) which is used by Zotero for citation outputting--there > are some other non-Zotero engines for CSL, but I'm not sure how > mature/ready for production any of them are. The Zotero engine is of > course in Javascript, so inconvenient (although not impossible) to > re-use that code a server side app. > > I haven't really investigated what's going on with CSL, but that seems > to be the 'right' way to deal with this to me. Once you have a CSL > engine incorporated in your app, you can output not just in Chicago or > MLA, but any citation style now or in the future that Zotero (or anyone > else) provides a CSL file for. Thanks to Zotero (and it's partners?) for > developing this re-useable CSL format instead of just a custom Zotero > solution. > > Jonathan > > Andrew Ashton wrote: >> Can someone point me at any good, freely-available stylesheets to convert >> MODS to Chicago or MLA formatted citations? It seems like something that >> should be readily available, but I can¹t seem to find it. I¹d rather not >> reinvent the wheel if possible... >> >> Thanks, Andy >> >>