I'm trying to get the python and ruby citeproc ports setup enough that
they can be put in CVS. I wonder if people have thoughts on how to
structure the code?
Right now I pretty much have a single module: CiteProc. That contains
the classes for both the citation metadata (Reference, Agent,
Collection, etc.) AND for the formatting code (CitationStyle, etc.).
So I have:
citeproc-rb/
bin/
refer2rdf (a demo conversion tool that uses the library)
lib/
citeproc.rb
test/
...
Should I then, break these into separate modules: maybe CiteProc and
CiteMeta?
The practical integration contexts would be to be able to drop in
formatting support into a Rails or Django web app, or to integrate
citation processing into textile contexts, or of course to prototype in
OOo.
But there has to, I think, be a close relationship between metadata and
formatting. Ideally they are symmetric, in fact.
Bruce
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]