Presentation is loading. Please wait.

Presentation is loading. Please wait.

Easy add-ons for your Aleph OPAC Mark Watmough Edinburgh Napier University.

Similar presentations


Presentation on theme: "Easy add-ons for your Aleph OPAC Mark Watmough Edinburgh Napier University."— Presentation transcript:

1 Easy add-ons for your Aleph OPAC Mark Watmough Edinburgh Napier University

2 I will demonstrate the following: Spelling suggestions –Yahoo! spelling suggestions & JavaScript/JSON New Additions feed –Aleph SDI & Yahoo! Pipes Most popular items –SQL & Yahoo! Pipes Google Books and Syndetics integration –Javascript

3 Spelling Suggestions An easy way to place spelling suggestions in Aleph OPAC. We’ve placed this on pages that are returned when 0 hits occur (find-e-head & find-b-permute- head) Yahoo spelling suggestions: An example: Search for ‘developin systmes’developin systmes Limitations – Returns are often cached and we sometimes see problems if the users clicks back button – As it’s a third party app, you’re reliant on them to keep the service up and also provide relevant returns. Full details and the code available on the El commons site at - g+Yahoo!+webservice+*JSON* g+Yahoo!+webservice+*JSON*

4 New Additions feed Create SDI on Aleph Obtain ‘rss url’ and place into Yahoo! Pipes Create 2 pipes: One which takes the doc number and requests further information via the xserver (ill-get-doc- short) Which is then feed into our second pipe...further information One handling the feed generated via SDI request in the PAC. One handling the feed We also provide book covers (where available) via syndetics in the rss feeds. We placed the new additions on Aleph (arranged as a full list and by subject) and also on our studentportal. Of course, you can also place in any rss reader, such as google reader and here on mashedlibrary Ning.full list by subjectstudentportalgoogle readermashedlibrary Ning Limitations: – Again as its a third party app, reliant on Yahoo! to keep service ‘up’.

5 Most popular Items Currently in testing! We run an sql statement (z35, z13) to search for the most loaned book items over the past 7 days, which ‘spools’ a csv file to the www_f_lng directory (sql statement is run every morning via the job_list)sql statement csv file From this we run through Yahoo! pipes and obtain the JSON output, which is then used to show the data as we require.through Yahoo! pipes we require

6 Google Books & Syndetics Wanted to integrate better. So we produced the following: When syndetic image is available, show Google link (but no Google image) when available. ExampleExample When no syndetic image exists, show Google image/link. ExampleExample When no syndetic image or Google link/image are available, show nothing. Example Example First add JavaScript to check for the existence of syndetic imageadd JavaScript Create JavaScript statement to look at the existence and the create the variable strings, which are dependant on this existence. Script linkScript link

7 Questions?

8

9

10

11

12

13 SET PAUSE OFF SET PAGESIZE 0 SET LINESIZE 200 SET HEADING OFF SET TRIMSPOOL ON SET COLSEP, SET FEEDBACK OFF Column KEY format Column Count format 99 break on report spool /exlibris/aleph/u19_2/alephe/www_f_eng/toploans.csv select z13_rec_key as "KEY", count (z13_rec_key) as "Count" from NAP01.Z13, Z35, Z103 where Z13_REC_KEY = substr (Z103_REC_KEY_1,6,9) and substr (Z103_REC_KEY_1,1,5) = 'NAP01' and substr (Z103_REC_KEY,6,9) = substr (Z35_REC_KEY,1,9) and z35_event_type in ('50') and z35_event_date BETWEEN to_char(sysdate -8,'YYYYMMDD') AND to_char(sysdate - 1,'YYYYMMDD') and Z35_ITEM_STATUS in ('07', '08') and z35_BOR_STATUS not in ('08') having count (z35_rec_key) >= '5' group by z13_rec_key order by 2,1

14

15

16

17 $0100 //Look for existence of “More? Click cover and if match is found set ‘syndet’ variable to yes var entry = '$0100'; if (entry == "More? Click cover") { var syndet = 'yes' } $0200


Download ppt "Easy add-ons for your Aleph OPAC Mark Watmough Edinburgh Napier University."

Similar presentations


Ads by Google