adapters to convert between formats
"Frédéric Gobry" <[email protected]> Fri, 1 Sep 2006 07:28:15 +0100
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've just committed some code to the 1.3 branch to allow for adapting a biblio format to another. There is an example in doc/examples/pubmed2bibtex.py, which runs a query on pubmed, retrieves the result in pubmed's XML format, then adapts this format to BibTeX, and eventually saves the result of your query in BibTeX. This system does not really "convert" the data. An adapter is just some kind of layer that behaves as a normal pyblio database, but translates the records on the fly. It is possible to cascade these adapters. For the moment, pyblio 1.3 offers basic support for querying PubMed, the Web of Science and CrossRef. There are also parsers for RIS, ISI, XML Marc21, XML EndNote, BibTeX. There is only one Adapter, from PubMed to BibTeX. All these modules are incomplete, and I certainly won't have the time to complete them all. If you are interested, they are all meant to be easily extended, and possibly customized to more specific uses. -- Frédéric ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642