web2 developments at the national széchényi library
TRANSCRIPT
WEB2 developments at the WEB2 developments at the National Széchényi Library National Széchényi Library
ADLUG Users Group MeetingADLUG Users Group Meeting
Venice, 29-31 October, 2008Venice, 29-31 October, 2008
ÁdámÁdám HorváthHorváth
NSZLNSZL
2 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
ContentsContents WEB2WEB2 Integrating other services into LibriVisionIntegrating other services into LibriVision
– Link serviceLink service– Bookmark serviceBookmark service– PermalinkPermalink– Google Cover PageGoogle Cover Page– Map integration Map integration
Integrating LibriVision into other servicesIntegrating LibriVision into other services– Microformat : Zotero – COinSMicroformat : Zotero – COinS– OpenSearchOpenSearch– Quick Search formQuick Search form– WidgetsWidgets– LibriMonkeyLibriMonkey
4 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
What is WEB2?What is WEB2?
WEB2WEB2– Loose definitionLoose definition– Linking services existing on the webLinking services existing on the web
7 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
The purpose of the link serviceThe purpose of the link service
To show if a given document in the hit list To show if a given document in the hit list has an electronic version in the has an electronic version in the
• Hungarian Electronic Library, Hungarian Electronic Library, • National Digital Archive National Digital Archive (NDA)(NDA), , • The European LibraryThe European Library (TEL) (TEL), , • GoogleBooksGoogleBooks
8 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
The purpose of the link serviceThe purpose of the link service
To show if a given document in the hit listTo show if a given document in the hit listcan be bought in an online bookshop or in can be bought in an online bookshop or in a second-hand bookshopa second-hand bookshop
• Three Hungarian online bookshopsThree Hungarian online bookshops• One Hungarian online second-hand bookshopOne Hungarian online second-hand bookshop• AmazonAmazon
9 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
The purpose of the link serviceThe purpose of the link service
To show if a given document in the hit listTo show if a given document in the hit listhas a translationhas a translation
• Two Hungarian online serviceTwo Hungarian online servicess
10 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
11 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
12 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
13 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
14 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
15 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
16 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
The technologyThe technology
Two partsTwo parts– OpenUrl creatorOpenUrl creator– OpenUrl resolverOpenUrl resolver
17 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
The OpenUrl creatorThe OpenUrl creator
XSLTXSLTCreates OpenUrl 0.1Creates OpenUrl 0.1Every OpenUrl document type is handledEvery OpenUrl document type is handled
18 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
OpenUrl resolverOpenUrl resolver
Java servletJava servlet– XML parameter filesXML parameter files
Open serviceOpen service– Anyone can use it: the base address is publicAnyone can use it: the base address is public• http://viola.oszk.hu:8080/sokk/OpenURL_Servlethttp://viola.oszk.hu:8080/sokk/OpenURL_Servlet
19 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
OpenUrl resolverOpenUrl resolver
Targets can beTargets can be– SRU (TEL, NDA)SRU (TEL, NDA)– Webservice (Amazon)Webservice (Amazon)– HTML (Google Books, translation services, Hungarian HTML (Google Books, translation services, Hungarian
online bookshops)online bookshops)
New targets can be added in different waysNew targets can be added in different ways– SRU, WebserviceSRU, Webservice
• Via XML parameter filesVia XML parameter files
– HTML pagesHTML pages• Needs special development and maintenanceNeeds special development and maintenance
20 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
OpenUrl resolverOpenUrl resolver
PolicyPolicy– Tries to find the same edition as displayed in Tries to find the same edition as displayed in
the LibriVision hit listthe LibriVision hit list– In case of bookshops it shows the availabilityIn case of bookshops it shows the availability– In case of online documents it shows the In case of online documents it shows the
online document immediately (e.g. skips the online document immediately (e.g. skips the hit page in TEL, NDA, Google Books)hit page in TEL, NDA, Google Books)
– The icons of the services are links to the The icons of the services are links to the search page of the servicessearch page of the services
22 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
25 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
Bookmark serviceBookmark service
Based on our LibriUrl serviceBased on our LibriUrl serviceSourceSource– addthis.comaddthis.com
LanguageLanguage– JavascriptJavascript
Integration into LibriVisionIntegration into LibriVision– XSLTXSLT
27 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
PurposePurpose
To be able to copy and paste the URL of a To be able to copy and paste the URL of a given bibliographic record in LibriVision to given bibliographic record in LibriVision to wherever you wantwherever you want
28 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
29 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
30 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
31 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
Permalink further developmentPermalink further development
Using CoolUriUsing CoolUriCoolUri is a W3C recommendationCoolUri is a W3C recommendationCoolUri characteristicCoolUri characteristic– ShortShort– PermanentPermanent– Ease to maintainEase to maintain
32 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
Permalink further developmentPermalink further development
CoolUri exampleCoolUri example– http://nektar.oszk.hu/bib/927799http://nektar.oszk.hu/bib/927799
Instead of this one:Instead of this one:– http://link.oszk.hu/libriurl.php?http://link.oszk.hu/libriurl.php?
LN=hu&DB=OSZK&SRY=an&SRE=0000009277LN=hu&DB=OSZK&SRY=an&SRE=00000092779999
34 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
35 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
36 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
How does it work?How does it work?
37 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
TechnologyTechnology
Based on the open Google Books Cover Based on the open Google Books Cover Page servicePage service– JavascriptJavascript– One can choose which page of Google Books One can choose which page of Google Books
will be shownwill be shown– The search is based on ISBNThe search is based on ISBN
Implementation at NSZLImplementation at NSZL– XSLT and JavascriptXSLT and Javascript– We go to the „About this book” pageWe go to the „About this book” page
39 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
The aimThe aim
Bibliographic records contain many Bibliographic records contain many geographical informationgeographical information– City names in the publisher fieldCity names in the publisher field– Geographical keywordsGeographical keywords– Library addresses in a union catalogueLibrary addresses in a union catalogue– Coordinates of mapCoordinates of mapss
It would be nice to show these on a mapIt would be nice to show these on a mapNSZL has already started to develop this NSZL has already started to develop this
functionality (not in production yet)functionality (not in production yet)
40 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
41 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
44 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About ZoteroAbout Zotero
„„Zotero is a free, open source extension Zotero is a free, open source extension for the Firefox browser, that enables users for the Firefox browser, that enables users to collect, manage, and cite research from to collect, manage, and cite research from all types of sources from the browser. It is all types of sources from the browser. It is partly a piece of reference management partly a piece of reference management software, used to manage bibliographies software, used to manage bibliographies and references when writing essays and and references when writing essays and articles.”articles.”
45 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About ZoteroAbout Zotero
Permalink of the Zotero article in WikiPermalink of the Zotero article in Wiki
http://en.wikipedia.org/w/index.php?http://en.wikipedia.org/w/index.php?title=Zotero&oldid=242604788title=Zotero&oldid=242604788
46 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About ZoteroAbout Zotero
On many major research websites such as On many major research websites such as Google Scholar, Amazon.com, Wikipedia Google Scholar, Amazon.com, Wikipedia and even NSZL’s Digital Library and and even NSZL’s Digital Library and LibriVision, Zotero detects when a book, LibriVision, Zotero detects when a book, article, or other resource is being viewed article, or other resource is being viewed and with a mouse click finds and saves and with a mouse click finds and saves the full reference information to a local the full reference information to a local file.file.
47 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About ZoteroAbout Zotero
Provided that you have already Provided that you have already implemented the COinS microformat in implemented the COinS microformat in your your HTML HTML pagespages
48 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About COinSAbout COinS
OpenURL ContextObjects embedded in OpenURL ContextObjects embedded in the HTML “span” tagthe HTML “span” tag
It is a microformatIt is a microformatA kind ofA kind of semantic web manifestationsemantic web manifestation
49 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
COinS at NSZLCOinS at NSZL <span class="Z3988" title="ctx_ver=Z39.88-2004<span class="Z3988" title="ctx_ver=Z39.88-2004
&rft.source=OSZK&rft.source=OSZK&rft_val_fmt=info&rft_val_fmt=info::ofiofi//fmtfmt::kevkev::mtxmtx::bookbook&rft_id=http://link.oszk.hu/libriurl.php?&rft_id=http://link.oszk.hu/libriurl.php?LN=hu&DB=any&SRY=an&SRE=000000927799LN=hu&DB=any&SRY=an&SRE=000000927799&rft.genre=book&rft.genre=book&rft.aufirst=John&rft.aufirst=John&rft.aulast=Richetti&rft.aulast=Richetti&rft.isbn=0-415-00950-2&rft.isbn=0-415-00950-2&rft.title=The English novel in history, 1700-1780&rft.title=The English novel in history, 1700-1780&rft.date=1999&rft.date=1999&rft.pages=290&rft.pages=290&rft.pub=Routledge&rft.pub=Routledge&rft.place=London&rft.place=London&bici=aaaa"></span>&bici=aaaa"></span>
50 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
NSZL’s LibriVision in ZoteroNSZL’s LibriVision in ZoteroDemonstrationDemonstration
55 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About OpenSearchAbout OpenSearch
What is OpenSearchWhat is OpenSearch– Collection of technologies that allow Collection of technologies that allow
publishing of search results in a format publishing of search results in a format suitable for syndication and aggregation. suitable for syndication and aggregation.
– It is a way for websites and search engines to It is a way for websites and search engines to publish search results in a standard and publish search results in a standard and accessible format.accessible format.
Website of OpenSearchWebsite of OpenSearch– http://www.opensearch.org/http://www.opensearch.org/
56 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About OpenSearchAbout OpenSearch
ComponentsComponents– Server that publishes the search methodServer that publishes the search method• Anyone who implements OpenSearchAnyone who implements OpenSearch
– Client that reads the server dataClient that reads the server data• MS Internet ExplorerMS Internet Explorer• FirefoxFirefox
57 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About OpenSearchAbout OpenSearch
Two main featuresTwo main features– Syndicating the searchSyndicating the search– Suggesting search termsSuggesting search terms
58 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About OpenSearchAbout OpenSearch
The server side componentThe server side component– „„Link rel” Link rel”
in the head of an HTML pagein the head of an HTML page
<link rel="search" <link rel="search" href="http://lvtest.ad.oszk.hu/opensearch.xml" href="http://lvtest.ad.oszk.hu/opensearch.xml" type="application/opensearchdescription+xmltype="application/opensearchdescription+xml" title="NEKTÁR keresés" />" title="NEKTÁR keresés" />
59 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About OpenSearch at NSZLAbout OpenSearch at NSZL
The server side componentThe server side component– OpenSearch XMLOpenSearch XML
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?> <OpenSearchDescription <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">xmlns="http://a9.com/-/spec/opensearch/1.1/"><ShortName>NEKTÁR Keresés</ShortName> <ShortName>NEKTÁR Keresés</ShortName> <InputEncoding>UTF-8</InputEncoding><InputEncoding>UTF-8</InputEncoding><Url type="text/html" method="get" <Url type="text/html" method="get" template="template="http://link.oszk.hu/libriurl.php?http://link.oszk.hu/libriurl.php?LN=hu&DB=any&SRY=bk&SRE={searchTerms}LN=hu&DB=any&SRY=bk&SRE={searchTerms}" />" /></OpenSearchDescription></OpenSearchDescription>
60 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
About OpenSearch at NSZLAbout OpenSearch at NSZL
Implemented OpenSearch featuresImplemented OpenSearch features– Syndicating the searchSyndicating the search
FunctionalityFunctionality– OpenSearch access to both the Hungarian and OpenSearch access to both the Hungarian and
English pages of LibriVisionEnglish pages of LibriVision
61 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
62 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
63 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
64 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
65 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
66 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
68 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
What is a QuickSearch formWhat is a QuickSearch form
Searching in LibriVision from a specific Searching in LibriVision from a specific HTML page without logging in to HTML page without logging in to LibriVisionLibriVision
It is based on the LibriUrl serviceIt is based on the LibriUrl service– http://link.oszk.hu/libriurl.php?http://link.oszk.hu/libriurl.php?
LN=en&DB=oszk&SRY=bk&SRE=english LN=en&DB=oszk&SRY=bk&SRE=english novel in historynovel in history
69 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
74 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
What is new?What is new?
The design of the formThe design of the formWe made it easily insertable into HTML We made it easily insertable into HTML
pagespages– Libraries’ homepagesLibraries’ homepages– BlogsBlogs– Personal homepagesPersonal homepages
79 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
What is a widgetWhat is a widget
Small applications that can be inserted Small applications that can be inserted into personalised startpages like Netvibes, into personalised startpages like Netvibes, iGoogle, My Yahoo!, Microsoft Live, and iGoogle, My Yahoo!, Microsoft Live, and even into social networking siteeven into social networking sitess like like FacebookFacebook
Three „standards”Three „standards”– UWAUWA– Netvibes Netvibes – FacebookFacebook
80 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
LibriVision widgetLibriVision widget
For all three standardsFor all three standardsThe search is made via our SRU/Z39.50 The search is made via our SRU/Z39.50
gateway (yazproxy)gateway (yazproxy)The short hit list appears in the widgetThe short hit list appears in the widgetEvery line is a link to the LibriVision Every line is a link to the LibriVision
extended viewextended viewCan be made available in the startpages Can be made available in the startpages
from the NSZL websitefrom the NSZL website
81 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
88 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
What is LibriMonkeyWhat is LibriMonkey
LibriMonkey is a GreasemonkeyLibriMonkey is a GreasemonkeyGreasemonkey is a Firefox extensionGreasemonkey is a Firefox extension– Allows you to change the HTML page Allows you to change the HTML page
displayed in Firefoxdisplayed in FirefoxLibriMonkey changeLibriMonkey changess every ISBN number every ISBN number
in a page to a link to the document in in a page to a link to the document in LibriVision provided that LibriVision LibriVision provided that LibriVision contains that documentcontains that document
89 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
91 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration
92 WEB2 developments at the National Széchényi Library - Ádám Horváth - NSZL
DemonstrationDemonstration