Logo_EZB Englisch

EZB XML Output

1. What is the purpose of the EZB’s XML output format?

The University Library Regensburg has developed an XML output format for the EZB, which allows the integration of the EZB website into any website as well as the presentation of the relevant content in a customized layout.

2. What is the process of using the EZB’s XML output format?

Interested libraries should send an e-mail including the following information to info.ezb@ur.de:

    • Host name or IP address of the server on which the library homepage is to be hosted
    • Name and e-mail address of the person(s) responsible for the implementation

In order to ensure the recognition value of the EZB, please display the logo of the Electronic Journals Library as a visible part of the layout of your newly modified EZB page. Please link the EZB logo to the following URL:

The SUB Göttingen and the SUB Hamburg have created scripts for the XML output format and offer them for subsequent use:

Please note that both institutions cannot provide any assistance with the technical implementation of the scripts.

Examples of the presentation of the EZB’s e-journals in the layout of their own institution:

3. Basic information on accessing the EZB services

All EZB services are processed via HTTP GET requests following this structure: https://ezb.ur.de/<script name>.phtml?bibid=UBR&colors=7&lang=de&…<script specific parameters>…&xmloutput=1

Since the EZB manages the licence data of 669 participating institutions, the result of an EZB service call depends on the currently selected view. The choice of the current view is determined by the parameters bibidclient_ipcolors and lang when the service is called up.

The current values of the parameters bibid, colors and lang are transferred in the XML response and should be used for further requests.

3.1 The default parameters bibid, client_ip, colors and lang
The parameter bibid determines which participanting institution is used to display the licence information. The list of possible bibid’s can be queried via a service. If no bibid is specified, when a user’s browser directly calls an EZB page, the participating institution is determined by the IP address of the computer making the request. When an EZB service is called directly by a mediating server rather than by the user’s computer, the IP address of the client requesting the mediating server should be passed in the parameter client_ip if no bibid is specified.

The parameter colors is used to select which journal entries are to be displayed. The value 1 stands for journals with freely accessible full-text articles, 2 for journals where access to full-text articles is licenced for the respective institution and 4 for journals where full-text articles cannot be accessed. By summing up the values any combination is possible, the default value is 7 (for all journals).

The parameter lang determines which language is used in the XML response. Possible values are de for German and en for English, the default setting is de. If an EZB participant has not configured an English view, the system switches to German.

3.2 Different versions of the XML output
Search results

For the output of the search results a new version of the XML schema was created, which contains the exact hits. You can get the new version of the XML output if you add the parameter &xmlv=3 (XML-Version 3) in the URL.

Detail page

For the detailed edition a new version of the XML schema was created, which contains the DOAJ link of green magazines. The new version of the XML output can be obtained by adding the parameter &xmlv=2 (XML-Version 2) in the URL.

 

4. The EZB services at a glance

List by Subject: All subject areas of the respective library and the size of the respective data stock (number of entries) of online journals are displayed.

Alphabetical title list: The full-text titles of journals are sorted alphabetically. You can access this list in the EZB either directly (link: Journals>List by Title), in which case the list contains all titles in the library in alphabetical order, or via the subject list, in which you have previously selected the desired subject area. This Alphabetical Title List contains all relevant, further links to the listed journals and is therefore sorted like an alphabetical journal catalogue (with the convenience of alphabetical navigation) of the respective library.

Detailed view: The information button of the title list takes you to the detailed view of the selected journal. All entries that have been entered via the selected journal are displayed there (details), including the journal-specific urls. In addition, it contains information that allows a link to the journal’s homepage, possible licence conditions, possible pay-per-view offers and a display of all libraries that have subscribed to the journal in question. Listed data of the detailed view can look like this: Journal title, licencing information, link with licencing information on the publisher, link with linking to the homepage, publisher, EISSN numbers, PISSN numbers, ZDB number (with url), subject areas (-groups), keywords, access (e.g. http), format (e.g. pdf), full text url, homepage of the journal with url, full text articles, first and last full text volume, first and last article (also scanned), first and last picture or graphic, first issue, last issue, publication frequency, costs and access as well as explanatory notes.

HP-forwarding: With this direct link to the homepage of the journal/article you can easily reach the website of the selected journal. In special cases with different licencing periods, an intermediate page of the EZB is displayed, where further details and links are listed (with links to the journal and/or links to the readme file of the licencing terms of the publisher…).

Readme for journals subject to licence: Licencing on journals results in licence information in the EZB, which can be accessed under ‘Readme’. This provides a link to any licencing terms of the publishers.

Search function: The search mask of the EZB (link: Journals>Journal Search) contains search options for journal and publisher characteristics, navigation, hits, subject areas and full text access. The search parameters used in the search mask of the EZB are title words, beginning of title, keywords, publishers, ISSN numbers, date of entry, date of last modification or ZDB number. These search specifications can be treated as conditions applicable or not applicable and can be completed or excluded with ‘AND’ or ‘OR’.

Search results: The search function (link: Journals>Journal Search) provides a user interface similar to the one used for the alphabetical sorting of the title list. However, not only alphabetically sorted search results can be displayed, but also “result pages” which are displayed page by page.

Settings: The settings (link Settings) contain not only the selectable selection criteria such as the licence conditions of magazines but also further options such as countries, participant categories and institutes (participants). They serve as a general selection option and as a help to narrow down the search to certain journal types. Among other things, they can be used to retrieve the journal collections of specific institutes.

List of participating institutions with full text access: This (link under: Detail/List of participating institutions,…) provides a list of the participating institutions offering full-text access to the selected journal. Specifications for a selected journal by e.g. institutes/institutions can be made in this way to find out which licence conditions are available and where.

Contact: In case of questions and problems, the user can contact (link under contact/contact person) the persons in charge at the respective EZB participant (e.g. library) via e-mail or homepage.

More detailed information on the script-specific parameters will be given in the following chapters.

 

5. Structure of the XML files

  • root element: ezb_page, attributes lang and colors
  • Always listed: library, Attributes: bibid and href, Content: name of the library page_name, Content: name of the script for the page
    Listed if necessary: page_vars

Also required: The additional parameters for the current page. Usually, the name of the element/attribute is also that of the required parameter. Exceptions: Notations in search mode (output in search result), (>> Notations[]).

Internationalization: Switch from English <-> German using lang=en or lang=de.

Further information can be found here:

 

6. The EZB services in detail

6.1 List of subject areas
fl.phtml without additional parameters:
Content: Links to subject areas with their full text journals, list of subject areas of the respective library, size of the respective data stock (number of journals).
Parent element: ezb_subject_list Additional parameters: One subject element per subject with the parent element subjects and the attributes notation and journalcount.
Content of the element subject: Name of the subject. The parameters used can then be linked to the alphabetically ordered list of online journals in the respective subject.

XML-example: LINK

6.2 Alphabetical list of journals in a subject area, complete alphabetical list
fl.phtml with parameter notation:
Content: Alphabetical list of journals for the respective subject (or a complete list with the parameter notation=ALL), 50 hits per page (default value). Due to the often large number of journals, the file contains a concise alphabetical navigation bar. The other links are journal-specific (name of the journal, link to the journal or to the publisher, licence terms of the publisher, detailed information about the journal, pay-per-view options).
Parent element: ezb_alphabetical_list
Further parameters: Summarized under page_vars

Content of the element page_vars: notation / sclc for scrolling by first letter, if > 50 (default) journals / sindex for scrolling in the list for a first letter
Content of the ezb_alphabetical_list element: Element subject with the attribute notation, the content is the name of the subject.
Element navlist with child elements current_page and other_pages to browse by letter
Element(s) first_fifty to browse in the list for the current initial letter
Element alphabetical_order, per journal one child element journals with attribute jour_id (internal EZB-ID of the journal) and child elements titlejournal_colordetail_link (-> link to detail view: detail with jour_id), warpto_link (-> link to journal: warpto with jour_id) and (for yellow and yellow-red traffic lights (= licencing)) the readme_link (-> link to the readme page: show_readme with jour_id), journal_new (= if a new entry is younger than 7 days).
Element(s) next_fifty to scroll in the list to the current initial letter
Element contact for a contact person of the respective subject.

XML-example: LINK

6.3 Detail view of a journal
detail.phtml:

Content: Details of the selected journal (via the alphabetical list)
Parent element: ezb_detail_about_journal
Further parameters: Summarized under page_varsjour_id

Content of the element ezb_detail_about_journal: Child element journal

Content of the element journal:
title (journal title), journal_color (licencing color (red-yellow-green), with attr. color_code), readme_link if yellow (with licence information about the publisher, with attr. url), warpto_link if yellow, green, red (with link to the homepage of the journal or the publisher), where_link (information about where licences exist for the selected journal), periods if yellow-red (information about licence periods, etc.), detail with child elements.

Content of the child element periods (of journal):
period with journal_color (only yellow or red), label (for yellow), warpto_link with attribute url (urlencoded), readme_link with attribute url for yellow (direct link to the readme page).

Content of the child element detail (of journal):
publisher, E_ISSN (EISSN-number) with parent element E_ISSNsP_ISSN (PISSN-number) with parent element P_ISSNsZDB_number (ZDB-Number with attr. url), subject (subject area (-group)), with parent element subjectskeyword with parent element keywordsfirst_fulltext_issue with child elements first_volumefirst_issue and first_datelast_fulltext_issue with child elements last_volumelast_issue and last_dateaccess (e.g. http)), formate (e.g. pdf), fulltext (fulltext-Url with attr. url), homepages -> homepage (Homepage of the journal with attr. url), first_issuelast_issuemoving_wall (moving wall time period), appearencecostspay_per_view with the child element suppliers and its child element suppliersupplier_url (attribute url) and first_date and last_date (all belonging to the pay-per-view option); journal_access (access with attr. url), remarks.
Additionally available for “ebsco”:
fulltext_articles.
Additionally available for “proquest”:
article_text (first, last article), scanned_articles (…also scanned), text_graphics (first, last picture or graphic).

XML-example: LINK (green)
XML-example: LINK (yellow-red)
XML-example: LINK (yellow)
XML-example: LINK (red)

6.4 Link to the journal
warpto.phtml:

Content: A direct link to the homepage of the journal/article (‘normal case’). The ‘special case’ of the yellow-red traffic light, contains a link to an EZB intermediate page, which gives information about the periods the journal is licenced for. Links are also listed there, which can be linked to the journal via warpto_link with the attribute url. If necessary, a link to the readme file of the publisher’s licence terms and conditions is also provided.

parent element: ezb_warpto_journal
Normal: journal (with the attribute jourid) and location with the link to the journal. (-> direct linking)
Special case:journal (with the attribute jourid) and the child elements title and periods (cf. detail)

XML-example ‘normal’: LINK
XML-example ‘special case’: LINK

6.5 Display of a readme page
show_readme.phtml:

Content: Licencing is reflected in the EZB by yellow (yellow-red) traffic lights. For the journals concerned, the licencing conditions may vary from publisher to publisher. These can be accessed through the ”Readme” link.
Parent element: ezb_readme_page
Further parameters: journal (with the attribute jourid) and location which always contains the link to the readme page.
Alternatively:
noreadme (all non-yellow cases) or alternatively, if multiple licence periods exist for a journal:
journal (with the attribute jourid) and the child elements title and periods and location (cf. detail)

XML-example: LINK for Noreadme
XML-example: LINK for Readme
XML-example: LINK for several Readmes

6.6 Available options for the search mask
search.phtml:

Content: The search function (Journals/Journal Search) contains various search input options for finding journals. The structure of the search mask uses the parameters in page_vars:

hits_per_pagesc as for flsindex as for flor instead of sc offset
jq_type1jq_term1jq_bool2jq_not2
jq_type2jq_term2jq_bool3jq_not3
jq_type3jq_term3  

In each case with content for prefilling the fields (under “Refine search”).

Parent element: ezb_search:
This contains the option option_list and its child element option:
The following contents can occur for the attribute name contained in option_list and the attribute value used in option:

<option_list name="jq_type"> with the possibilities:
<option value="KT">title word(s)</option>
<option value="KS">start of title;/option>
<option value="KW">keyword(s)</option>
<option value="PU">publisher</option>
<option value="IS">ISSN</option>
<option value="ID">date of entry</option>
<option value="LC">last change</option>
<option value="ZD">ZDB number</option>
<option_list name="jq_bool"> with the possibilities:
<option value="AND"></option>
<option value="OR"></option>
<option_list name="jq_not"> with the possibilities:
<option value=" "/>
<option value="NOT"></option>
<option_list name="offset">
<option value="-1" selected="true">alphabetic</option>
<option value="0">scroll</option>
<option_list name="hits_per_page">
with various selection options for the number of hits per page
<option_list name="Notations" multiple="true">
with a list of the subjects; for (multiple) selection(s)
<option_list name="selected_colors" multiple="true">
with a list of the "traffic light colours" to be displayed

Attention:

  • Notations and selected_colors must be requested with []
  • in a request to refine the search, the values last used in offset, hits_per_page, notations and selected_colors are given the attribute selected=”true”.

XML-example: LINK

6.7 Search results
searchres.phtml:
 

Contents: Search results are presented as an alphabetical list as in fl or for scrolling by page.
Parent element: ezb_alphabetical_list_searchresult
As in the search mask, the parameters of the page_vars are decisive:

hits_per_pagesc as with flsindex as with flor instead of sc offset
jq_type1jq_term1jq_bool2jq_not2
jq_type2jq_term2jq_bool3jq_not3
jq_type3jq_term3  

Attention:

  • Notations must be accessed with []

The structure of fl similar to (sc, sindex), hits_per_page adjustable, or alternatively through scrolling with hits_per_page, then navlist with first_pageprevious_pagenext_pagelast_page each with the attribute offset.

current_page with content [from – to]
XML-example: LINK

6.8 Display of all participating institutions

select.phtml:

Contents: List of all participating institutions.
Parent element: ezb_partner_selection with child elements:

  • countries
    With a list of country; Attribute ID and lang with the content country name.
  • categories
    With a list of category; Attribute ID, lang and country_refs with the contents of the name of the category. Also attribute countryrefs (ID’s of the countries, in which the category occurs).
  • institutions
    With a list of institution; Attribute ID (bibid of the institution), lang, catrefs and countryref
    Explanation: catrefs = categories in which the institution belongs; countryref = country, sorted by city, name of the institution.

Also an option_list as in:
<option_list name="selected_colors" multiple="true"> with a list of the "traffic light colors" to be displayed and child element option for the 'traffic light texts':
<option value="1" selected="true">freely accessible/option>
<option value="2" selected="true">for members of the University of Regensburg in the university network free, access conditions in the Readme</option>
<option value="4" selected="true">not accessible for members of the University of Regensburg...</option>

XML-example: LINK

6.9 Display of participating institutions that offer full text access to a journal
where.phtml:

Content: List of participating institutions providing full text access to a journal.
Parent element: ezb_where_journal_at_partners with child elements: journal and attribute jourid, and its child element title
Further child elements of ezb_where_journal_at_partners: partner_selection
As under select (ezb_partner_selection) with child elements countries, categories and institutions.
Further parameters under page_vars: jour_id

XML-example: LINK

6.10 Contact person at the participating institution
kontakt.phtml:

Content: Lists contact addresses (e-mail, homepage).
Parent element: ezb_contact with the attribute href for the link to the contact person and the corresponding link title.

XML-example: LINK

 

7. Are there any logos and graphics that can be used?

Yes, at https://ezb.ur.de/services/ezbmaterials.phtml there are a number of logos and graphics that you can use on your website.

 

8. Who can I contact if I have comments or an error?

There is a mailing list aimed at all EZB data users who regularly access data via the various interfaces of the EZB. Here you can get service-specific information from the EZB team. You can also use that mailing list to discuss with other EZB data recipients users about questions relating to the application, to contribute your own ideas and new approaches.
Link to registration: https://www.listserv.dfn.de/sympa/info/ur-ub-ezb-dbis-data

In case you have noticed an error or bug, please send an e-mail to: info.ezb@ur.de

Quality through Cooperation

Scroll to Top