tellico and SRU Servers as own data definition.

dennis knorr dennis.knorr at gmx.net
Thu Jun 21 17:36:59 UTC 2018


Hi,
after a few years (how time flies) i finally have time again for trying
to use tellico with the "deutsche nationalbibliothek" dnb service.
They use SRU and MARC21-XML (looking at
http://www.dnb.de/DE/Service/DigitaleDienste/SRU/sru_node.html)

For using the SRU Interface you have to register for a token, where the
described an example where i could use the SRU Interface with the
following link:

https://services.dnb.de/sru/dnb?version=1.1&operation=searchRetrieve&query=%22Deutsche%20Nationalbibliothek%22&accessToken=XXXXXXXX

or

https://services.dnb.de/oai/repository?verb=ListRecords&from=2012-02-08T13:59:55Z&until=2012-02-08T15:00:00Z&set=dnb&metadataPrefix=oai_dc&accessToken=XXXXXXXXXX

There were other examples with a tilde "~", too. But i were not sure, if
tellico supports that style of request.

i then tried to add an sru server with a datasource and parameters like
in the screenshot of the attachment. but the search for anything with
that server did not return anything.

And i got the following error in the Konsole:
###############################################
Entity: line 1: parser error : Space required after the Public Identifier
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                 ^
Entity: line 1: parser error : SystemLiteral " or ' expected
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                 ^
Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                 ^
Entity: line 12: parser error : Opening and ending tag mismatch: hr line
10 and body
</body></html>
       ^
Entity: line 12: parser error : Opening and ending tag mismatch: body
line 4 and html
</body></html>
              ^
Entity: line 13: parser error : Premature end of data in tag html line 2

^
XSLTHandler::applyStylesheet() - error parsing input string!
unrecognized format: "marcxml"

###############################################


Any idea what i did wrong, or how i could debug this? i am not really
proficient in C++/QT (would be a good time anyway...) but writing cout
<< string should be doable. my problem is, i have no knowledge about
SRU/MARC21-XML at all and do not know how to get such knowledge. A
google search just revealed a few libraries which convert between
marc21-xml and rdf.

There does not seem to be much information how to do all that stuff online.

So my questions are:
1. Any idea, what i did wrong in my configuration?
2. Does any of my input help to say, in which way i could debug it better?
3. Do anyone of you know of resources how to query/process SRU and
MARC21-XML Stuff?

Yours, Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tellico.png
Type: image/png
Size: 221064 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20180621/2649877e/attachment-0001.png>


More information about the tellico-users mailing list