CiteProc-PHP

Hello,

I was wondering if anyone knew if there has ever been any development of
CiteProc in PHP? If no I would like make an attempt at this and am
looking for a starting point. Would it make sense to try to port the
JavaScript, Ruby or Python versions?

Thanks,_________________________________________
Ron Jerome
Programmer/Analyst
National Research Council Canada
M-2, 1200 Montreal Road, Ottawa, Ontario K1A 0R6
Government of Canada
Phone: 613-993-5346
FAX: 613-941-1571


Hi Ron,

Jerome, Ron wrote:

I was wondering if anyone knew if there has ever been any development of
CiteProc in PHP?

Not that I know of, but it’s on obvious hole that ought to be filled.

If no I would like make an attempt at this …

Great!

and am looking for a starting point. Would it make sense to try to port the
JavaScript, Ruby or Python versions?

The Javascript version at Zotero is the most complete, so I’d guess it
would make sense to start from there. So I’d start there, and with the
csl schema in SVN.

I would also take a look at the recent work on the Ruby version by Liam.
I know he’s not done, but he’s probably far enough along to at least
give you some ideas. And he’s been saying he’s going to come back to it,
so may have something to say about coding approaches and such.

It might be good to note again that it’d be nice if we could develop
some test cases that can help with this sort of development.

Finally, if you want to host the code here, send me your user name
off-list and I can add you as a developer. Obviously if you have any
questions as you go, feel free to post them here.

Bruce

JS is also probably the easiest to port to PHP, since the syntax is
pretty similar. A lot can even be done with [regexp] search-and-replace.

We (Zotero) would be very interested in a PHP port.

Ok, I’ll poke away at this a bit and see what happens. No promises at
this point as to if/when there will be a finished product, but as the
author of the biblio module for Drupal (http://drupal.org/project/biblio
), I do have an interest in making it work.

If/when I have any useful code to share I get in touch and we can post
it with the rest of the xbiblio code.

Ron.

From: xbiblio-devel-bounces@lists.sourceforge.net [mailto:xbiblio-
devel-bounces@lists.sourceforge.net] On Behalf Of Bruce D’Arcus
Sent: January 30, 2008 12:34 PM
To: development discussion for xbiblio
Subject: Re: [xbiblio-devel] CiteProc-PHP

Hi Ron,

Jerome, Ron wrote:

I was wondering if anyone knew if there has ever been any
development> -----Original Message-----
of

CiteProc in PHP?

Not that I know of, but it’s on obvious hole that ought to be filled.

If no I would like make an attempt at this …

Great!

and am looking for a starting point. Would it make sense to try to
port the
JavaScript, Ruby or Python versions?

The Javascript version at Zotero is the most complete, so I’d guess it
would make sense to start from there. So I’d start there, and with the
csl schema in SVN.

I would also take a look at the recent work on the Ruby version by
Liam.
I know he’s not done, but he’s probably far enough along to at least
give you some ideas. And he’s been saying he’s going to come back to
it,
so may have something to say about coding approaches and such.

It might be good to note again that it’d be nice if we could develop
some test cases that can help with this sort of development.

Finally, if you want to host the code here, send me your user name
off-list and I can add you as a developer. Obviously if you have any
questions as you go, feel free to post them here.

Bruce


OK, sounds good. Good luck.

Bruce

I would strongly recommend starting with the JavaScript version over the
Ruby one. I do have every intention of completing the Ruby port in the
near future, but at the moment it is in an incomplete state. Best of luck.

Regards,

Liam.

Bruce D’Arcus wrote: