Instructions for simple testing of citeproc-xsl with gestalt xslt processor

we’ve been in contact before, my app is http://www.bibliograph.org, a
mulit-user, ajaxy reference manager in php and javascript.

Ah right; hi Christian.

I am currently using OSBib to format references, but would really like to switch to CSL. I
have seen that there is also a python implementation now, so I could try to
call that from php to get the formatted references. Ideally, though, I would
like to use xslt - maybe one day php will support xslt2. So you say that the
current citeproc-xslt doesn’t work?

It works, but with an old version of CSL. I simply don’t have the time
to update the code.

Here’s my sense of where things are:

  1. the Zotero code, which is E4X; basically complete, but maybe not
    that easy to integrate into other contexts

  2. Frank Bennet’s rewrite of 1; will probably be faster and easier to
    extend, integrate elsewhere; about 40-50% done

  3. Andrea’s citeproc-hs; very, very fast (much faster than an XSLT
    process), and almost complete; but it’s Haskell (so may have hosting
    issues and such)

  4. Liam’s Ruby port; I have no clue how complete it is, but it was
    functional enough for him to release as a gem, and at least one
    project (BibApp) seems to be using it.

  5. Johan’s Python version; again, don’t know how complete it is, but
    I’d guess a little less than #4, and maybe a little more than #2?

  6. After a false start on trying to port Zotero’s code to PHP, Ron
    Jerome has made some progress on an OO-version for use in his Drupal
    biblio module. But it’s also not done (my vague guess is it’s probably
    about where #2 is; he can parse a CSL file, but not anything more ATM;
    still, that’s good).

All of which is to say, there’s no great off-the-shelf version ATM for
use in a PHP app. But you do have some options to try (and contribute
to if you have the time and inclination). If I had a hunch, #6 might
be a good option for you.

Bruce