Page 1 of 1
SGML
Posted: Sun Sep 21, 2008 9:29 am
by brauronios
I cannot understand how to import SGML data.
What should be the right filter?
Re: SGML
Posted: Sun Sep 21, 2008 9:40 am
by Jon
Hi,
If you mean Standard Generalized Markup Language (or HTML, perhaps), then there is no way (with the exception of EndNote XML).
Jon
Sonny Software
Re: SGML
Posted: Sun Sep 21, 2008 10:23 am
by brauronios
Yes, I mean exactly that: Standard Generalized Markup Language.
However, I am a bit confused. I was persuaded that this
was a bibliographic standard.
And in fact I know a site where it is described as a specific protocol for bibliographic databases:
http://www.chass.utoronto.ca/amphoras/tocs.html
But, after downloading the intended files, I was not able to import the data into Bookends.
What is the explanation?
Re: SGML
Posted: Sun Sep 21, 2008 10:47 am
by Jon
There are hundreds of 'standards', some of which Bookends deals with and some it doesn't (and as far as I can see this isn't a standard, but a convention adopted by this particular reference collator). I took a look at an example from that site, and it looks something like this (correct me if I'm wrong):
<au>Brachet, Jean-Paul</au>
<ti>Lat. tutanus: sens et formation</ti>
<jl>Latomus 65.4</jl>
<yr>2006</yr>
<pg>869-878</pg>
The generic Bookends import filters expect tags to be at the beginning of a field, with nothing at the end. So you could easily import each field, but they'd be terminated with the close tags in Bookends (e.g. </au>). You could get rid of them pre- or post-import with search/replace if that mattered.
I think it would be possible to use the Bookends "Source" import option in these cases. Something like:
to letter -> Ignore
to < -> authors
to letter -> ignore
to < -> journal
etc.
The User Guide has the details on how to use the Source parser to import arbitrary data into Bookends.
Jon
Sonny Software