SGML

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
brauronios
Posts: 3
Joined: Sun Sep 21, 2008 7:50 am

SGML

Post by brauronios »

I cannot understand how to import SGML data.

What should be the right filter?
Jon
Site Admin
Posts: 10297
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: SGML

Post 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
brauronios
Posts: 3
Joined: Sun Sep 21, 2008 7:50 am

Re: SGML

Post 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?
Jon
Site Admin
Posts: 10297
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: SGML

Post 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
Post Reply