[CODE4LIB] SerialsSolutions Javascript Question

2009-10-28 Thread Michael Beccaria
I was intrigued by someone who posted to the Worldcat Developers Network
forum. They were asking about the xISSN service and having it return
whether an ISSN is peer reviewed or not. Which got me thinking...Has
anyone been able to finagle a feature into their SerialsSolutions A-Z
list where it shows peer reviewed status for the titles that are
returned using a WC service? SS has limited editing capabilities on
their page so the javascript question is this:

Is it possible when being able to edit ONLY the header to alter span
tags of a loaded web page using javascript? Can I insert some javascript
in those sections that will scrape the ISSN number from these span tags
and add some dynamic content from a web service using javascript alone?

I'm not very proficient at javascript so be gentle.

Mike Beccaria
Systems Librarian
Head of Digital Initiatives
Paul Smith's College
518.327.6376


Re: [CODE4LIB] SerialsSolutions Javascript Question

2009-10-28 Thread Michael Beccaria
I should clarify. The most granular piece of information in the html is
a class attribute (i.e. there is no id). Here is a snippet:

div class=SS_Holding style=background-color: #CECECE
!-- Journal Information --
span class=SS_JournalTitlestrongAnnals of forest
science./strong/spannbsp;span
class=SS_JournalISSN(1286-4560)/span


I want to alter the span class=SS_JournalISSN(1286-4560)/span
section. Maybe add some html after the issn that tells whether it is
peer reviewed or not.

Mike Beccaria
Systems Librarian
Head of Digital Initiatives
Paul Smith's College
518.327.6376


-Original Message-
From: Code for Libraries [mailto:code4...@listserv.nd.edu] On Behalf Of
Michael Beccaria
Sent: Wednesday, October 28, 2009 9:13 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: [CODE4LIB] SerialsSolutions Javascript Question

I was intrigued by someone who posted to the Worldcat Developers Network
forum. They were asking about the xISSN service and having it return
whether an ISSN is peer reviewed or not. Which got me thinking...Has
anyone been able to finagle a feature into their SerialsSolutions A-Z
list where it shows peer reviewed status for the titles that are
returned using a WC service? SS has limited editing capabilities on
their page so the javascript question is this:

Is it possible when being able to edit ONLY the header to alter span
tags of a loaded web page using javascript? Can I insert some javascript
in those sections that will scrape the ISSN number from these span tags
and add some dynamic content from a web service using javascript alone?

I'm not very proficient at javascript so be gentle.

Mike Beccaria
Systems Librarian
Head of Digital Initiatives
Paul Smith's College
518.327.6376


Re: [CODE4LIB] SerialsSolutions Javascript Question

2009-10-28 Thread Godmar Back
On Wed, Oct 28, 2009 at 9:49 PM, Michael Beccaria
mbecca...@paulsmiths.eduwrote:

 I should clarify. The most granular piece of information in the html is
 a class attribute (i.e. there is no id). Here is a snippet:

 div class=SS_Holding style=background-color: #CECECE
 !-- Journal Information --
 span class=SS_JournalTitlestrongAnnals of forest
 science./strong/spannbsp;span
 class=SS_JournalISSN(1286-4560)/span


 I want to alter the span class=SS_JournalISSN(1286-4560)/span
 section. Maybe add some html after the issn that tells whether it is
 peer reviewed or not.


Yes - you'd write code similar to this one:

$(document).ready(function () {
   $(SS_JournalISSN).each(function () {
   var issn = $(this).text().replace(/[^\dxX]/g, );
   var self = this;
   $.getJSON(http: xissn.oclc.issn= + issn +
format=jsoncallback=., function (data) {
 $(self).append(  data ... [ 'is peer reviewed' ] );
   });
   });
});

 - Godmar


Re: [CODE4LIB] Library Linked Data

2009-10-28 Thread Roy Tennant
David,
Could you elaborate a bit? In my mind, the only semantic web technology of
any note is linked data. How that fits into library search is anyone's
guess, and I'm wondering what, specifically, you're referring to when you
say that Talis is active in this area.

If you are asking about library linked data, then there are several
examples, most notably the Library of Congress[1], the Swedish Union
Catalogue [2], and OCLC[3][4]. I believe that a minimum both the Library of
Congress and OCLC plan on releasing more linked data sets.

So can you elaborate a bit more on what, exactly, you're seeking? Thanks,
Roy 

[1] http://id.loc.gov/authorities/
[2] http://article.gmane.org/gmane.culture.libraries.ngc4lib/4617
[3] http://dewey.info/
[4] http://outgoing.typepad.com/outgoing/2009/09/viaf-as-linked-data.html


On 10/28/09 10/28/09 € 7:31 PM, David Kane dk...@wit.ie wrote:

 Hi Folks,
 
 I was wondering if anyone was aware of semantic web technologies being
 used in the context of libraries and library search?
 
 I know that Talis are active in this area.  Does anyone have links to
 any specific resources or projects that they know of in this area?
 
 Thanks,
 
 David.
 


Re: [CODE4LIB] Library Linked Data

2009-10-28 Thread Alexander Johannesen
Hiya,

On Thu, Oct 29, 2009 at 15:16, Roy Tennant tenna...@oclc.org wrote:
 Could you elaborate a bit? In my mind, the only semantic web technology of
 any note is linked data.

What do you mean by linked data? I work in fields of semantic web
technology where there's very little linked data (ie. data on the web
you can link to and use), yet I feel all our work is very valuable and
certainly worthy of note ...


Regards,

Alex
-- 
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
--- http://shelter.nu/blog/ --
-- http://www.google.com/profiles/alexander.johannesen ---


Re: [CODE4LIB] Library Linked Data

2009-10-28 Thread stuart yeates

Alexander Johannesen wrote:

Hiya,

On Thu, Oct 29, 2009 at 15:16, Roy Tennant tenna...@oclc.org wrote:

Could you elaborate a bit? In my mind, the only semantic web technology of
any note is linked data.


What do you mean by linked data? I work in fields of semantic web
technology where there's very little linked data (ie. data on the web
you can link to and use), yet I feel all our work is very valuable and
certainly worthy of note ...


I'm guessing that Roy meant linked data in the sense of 
http://www.w3.org/DesignIssues/LinkedData.html and http://linkeddata.org/


The classic linkeddata.org diagram includes PubMed, Project Gutenberg, 
PubChem, several forks(?) of DBLP and eprints, all of which I recognise 
as library-related (or at least collections-of-bibliographic-content 
related, depending on where one draws lines).


cheers
stuart
--
Stuart Yeates
http://www.nzetc.org/   New Zealand Electronic Text Centre
http://researcharchive.vuw.ac.nz/ Institutional Repository


Re: [CODE4LIB] Library Linked Data

2009-10-28 Thread Alexander Johannesen
Hiya,

On Thu, Oct 29, 2009 at 16:19, stuart yeates stuart.yea...@vuw.ac.nz wrote:
 I'm guessing that Roy meant linked data in the sense of
 http://www.w3.org/DesignIssues/LinkedData.html and http://linkeddata.org/

I'm pretty sure he did, too. I guess I was trying to smoke out his
reasoning for choosing linked data as the only worthwhile semantic
web technology. Let me clarify, and have a look at this ;

   http://en.wikipedia.org/wiki/Semantic_Web_Stack

Linked data is the bottom four boxes out of a total of 12 (13 if you
count the top one), where the ones missing is things like Trust,
Proof, Logic, Querying, Ontologies and Taxonomies, all things that I
thought it was evident belonged at the core of what library science is
all about. It simply astounds me the lack of understanding from the
library world on these things, so sad to see that these things aren't
linked up; you *are* what these things are about! Sure, linked data is
easier; that's why everyone is doing it, have been doing it for years.
But you're missing out in fields that should be second-nature to you.


Regards,

Alex
-- 
 Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps
--- http://shelter.nu/blog/ --
-- http://www.google.com/profiles/alexander.johannesen ---