presentation (.ppt) - start - Örebro universitet
TRANSCRIPT
Extended features in webvoyage
- forwarded searches and RSS feeds
EndUser 2006Session: 53Track: WebVoyage/Public ServicesLevel: MixedDaniel Forsman, GSLG / Kalmar consortiaOrebro University, Sweden
•Background•Web / Library 2.0•RSS – New books•Time out & Re-init search•Iframes•Forwarded Searches•Ideas & examples
Orebro University1300 staff14428 students 2002/039459 full time
University Library50 Staff2 Systems librarians3 System technicans250.000 Items220.000 BibsWindows 2K Terminal - ServerLinux clients
GSLGKalmar Voyager ConsortiaKalmar UniversityOrebro UniversityThe Stockholm Institute of Education University College of BorasVaxjo University
1997
1 mutual Systems librarian1 Database server2 Application servers
Stockholm University
National Library
Systems librarian- Problem solving- Application handling- Development- Teaching
5 Years at OrebroNo previous programming/systems backgroundSimple librarian with a interestIf I can do this, so can you!
Web / Library 2.0
Anchor the presentation in a development context More interesting than the examples
A trend of web based applications and data exchange
Pushing data in and out of our systems
uPortal, federated searches, webCT, e-content management systems …
Web 2.0The web as platform – Webservices – Trust the users
Web 1.0 Web 2.0DoubleClick Google AdSense Ofoto FlickrAkamai BitTorrentmp3.com NapsterBritannica Online Wikipediapersonal websites bloggIngevite upcoming.org and EVDBdomain name speculation search engine optimizationpage views cost per clickscreen scraping web servicesPublishing participationcontent management systems wikisdirectories (taxonomy) tagging ("folksonomy")Stickiness syndication
What Is Web 2.0 : Design Patterns and Business Models for the Next Generation of Software By Tim O´Reilly
”SQL is the new HTML”
Who owns the data
”Internet operating system”
Users are co-developers
Library 2.0
Library 2.0 is a model for library service that reflects a transition within the library world in the way that services are delivered to library users. This redirection will be especially evident in electronic offerings such as OPAC configuration, online library services, and an increased flow of information from the user back to the library.
With Library 2.0 library services are constantly updated and reevaluated to best serve library users. Library 2.0 also attempts to harness the library user in the design and implementation of library services by encouraging feedback and participation.
The concept of Library 2.0 borrows from that of Web 2.0, and follows some of the same philosophies underpinning that concept. Proponents of this concept expect that ultimately the Library 2.0 model for service will replace outdated, one-directional service offerings that have characterized libraries for centuries.
Wikipedia – Library 2.0
RSS
RSS is defined as Really Simple Syndication or Rich Site Summary.
RSS files are formed as XML files and are designed to provide content summaries of news, blogs, forums or website content.
The idea is for a feed to contain content that will be updated on a regular basis.
Sample of RSS 2.0 structure
<?xml version="1.0"?> <rss version="2.0">
<channel> <title> </title> <link><link> <description></description>
<item> <title></title> <link></link> <description> </description> </item>
</channel> </rss>
New Books – RSS FeedNew books list based on line item status – received complete
A PHP based search page for new books. Lists news according to fund structure.
Added RSS feed for each institution. Updated daily.
In Swedish …
http://bibl4.oru.se/voyager/news/nytt.html
Google Feedreaderhttps://www.google.com/reader/
CRONTABRuns daily
ORACLESupplies data for xml files
Web searches for new books
User RSS reader
Hum.xmlSample RSS
2.0 file
Createrss.phpcrontab,
generates .xml files
result.phpBrings back results for
Web searches – New books
Nytt.html
Start page for
Web searches
New books
Browser
Review of the code
http://bibl4.oru.se/voyager/voyager_php/enduser2006.html
Specific for our way of defining New books.
Need to modify for your definition!
Time out & Re-init search
When webvoyage time outs
Present a hyperlink with the last
performed search.
Lets the user know that the session timed
out
Security – Privacy
Same idea as with the forwarded searches
webvoyage
Webconerr.htm
body-tag reference to timeout.js.
User
Browser
Timeout.jsforward the URL to PHP
create IFRAME
Research.phpparse the url and present link
back to webvoyage
//Retreive and store webpage title. var TITLE = window.document.title;
//Retreive and store webpage URL var URLstr = document.URL;
//Define window titles to look for var titleToLookForList = 'Time-out!';
//if we have window title, create variable with url, replace & with |||if (TITLE==titleToLookForList) {
var IFRAMEstr='<iframe src=http://oru.sub.su.se/research.php?URL='+URLstr.replace(/ &/gi, "|||")+' frameborder=0 scrolling=no width=780 height=280></iframe>';
//Write variable containing iframe and URLdocument.write(IFRAMEstr)
}
PHP-Part
http://bibl4.oru.se/voyager/voyager_php/
Receive URL
Create link back to webvoyage in iframe
IFRAME is a HTML 4.0 Element
The IFRAME element defines an inline frame for the inclusion of external objects
An inline frame is a ”floating frame” that embeds a document into an HTML document . It is displayed inside a subwindow of the browser’s window
This does not mean full inclusion; the two documents are independent, and both of them are treated as complete documents, instead of treating one as part of the other.
Browser supportInternet Explorer version 3, Mozilla and Netscape 6 supports iframe. iCab supports it, with a user option to disable the support. WebTV Plus has iframe supportLynx 2.8.2 handles iframe in a manner similar to its treatment of normal framesOpera 4.0 supports iframe, with the option to turn the support off
<IFRAME>...</IFRAME>
Attribute SpecificationsSRC= URI (URI of frame content) NAME= CDATA (name of frame) LONGDESC= URI (link to long description) WIDTH= Length (frame width) HEIGHT= Length (frame height) ALIGN= [ top | middle | bottom | left | right ] FRAMEBORDER= [ 1 | 0 ] (frame border) MARGINWIDTH= Pixels (margin width) MARGINHEIGHT= Pixels (margin height) SCROLLING= [ yes | no | auto ] (ability to scroll)
<IFRAME SRC="recipe.html" TITLE="The Famous Recipe"><!-- Alternate content for non-supporting browsers --><H2>The Famous Recipe</H2><H3>Ingredients</H3>...</IFRAME>
Forwarded Search
Forward the search terms enteredInto webvoyage to other services / databases
URL parsing : all searchwords are in the webvoyage URL
http://oru.sub.su.se/cgi-bin/Pwebrecon.cgi?SAB1=american+democracy&BOOL1=all+of+these&FLD1=Fritext+%2F+Keyword+Anywhere+%28GKEY%29&GRP1=AND+with+next+set&SAB2=&BOOL2=all+of+these&FLD2=Fritext+%2F+Keyword+Anywhere+%28GKEY%29&PID=17050&SEQ=20060331095848&CNT=25&HIST=1
Search_arg for Simple search
Webvoyage
SAB or Search_arg
Footer.html /nohitsmsg.htm
Reference toMoresearch.js
External source
Moresearch.jsRetrieves the URL and passes it on
to a.php script in iframe
Moresearch.php
Generates the links to external source
IFRAME
Displays links to external source,
generated by PHP
Code review
http://bibl4.oru.se/voyager/voyager_php/enduser2006.html
”Federated searches” in your OPAC
Same method can be used to perform federated searches. Instead of just linking to a service you can fopen() it and screen scrape for result.
Then display a link with the search result displayed.
Works fine but you could run into Poxy problems
Voyager + External system = True?
ILL opac integrationCollects data from external ILL system (SAGA).
Uses a iframe and Voyager External authentications systemPERL
Created by Urban Andersson @ University College of Boras
uPortal xml schemaCreated to provide uPortal with patron data from Voyager
PERL and XMLCreated by Peter Kallden @ Orebro University
No public access
Other ideas
Import extra information like covers, toc:s etc
User tagging – stored in external database
Use AJAX
References
•PHP & Voyager: http://www.ub.oru.se/voyager/voyager_php/
•PHP and MySQL Web Development : Wellington & Thomson
•Libraryola - My Library 2.0 Reading List: http://www.zammarelli.com/chris/libraryola/2006/03/my-library-20-reading-list.html
•What Is Web 2.0 - Design Patterns and Business Models for the Next Generation of Software by Tim O’Reilly : http://www.oreillynet.com/pub/a/oreilly/tim/news/2005/09/30/what-is-web-20.html
•Using inline frames: http://www.cs.tut.fi/~jkorpela/html/iframe.html
•IFRAME specification : http://www.htmlhelp.com/reference/html40/special/iframe.html
•RSS specifications: http://www.rss-specifications.com/