Re: [CODE4LIB] COinS

2012-11-20 Thread Godmar Back
Could you elaborate on your belief that COinS is "actually illegal in HTML5?" Why would that be so? - Godmar On Tue, Nov 20, 2012 at 5:20 PM, Jonathan Rochkind wrote: > It _IS_ an old unused metadata format that should be replaced by something > else (among other reasons because it's actuall

Re: [CODE4LIB] COinS

2012-11-20 Thread Godmar Back
Funny this topic comes up right now. A few days ago, Wikipedia (arguably the biggest provider of COiNS) decided to discontinue it because they've discovered that generating the COinS using their decrepit infrastructure uses up so much processing power that attempts to edit pages with lots of citat

Re: [CODE4LIB] Book metadata source

2012-10-26 Thread Godmar Back
If it's only in the hundreds, why not just look them up in Worldcat via their basic search API and pull the ISBNs from the xISBN service? That's quickly scripted. - Godmar On Thu, Oct 25, 2012 at 3:05 PM, Cab Vinton wrote: > I have a list of several hundred book titles & corresponding authors,

Re: [CODE4LIB] Q: "Discovery" products and authentication (esp Summon)

2012-10-24 Thread Godmar Back
On Wed, Oct 24, 2012 at 1:54 PM, Mark Mounts wrote: > We have Summon at Dartmouth College. Authentication is IP based so with a > Dartmouth IP address the user will see all our licensed content. > > There is also the option to see all the content Summon has beyond what we > license by selecting th

Re: [CODE4LIB] Q: "Discovery" products and authentication (esp Summon)

2012-10-24 Thread Godmar Back
On Wed, Oct 24, 2012 at 12:16 PM, Jonathan Rochkind wrote: > Looking at the major 'discovery' products, Summon, Primo, EDS > > ...all three will provide some results to un-authenticated users (the > general public), but have some portions of the corpus that are restricted > and won't show up i

Re: [CODE4LIB] Q.: software for vendor title list processing

2012-10-17 Thread Godmar Back
Thanks for everyone who replied to my question. >From a brief examination, if I understand it correctly, KBART and ONIX create normative standards for how holdings data should be represented, which vendors (increasingly) follow. This leads to three follow-up questions. First, is there software t

[CODE4LIB] Q.: software for vendor title list processing

2012-10-16 Thread Godmar Back
Hi, at our library, there's an emerging need to process title lists from vendors for various purposes, such as checking that the titles purchased can be discovered via discovery system and/or OPAC. It appears that the formats in which those lists are provided are non-uniform, as is the process of

[CODE4LIB] isoncampus service

2012-06-14 Thread Godmar Back
A number of web applications, both client and server-side, could benefit if it could be easily determined if a user is on or off campus with respect to accessing resources that use IP-address based authentication. For instance, a web site could show/hide a button asking the user to "log in," or a

Re: [CODE4LIB] WebOPAC/III Z39.50 PHP Query/PHPYAZ

2012-05-10 Thread Godmar Back
Scraping III systems has got to be one of the most frequently repeated tasks in the history of coding librarianship. Majax2 ([1,2]) is one such service, though (as of right now) it doesn't support search by Call Number. Here's an example ISBN search: http://libx.lib.vt.edu/services/majax2/isbn/074

Re: [CODE4LIB] Anyone using node.js?

2012-05-09 Thread Godmar Back
On Tue, May 8, 2012 at 11:26 PM, Ed Summers wrote: > > For both these apps the socket.io library for NodeJS provided a really > nice abstraction for streaming data from the server to the client > using a variety of mechanisms: web sockets, flash socket, long > polling, JSONP polling, etc. NodeJS'

Re: [CODE4LIB] Anyone using node.js?

2012-05-08 Thread Godmar Back
On Tue, May 8, 2012 at 10:17 AM, Ethan Gruber wrote: > Thanks. I have been working on a system that allows editing of RDF in web > forms, creating linked data connections in the background, publishing to > eXist and Solr for dissemination, and will eventually integrate operation > with an RDF tr

Re: [CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-12 Thread Godmar Back
On Mon, Mar 12, 2012 at 3:38 AM, Ed Summers wrote: > On Fri, Mar 9, 2012 at 12:12 PM, Godmar Back wrote: > > Here's my hand ||*( [1]. > > ||*) > > I'm sorry that I was so unhelpful w/ the "patches welcome" message on > your docfix. You're right

Re: [CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-09 Thread Godmar Back
On Fri, Mar 9, 2012 at 11:48 AM, Jon Gorman wrote: > > Can't we all just shake hands virtually or something? > > Here's my hand ||*( [1]. I overreacted, for which I'm sorry. (Also, I didn't see the entire github conversation until I just now visited the website, the github email notification see

Re: [CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-09 Thread Godmar Back
On Fri, Mar 9, 2012 at 10:37 AM, Michael B. Klein wrote: > The internal discussion then becomes, "I have a need, and I've written > something that satisfies it. I think it could also be useful to others, but > I'm not going to have time to make major changes or implement features > others need. S

Re: [CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-09 Thread Godmar Back
On Thu, Mar 8, 2012 at 3:53 PM, Mark A. Matienzo wrote: > On Thu, Mar 8, 2012 at 3:32 PM, Godmar Back wrote: > > > One side comment here; while smart handling/automatic detection of > > encodings would be a nice feature to have, it would help if pymarc could > > oper

Re: [CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-08 Thread Godmar Back
On Thu, Mar 8, 2012 at 3:18 PM, Ed Summers wrote: > Hi Terry, > > On Thu, Mar 8, 2012 at 2:36 PM, Reese, Terry > wrote: > > This is one of the reasons you really can't trust the information found > in position 9. This is one of the reasons why when I wrote MarcEdit, I > utilize a mixed process

Re: [CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-08 Thread Godmar Back
On Thu, Mar 8, 2012 at 1:46 PM, Terray, James wrote: > Hi Godmar, > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 9: > ordinal not in range(128) > > Having seen my fair share of these kinds of encoding errors in Python, I > can speculate (without seeing the pymarc source

[CODE4LIB] Q.: MARC8 vs. MARC/Unicode and pymarc and misencoded III records

2012-03-08 Thread Godmar Back
Hi, a few days ago, I showed pymarc to a group of technical librarians to demonstrate how easily certain tasks can be scripted/automated. Unfortunately, it blew up at me when I tried to write a record: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 9: ordinal not in range(1

Re: [CODE4LIB] "Repositories", OAI-PMH and web crawling

2012-02-27 Thread Godmar Back
On Mon, Feb 27, 2012 at 8:31 AM, Diane Hillmann wrote: > On Mon, Feb 27, 2012 at 5:25 AM, Owen Stephens wrote: > > > > > This issue is certainly not unique to VT - we've come across this as part > > of our project. While the OAI-PMH record may point at the PDF, it can > also > > point to a interm

Re: [CODE4LIB] "Repositories", OAI-PMH and web crawling

2012-02-27 Thread Godmar Back
On Mon, Feb 27, 2012 at 5:25 AM, Owen Stephens wrote: > On 26 Feb 2012, at 14:42, Godmar Back wrote: > > > May I ask a side question and make a side observation regarding the > > harvesting of full text of the object to which a OAI-PMH record refers? > > > > In g

Re: [CODE4LIB] "Repositories", OAI-PMH and web crawling

2012-02-26 Thread Godmar Back
May I ask a side question and make a side observation regarding the harvesting of full text of the object to which a OAI-PMH record refers? In general, is the idea to use the /text() element, treat it as a URL, and then expect to find the object there (provided that there was a suitable and elem

Re: [CODE4LIB] Voting for c4l 2012 talks ends today

2011-12-09 Thread Godmar Back
This site shows: Ruby (Rack) application could not be started On Fri, Dec 9, 2011 at 11:50 AM, Anjanette Young wrote: > Get your votes in before 5pm (PST) > > http://vote.code4lib.org/election/21 -- You will need your > code4lib.orglogin in order to vote. If you do not have one you can > create

Re: [CODE4LIB] Sending html via ajax -vs- building html in js (was: jQuery Ajax request to update a PHP variable)

2011-12-08 Thread Godmar Back
On Thu, Dec 8, 2011 at 12:24 PM, Brian Tingle wrote: > most sense for what you are trying to do.  And for things that work that > way now, I don't see a need to rush and change it all to JSONP callbacks > because of some vague security concern. My comment wasn't security-related. Also, I wasn't t

Re: [CODE4LIB] Sending html via ajax -vs- building html in js (was: jQuery Ajax request to update a PHP variable)

2011-12-08 Thread Godmar Back
On Thu, Dec 8, 2011 at 11:14 AM, BRIAN TINGLE wrote: > returning JSONP is the the cool hipster way to go (well, not hipster cool > anymore, but the hipsters were doing it before it went mainstream), but I'm > not convinced it is inherently a problem to return HTML for use in "AJAX" > type devel

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-07 Thread Godmar Back
On Tue, Dec 6, 2011 at 3:40 PM, Doran, Michael D wrote: > > > Current trends certainly go in the opposite direction, look at jQuery > > Mobile. > > I agree that jQuery Mobile is very popular now. However, that in no way > negates the caution. One could consider it as a "tragedy of the commons"

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-06 Thread Godmar Back
On Tue, Dec 6, 2011 at 1:57 PM, Jonathan Rochkind wrote: > On 12/6/2011 1:42 PM, Godmar Back wrote: > >> Current trends certainly go in the opposite direction, look at jQuery >> Mobile. >> > > Hmm, JQuery mobile still operates on valid and functional HTML delivered

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-06 Thread Godmar Back
On Tue, Dec 6, 2011 at 11:22 AM, Doran, Michael D wrote: > > You had earlier asked the question whether to do things client or server > > side - well in this example, the correct answer is to do it client-side. > > (Yours is a read-only application, where none of the advantages of > > server-side

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-06 Thread Godmar Back
On Tue, Dec 6, 2011 at 11:18 AM, Nate Hill wrote: > I attached the app as it stands now. There's something wrong w/ the regex > matching in catscrape.php so only some of the images are coming through. > No, it's not the regexp. You're simply scraping syndetics links, without checking if syndeti

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-06 Thread Godmar Back
On Tue, Dec 6, 2011 at 8:38 AM, Erik Hatcher wrote: > I'm with jrock on this one. But maybe I'm a luddite that didn't get the > memo either (but I am credited for being one of the instrumental folks in > the Ajax world, heh - in one or more of the Ajax books out there, us old > timers called it

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-05 Thread Godmar Back
On Mon, Dec 5, 2011 at 6:45 PM, Jonathan Rochkind wrote: > I still like sending HTML back from my server. I guess I never got the > message that that was out of style, heh. > > I suppose there are always some stalwart defenders of the status quo ;-) More seriously, I think I'd like to defend my

Re: [CODE4LIB] jQuery Ajax request to update a PHP variable

2011-12-05 Thread Godmar Back
FWIW, I would not send HTML back to the client in an AJAX request - that style of AJAX fell out of favor years ago. Send back JSON instead and keep the view logic client-side. Consider using a library such as knockout.js. Instead of your current (difficult to maintain) mix of PhP and client-side J

Re: [CODE4LIB] Examples of Web Service APIs in Academic & Public Libraries

2011-10-08 Thread Godmar Back
On Sat, Oct 8, 2011 at 1:40 PM, Patrick Berry wrote: > We're (CSU, Chico) using http://code.google.com/p/googlebooks/ to provide > easy access to partial and full text books. > > Good to hear. As an aside, we wrote up some background on how to use widgets and webservices in a 2010 article publis

Re: [CODE4LIB] ny times best seller api

2011-09-29 Thread Godmar Back
On Wed, Sep 28, 2011 at 5:02 PM, Michael B. Klein wrote: > > It's not NYTimes.com's fault; it's the cross-site scripting jerks who made > the security necessary in the first place. > > NYTimes could allow JSONP, but then developers would need to embed their API key in their web pages, which means

Re: [CODE4LIB] ny times best seller api

2011-09-28 Thread Godmar Back
Are you trying to run this inside a webpage served from a domain other than nytimes.com? If so, you'd need to use JSONP, which a cursory examination of their API documentation reveals they do not support. So, you need to use a proxy. Here's one: $ cat hardcover.php http://api.nytimes.com/svc/books

Re: [CODE4LIB] internet explorer and pdf files

2011-08-31 Thread Godmar Back
On Wed, Aug 31, 2011 at 8:42 AM, Eric Lease Morgan wrote: > Eric wrote: > > > Unfortunately IE's behavior is weird. The first time someone tries to > load > > one of these URL nothing happens. When someone tries to load another one, > it > > loads just fine. When they re-try the first one, it loa

Re: [CODE4LIB] internet explorer and pdf files

2011-08-29 Thread Godmar Back
Earlier versions of IE were known to sometimes disregard the Content-Type (which you set correctly to application/pdf) and look at the suffix of the URL instead. For instance, they would render HTML if you served a .html as text/plain, etc. You may try creating URLs that end with .pdf Separately,

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Wed, Mar 2, 2011 at 11:54 AM, Demian Katz wrote: >> These are the questions I'm seeking answers to; I know that those of >> you who have coded their own Summon front-ends must have faced the >> same questions when implementing their record displays. > > Feel free to refer to VuFind's Summon tem

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Wed, Mar 2, 2011 at 11:36 AM, Walker, David wrote: > Just out of curiosity, is there a Summon (API) developer listserv?  Should > there be? Yes, there is - I'm waiting for my subscription there to be approved. Like I said at the beginning of this thread, this is only tangentially a Code4Lib

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Wed, Mar 2, 2011 at 11:12 AM, Roy Tennant wrote: > Godmar, > I'm surprised you're asking this. Most of the questions you want > answered could be answered by a basic programming construct: an > if-then-else statement and a simple decision about what you want to > use in your specific applicatio

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Tue, Mar 1, 2011 at 11:14 PM, Roy Tennant wrote: >> On Tue, Mar 1, 2011 at 2:14 PM, Godmar Back wrote: >> >>Similarly, the date associated with a record can come in a variety of >>formats. Some are single-field (20080901), some are abbreviated >>(200811), some

Re: [CODE4LIB] detecting user copying URL?

2010-12-01 Thread Godmar Back
On Thu, Dec 2, 2010 at 12:25 AM, Susan Kane wrote: > Absolutely this should be solved by the vendors / content providers but -- > just for the sake of argument -- it is a possible extension for LibX? > > You can't send a standard message everytime a user copies a URL from their > address bar -- th

Re: [CODE4LIB] C4L2011 Voting for Prepared Talks

2010-12-01 Thread Godmar Back
"through Dec 1" typically means until Dec 1, 23:59pm (in some time zone) - yet the page says voting is closed. Could this be fixed? - Godmar On Mon, Nov 29, 2010 at 5:02 PM, McDonald, Robert H. wrote: > Just a reminder that voting for prepared talks for code4lib 2011 is ongoing > and open thro

[CODE4LIB] Q: Summon API Service?

2010-10-27 Thread Godmar Back
Hi, Unlike Link/360, Serials Solution's Summon API is extremely cumbersome to use - requiring, for instance, that requests be digitally signed. (*) Has anybody developed a proxy server for Summon that makes its API public (e.g. receives requests, signs them, forwards them to Summon, and relays th

Re: [CODE4LIB] Safari extensions

2010-08-06 Thread Godmar Back
On Fri, Aug 6, 2010 at 8:19 AM, Joel Marchesoni wrote: > Honestly I try to switch to Chrome every month or so, but it just doesn't do > what Firefox does for me. I've actually been using a Firefox mod called Pale > Moon [1] that takes out some of the not so useful features for work (parental >

Re: [CODE4LIB] Safari extensions

2010-08-05 Thread Godmar Back
On Thu, Aug 5, 2010 at 4:15 PM, Raymond Yee wrote: > Has anyone given thought to how hard it would be to port Firefox extensions > such as LibX and  Zotero to Chrome or Safari?  (Am I the only one finding > Firefox to be very slow compared to Chrome?) We have ported LibX to Chrome, see http://lib

Re: [CODE4LIB] Safari extensions

2010-08-05 Thread Godmar Back
No, nothing beyond a quick read-through. The architecture is similar to Google Chrome's - which is perhaps not surprising given that both Safari and Chrome are based on WebKit - which for us at LibX means we should be able to leverage the redesign we did for LibX 2.0. A notable characteristic of

Re: [CODE4LIB] SerSol 360Link API?

2010-04-19 Thread Godmar Back
I wrote to-JSON proxy a while ago: http://libx.lib.vt.edu/services/link360/index.html I found the Link360 doesn't handle load very well. Even a small burst of requests leads to a spike in latency and error responses. I ask SS if this was a bug or part of some intentional throttling attempt, but ne

Re: [CODE4LIB] Conference followup; open position at Google Cambridge

2010-03-12 Thread Godmar Back
On Fri, Mar 12, 2010 at 4:58 PM, Emily Lynema wrote: > We'd really like to use the cover images from Google in various catalog > tools, but have noticed in the past that the only cover image info provided > in the Google Books API is for the small thumbnails. It would be nice to > also provide li

Re: [CODE4LIB] Q: XML2JSON converter

2010-03-05 Thread Godmar Back
Thanks for the Internet Archive pointer. Hadn't thought of it (probably because of a few past unsuccessful attempts to find archived pages.) Tried BadgerFish ( http://libx.lib.vt.edu/services/code4lib/lccnrelay3/2004022563 which proxies lccn.loc.gov's marcxml) and it meets the requirements of fait

Re: [CODE4LIB] Q: XML2JSON converter

2010-03-05 Thread Godmar Back
On Fri, Mar 5, 2010 at 3:59 AM, Ulrich Schaefer wrote: > Hi, > try this: http://code.google.com/p/xml2json-xslt/ > > I should have mentioned that I already tried everything I could find after googling - this stylesheet doesn't meet the requirements, not by far. It drops attributes just like simple

[CODE4LIB] Q: XML2JSON converter

2010-03-04 Thread Godmar Back
Hi, Can anybody recommend an open source XML2JSON converter in PhP or Python (or potentially other languages, including XSLT stylesheets)? Ideally, it should implement one of the common JSON conventions, such as Google's JSON convention for GData [1], but anything that preserves all elements, att

Re: [CODE4LIB] Q: what is the best open source native XML database

2010-01-19 Thread Godmar Back
On Tue, Jan 19, 2010 at 10:09 AM, Sean Hannan wrote: > I've had the best experience (query speed, primarily) with BaseX.  This was > primarily for large XML document processing, so I'm not sure how much it will > satisfy your transactional needs. > > I was initially using eXist, and then switche

[CODE4LIB] Q: what is the best open source native XML database

2010-01-16 Thread Godmar Back
Hi, we're currently looking for an XML database to store a variety of small-to-medium sized XML documents. The XML documents are unstructured in the sense that they do not follow a schema or DTD, and that their structure will be changing over time. We'll need to do efficient searching based on ele

Re: [CODE4LIB] ipsCA Certs

2010-01-04 Thread Godmar Back
Hi, in my role as unpaid tech advisor for our local library, may I ask a question about the ipsCA issue? Is my understanding correct that ipsCA currently reissues certificates [1] signed with a root CA that is not yet in Mozilla products, due to IPS's delaying the necessary vetting process [2]? I

Re: [CODE4LIB] Character problems with tictoc

2009-12-21 Thread Godmar Back
On Mon, Dec 21, 2009 at 2:09 PM, Glen Newton wrote: > > The file I got with wget is: >  http://cuvier.cisti.nrc.ca/~gnewton/tictoc.txt > (Just to convince myself I'm not going nuts...) - this file, which Glen downloaded with wget, appears double-encoded: # curl -s http://cuvier.cisti.nrc.ca/~gne

Re: [CODE4LIB] Character problems with tictoc

2009-12-21 Thread Godmar Back
I believe they've changed it while we were having the discussion. When I downloaded the file (with curl), it looked like this: 0020700 r t o p C etx B ) d i c a sp B r a 72 74 6f 70 c3 83 c2 a9 64 69 63 61 20 42 72 61 0020720 s i l e i r a ht

Re: [CODE4LIB] Character problems with tictoc

2009-12-21 Thread Godmar Back
The string in question is double-encoded, that is, a string that's in UTF-8 already was run through a UTF-8 encoder. The string is "Acta Ortopedica" where the 'e' is really '\u00e9' aka 'Latin Small Letter E with Acute'. [1] In UTF-8, the e-acute is two-byte encoded as C3 A9. If you run the byte

Re: [CODE4LIB] SerialsSolutions Javascript Question

2009-10-28 Thread Godmar Back
On Wed, Oct 28, 2009 at 9:49 PM, Michael Beccaria wrote: > 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: > > > > Annals of forest > science.  class="SS_JournalISSN">(1286-4560) > > > I want to alter the "

Re: [CODE4LIB] Setting users google scholar settings

2009-07-15 Thread Godmar Back
It used to be you could just GET the corresponding form, e.g.: http://scholar.google.com/scholar_setprefs?num=10&instq=&inst=sfx-f7e167eec5dde9063b5a8770ec3aaba7&q=einstein&inststart=0&submit=Save+Preferences - Godmar On Wed, Jul 15, 2009 at 3:17 AM, Stuart Yeates wrote: > It's possible to send

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 10:38 AM, Walker, David wrote: > > They can create .htaccess files, but don't always > > have control of the main Apache httpd.conf or the > > root directory. > > Just to be clear, I didn't mean just the root directory itself. If > .htacess lives within a sub-directory of

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 10:18 AM, Walker, David wrote: > > Is it possible to write a .htaccess file that works > > *no matter* where it is located > > I don't believe so. > > If the .htaccess file lives in a directory inside of the Apache root > directory, then you _don't_ need to specify a Rewrit

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 9:13 AM, Peter Kiraly wrote: > From: "Godmar Back" > >> is it possible to write this without hardwiring the RewriteBase in it? So >> that it can be used, for instance, in an .htaccess file from within any >> /path? >> > >

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 4:58 AM, Peter Kiraly wrote: > Hi Eric, > > try this: > > > RewriteEngine on > RewriteBase /script > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_URI} !=/favicon.ico > RewriteRule ^(.*)$ script.cgi?param1=$1 [L,QSA

Re: [CODE4LIB] How to access environment variables in XSL

2009-06-23 Thread Godmar Back
Let me repeat a small comment I already sent to Mike in private email: in a J2EE environment, information that characterizes a request (such as path, remote addr, etc.) is not accessible in environment variables or properties, unlike in a CGI environment. That means that even if you write an extens

Re: [CODE4LIB] How to access environment variables in XSL

2009-06-19 Thread Godmar Back
Running in a J2EE is somewhat different from running in a CGI environment. Specifically, variables such as REMOTE_ADDR, etc. are not stored in environment variables that are easily accessible. Assuming that your XSLT is executed for each request (which, btw, is not a given since Voyager may well b

Re: [CODE4LIB] FW: [CODE4LIB] Newbie asking for some suggestions with javascript

2009-06-15 Thread Godmar Back
On Mon, Jun 15, 2009 at 4:09 PM, Roy Tennant wrote: > It is worth following up on Xiaoming's statement of a limit of 100 uses per > day of the xISSN service with the information that exceptions to this > limite > are certainly granted. Annette probably knows that just such an exception > was gran

Re: [CODE4LIB] Newbie asking for some suggestions with javascript

2009-06-11 Thread Godmar Back
changed on disk. - Godmar On Thu, Jun 11, 2009 at 4:08 PM, Annette Bailey wrote: > Godmar Back wrote a web service in python for ticTOC with an eye to > incorporating links into III's Millennium catalog. > > http://code.google.com/p/tictoclookup/ > > http://tictoclookup.a

Re: [CODE4LIB] A Book Grab by Google

2009-05-20 Thread Godmar Back
On Wed, May 20, 2009 at 8:42 PM, Karen Coyle wrote: > > No, it's not uniquely Google, but adding another price pressure point to > libraries is still seen as detrimental. > I'm sure you saw: http://www.nytimes.com/2009/05/21/technology/companies/21google.html "The new agreement, which Google hop

Re: [CODE4LIB] web services and widgets: MAJAX 2, ticTOC lookup, Link/360 JSON, and Google Book Classes

2009-05-19 Thread Godmar Back
On Tue, May 19, 2009 at 8:26 AM, Boheemen, Peter van wrote: > Clever idea to put the TicToc stuff 'in the cloud'. How are you going to > keep it up-to-date ? By periodically reuploading the entire set (which takes about 15-20 mins), new or changed records can be updated. A changed record is one w

[CODE4LIB] web services and widgets: MAJAX 2, ticTOC lookup, Link/360 JSON, and Google Book Classes

2009-05-18 Thread Godmar Back
Hi, I would like to share a few pointers to web services and widgets Annette and I recently collaborated on. All are available under an open source license. "Widgets" are CSS-styled HTML elements ( or ) that provide dynamic behavior related to the underlying web service. These are suitable for no

Re: [CODE4LIB] Q: AtomPub (APP) server libraries for Python?

2009-01-28 Thread Godmar Back
fully broker a bunch of incoming HTTP > requests and return Atom Feeds and Service documents > > Is that right? > -Ross. > > On Wed, Jan 28, 2009 at 8:13 AM, Godmar Back wrote: >> Hi, >> >> does anybody know or can recommend any server side libraries for >>

[CODE4LIB] Q: AtomPub (APP) server libraries for Python?

2009-01-28 Thread Godmar Back
Hi, does anybody know or can recommend any server side libraries for Python that produce AtomPub (APP)? Here are the options I found, none of which appear suitable for what I'd like to do: amplee: http://mail.python.org/pipermail/python-announce-list/2008-February/006436.html django-atompub: h

Re: [CODE4LIB] COinS in OL?

2008-12-05 Thread Godmar Back
On Fri, Dec 5, 2008 at 1:14 PM, Ross Singer <[EMAIL PROTECTED]> wrote: > On Fri, Dec 5, 2008 at 10:50 AM, Godmar Back <[EMAIL PROTECTED]> wrote: > >> BTW, I don't see why screen readers would stumble over this when the >> child of the is empty. Do they try to

Re: [CODE4LIB] COinS in OL?

2008-12-05 Thread Godmar Back
On Thu, Dec 4, 2008 at 2:31 PM, Jonathan Rochkind <[EMAIL PROTECTED]> wrote: > Not that I know of. > > You can say display:none, but that'll probably hide it from LibX etc too. No, why would it. BTW, I don't see why screen readers would stumble over this when the child of the is empty. Do they t

Re: [CODE4LIB] COinS in OL?

2008-12-04 Thread Godmar Back
On Wed, Dec 3, 2008 at 9:12 PM, Ed Summers <[EMAIL PROTECTED]> wrote: > On Tue, Dec 2, 2008 at 3:11 PM, Godmar Back <[EMAIL PROTECTED]> wrote: >> COinS are still needed, in particular in situations in which multiple >> resources are displayed on a page (like, for instanc

Re: [CODE4LIB] COinS in OL?

2008-12-02 Thread Godmar Back
Having a per-page link to get an alternate representation of a resource is certainly helpful for some applications, and please do support it, but don't consider the problem solved. The primary weakness of this approach is that it works only if a page is dedicated to a single resource. COinS are s

Re: [CODE4LIB] COinS in OL?

2008-12-01 Thread Godmar Back
Correct. Right now, COinS handling in LibX 1.0 is primitive and always links to the OpenURL resolver. However, LibX 2.0 will allow customized handling so that, for instance, ISBN COinS can be treated differently than dissertation COinS or article CoinS. The framework for this is already partially

[CODE4LIB] GAE sample (was: a brief summary of the Google App Engine)

2008-07-16 Thread Godmar Back
FWIW, the sample application I built to familiarize myself with GAE is a simple REST cache. It's written in < 250 lines overall, including Python + YAML. For instance, a resource such as: http://www.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&retmode=xml&id=3966282 can be accessed via G

Re: [CODE4LIB] a brief summary of the Google App Engine

2008-07-16 Thread Godmar Back
On Wed, Jul 16, 2008 at 6:29 AM, Keith Jenkins <[EMAIL PROTECTED]> wrote: > But for anything larger, you'd probably want to figure > out a way to manually build an index within the Google datastore, or > else keep the indexing outside GAE, and just use GAE for fetching > specified records. Any ide

Re: [CODE4LIB] a brief summary of the Google App Engine

2008-07-15 Thread Godmar Back
On Tue, Jul 15, 2008 at 2:16 PM, Fernando Gomez <[EMAIL PROTECTED]> wrote: > > Any thoughts about a convenient way of storing and (more importantly) > indexing & retrieving MARC records using GAE's Bigtable? > GAE uses Django's object-relational model. You can define a Python class, inherit from d

[CODE4LIB] a brief summary of the Google App Engine

2008-07-13 Thread Godmar Back
Hi, since I brought up the issue of the Google App Engine (GAE) (or similar services, such as Amazon's EC2 "Elastic Compute Cloud"), I thought I give a brief overview of what it can and cannot do, such that we may judge its potential use for library services. GAE is a cloud infrastructure into wh

Re: [CODE4LIB] anyone know about Inera?

2008-07-12 Thread Godmar Back
Min, Eric, and others working in this domain - have you considered designing your software as a scalable web service from the get-go, using such frameworks as Google App Engine? You may be able to use Montepython for the CRF computations (http://montepython.sourceforge.net/) I know Min offers a W

Re: [CODE4LIB] use of OpenSearch response elements in libraries?

2008-06-24 Thread Godmar Back
I too find this decision intriguing, and I'm wondering about its wider implications on the use of RSS/Atom as a container format inside and outside the context of OpenSearch as it relates to library systems. I note that an OpenSearch description does not allow you to specify type of the items cont

Re: [CODE4LIB] use of OpenSearch response elements in libraries?

2008-06-24 Thread Godmar Back
OpenSearch? - Godmar On Tue, Jun 24, 2008 at 10:17 AM, Roy Tennant <[EMAIL PROTECTED]> wrote: > To be specific, currently supported record formats for an OpenSearch query > of the WorldCat API are Atom and RSS as well as the preformatted citation. > Roy > > > On 6/23/0

Re: [CODE4LIB] use of OpenSearch response elements in libraries?

2008-06-23 Thread Godmar Back
- Godmar On Tue, Jun 24, 2008 at 12:54 AM, Roy Tennant <[EMAIL PROTECTED]> wrote: > I believe WorldCat qualifies, although the API is not yet ready for general > release (but soon): > > <http://worldcat.org/devnet/index.php/SearchAPIDetails> > > Roy > > > On

[CODE4LIB] use of OpenSearch response elements in libraries?

2008-06-23 Thread Godmar Back
Hi, are there any examples of functioning OpenSearch interfaces to library catalogs or library information systems? I'm specifically interested in those that not only advertise a text/html interface to their catalog, but who include OpenSearch response elements. One example I've found is Evergree

Re: [CODE4LIB] Open Source Repositories

2008-05-16 Thread Godmar Back
Generally, you won't find a credible site that would allow you to upload unvetted binaries of adapted versions of low-volume software. The obvious risks are just too high. My recommendation would be a personal webpage, hosted on a site that's associated with a real-world institution, and a real-wo

[CODE4LIB] Q.: "deep-linking" syntax for Encore?

2008-05-14 Thread Godmar Back
Hi, may I tap the collective wisdom of this list? Is anybody using III's Encore system and happens to know if there is a deep-linking syntax, either documented or inferred, for it? Thanks. - Godmar

Re: [CODE4LIB] Latest OpenLibrary.org release

2008-05-08 Thread Godmar Back
On Thu, May 8, 2008 at 11:25 AM, Dr R. Sanderson <[EMAIL PROTECTED]> wrote: > > Like what? The current API seems to be concerned with search. Search > is what SRU does well. If it was concerned with harvest, I (and I'm > sure many others) would have instead suggested OAI-PMH. > No, the API p

Re: [CODE4LIB] google books and OCLC numbers

2008-05-08 Thread Godmar Back
Mark, I'll answer this one on list, but let's take discussion that is specifically related to GBS classes off-list since you're asking questions about this particular software --- I had sent the first email to Code4Lib because I felt that our method of integrating the Google Book viewability API i

Re: [CODE4LIB] coverage of google book viewability API

2008-05-06 Thread Godmar Back
On Tue, May 6, 2008 at 11:02 PM, Michelle Watson <[EMAIL PROTECTED]> wrote: > > Is there something in the code that prevents the link from being > offered unless it goes to at least a partial preview (which I take to > mean scanned pages), or have I just been lucky in my searching? I > can't c

Re: [CODE4LIB] coverage of google book viewability API

2008-05-06 Thread Godmar Back
On Tue, May 6, 2008 at 8:24 PM, Tim Spalding <[EMAIL PROTECTED]> wrote: > 0.2% full text? Yowch! > > Do academic libraries with full-text versions of the book on their > shelves really want to point people to no-preview pages on Google. In the example I show on the slides to which I pointed, the

Re: [CODE4LIB] coverage of google book viewability API

2008-05-06 Thread Godmar Back
ps: the distribution of the full text availability for the sample considered was as follows: No preview: 797 (93.5%) Partial preview: 53 (6.2%) Full text: 2 (0.2%) - Godmar On Tue, May 6, 2008 at 6:09 PM, Godmar Back <[EMAIL PROTECTED]> wrote: > Hi, > > to examine the usabil

Re: [CODE4LIB] google books for III millennium

2008-05-06 Thread Godmar Back
rver-side in general, but I'm still > nervous about doing this, and wish that Google would just plain say they > allow server-side calls. > > > > > > Godmar Back wrote: > > > Hi, > > > > here's a pointer to follow up on the earlier discussion on

Re: [CODE4LIB] google books for III millennium

2008-05-06 Thread Godmar Back
ogle's given reason]: It doesn't allow Google to tailor the > > results to the end-users location (determined by IP). > > > > Including an x-forwarded-for header _may_ get around #2 or #3. Including > > an x-forwarded-for header should probably be conside

[CODE4LIB] coverage of google book viewability API

2008-05-06 Thread Godmar Back
Hi, to examine the usability of Google's book viewability API when lookup is done via ISBN, we did some experiments, the results of which I'd like to share. [1] For 1000 randomly drawn ISBN from 3,192,809 ISBN extracted from a snapshot of LoC's records [2], Google Books returned results for 852 I

[CODE4LIB] google books for III millennium

2008-05-06 Thread Godmar Back
Hi, here's a pointer to follow up on the earlier discussion on how to integrate Google books viewability API into closed legacy systems that allow only limited control regarding what is being output, such as III's Millennium system. Compared to other solutions, no JavaScript programming is require

Re: [CODE4LIB] how to obtain a sampling of ISBNs

2008-04-29 Thread Godmar Back
_records_scriblio_net > > Then run a script using your favorite MARC parsing library (mine > currently is pymarc): > > from pymarc import MARCReader > > for record in MARCReader(file('part01.dat')): > if record['020'] and record['020']['

Re: [CODE4LIB] how to obtain a sampling of ISBNs

2008-04-28 Thread Godmar Back
45056 > [EMAIL PROTECTED] > 847 672-9609 > 847 894-3911 cell > > > > > -Original Message- > From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of Godmar Back > Sent: Monday, April 28, 2008 8:35 AM > To: CODE4LIB@LISTSERV.ND.EDU > Subj

[CODE4LIB] how to obtain a sampling of ISBNs

2008-04-28 Thread Godmar Back
Hi, for an investigation/study, I'm looking to obtain a representative sample set (say a few hundreds) of ISBNs. For instance, the sample could represent LoC's holdings (or some other acceptable/meaningful population in the library world). Does anybody have any pointers/ideas on how I might go ab

  1   2   >