Re: [CODE4LIB] Copyright under free software licenses

2006-09-14 Thread Godmar Back
If you work for an employer under a contract in which all intellectual property created during employment belongs to your employer, put in your employer's name. If you retain the IP rights, put in your name. If other contribute to a file, it depends on the size of their contribution whether it

Re: [CODE4LIB] Z39.50 for III Database?

2007-05-01 Thread Godmar Back
If I may follow up on an earlier discussion [ relevant parts are included below ] regarding how to extract holdings information from III or other catalogs. I have one thing to offer and 1 thing to request. I'll start with the offering: MAJAX. MAJAX is a JavaScript library that screenscrapes III

Re: [CODE4LIB] Z39.50 for III Database?

2007-05-02 Thread Godmar Back
On 5/2/07, Rob Casson [EMAIL PROTECTED] wrote: Actually, it comes with the OPAC as far as I know. We don't have the XML server. yeah, it comes with the stock innopac; the returned xml is the same as that from the (defunct) xml server, and there are xslts that can convert it to marcxml, mods,

[CODE4LIB] libxess

2007-05-08 Thread Godmar Back
Hi, following up on our discussion about how to extract holdings information from a III catalog, and following David's generous offer to share his code, I went ahead and started a sourceforge project: libxess. libxess is intended to bridge the gap between Library 2.0 services and legacy ILS

Re: [CODE4LIB] libxess

2007-05-08 Thread Godmar Back
On 5/8/07, Karen Tschanz [EMAIL PROTECTED] wrote: Hi, Godmar: I would be interested in receiving links from libraries that has implemented this, so that I could see the results. Thanks for your help! Given that what I propose is still in the design phase/vaporware, asking for examples may be

Re: [CODE4LIB] libxess

2007-05-08 Thread Godmar Back
On 5/8/07, Adam Brin [EMAIL PROTECTED] wrote: Hi Godmar, Just FYI, David's script doesn't work with all III catalogs. Z39.50 might be a slightly better option (our's, for example, seems to produce errors from his test page). I'd be willing to work with you on it, if you're up for trying

Re: [CODE4LIB] more metadata from xISBN

2007-05-09 Thread Godmar Back
Interesting. Thom Hickey commented a while ago about LibX's use of xISBN (*): I suspect that eventually the LibX xISBN support will become both less visible and more automatic. We were indeed planning on making it more automatic. For instance, a user visiting a vendor's page such as amazon

Re: [CODE4LIB] more metadata from xISBN

2007-05-09 Thread Godmar Back
On 5/9/07, Eric Hellman [EMAIL PROTECTED] wrote: As long as LibX is free and not being used as a way to drive Amazon revenue, I don't see how it could be considered to be commercial. Probably a way to drive Amazon revenue down, considering that we offer the alternative to borrow the book

Re: [CODE4LIB] A new generation of OPAC enhancements

2007-05-14 Thread Godmar Back
Interesting. A few questions/comments. From what I can see, you will not be able to dynamically change the page's content after it has finished loading, due to the same-origin restriction. Is this correct? In other words, you'd have to pre-plan for any user interactivity and send the necessary

Re: [CODE4LIB] A new generation of OPAC enhancements

2007-05-14 Thread Godmar Back
On 5/14/07, Altay Guvench [EMAIL PROTECTED] wrote: You're right that, with Ajax, we're bound by the same-origin restriction. But we can dynamically change the page content after loading, by eschewing traditional Ajax. New content is delivered through dynamically-inserted script tags. For

Re: [CODE4LIB] Citation parsing?

2007-07-18 Thread Godmar Back
On 7/18/07, Steve Toub [EMAIL PROTECTED] wrote: Agreed that a lookup against something like Google Scholar, Web of Science, or a set of federated search targets instance may yield better results. We've discussed by haven't done any testing. Use your LibX edition, Steve. I can also send a

Re: [CODE4LIB] Citation parsing?

2007-07-18 Thread Godmar Back
On 7/18/07, Jonathan Rochkind [EMAIL PROTECTED] wrote: Nice, that might be what I need. Maybe I'll take a look at the LibX code, it's open source, right? Google Scholar has no API--you're screen scraping it? Yes and yes. - Godmar

Re: [CODE4LIB] Interesting uses of WorldCat affiliate tools and search extensions

2007-09-26 Thread Godmar Back
That's easy. Just build a LibX edition, configure Worldcat as a catalog, and hit make live. It took me all of 60 seconds to build this. It can be download from here: http://libx.org/editions/download.php?edition=6B89FDBE A version for IE can be downloaded from:

Re: [CODE4LIB] httpRequest javascript.... grrr

2007-11-29 Thread Godmar Back
You're using IE, which means you need to issue the open() before adding the onreadystatechange handler. Otherwise, open will trigger a call to your handler, and IE's implementation won't have reset the readyState to 0. In either event, you should double-check that the status of the request is 200

Re: [CODE4LIB] arg! classpaths! [resolved]

2008-01-26 Thread Godmar Back
To add a bit of experience gained from 13 years of Java programming: I strongly recommend against setting CLASSPATH in the shell. Instead, use either the -cp switch to java, as in java -cp lucene-core...jar:lucene-demo-.jar or use the env command in Unix, as in env

Re: [CODE4LIB] arg! classpaths! [resolved]

2008-01-26 Thread Godmar Back
On Jan 26, 2008 10:12 AM, Godmar Back [EMAIL PROTECTED] wrote: Note, however, that this rule does not apply to shell scripts: inside shell scripts, it's okay to export CLASSPATH because such settings will be valid only for the shell executing the script; in Unix, changes to environment

Re: [CODE4LIB] xml java package

2008-02-01 Thread Godmar Back
On Jan 27, 2008 5:40 PM, Eric Lease Morgan [EMAIL PROTECTED] wrote: What is the most respected (useful, understandable) XML Java package? In a few fits of creative rage, I have managed to write my first Java programs. I can now index plain text files with Lucene and search the index. I can

Re: [CODE4LIB] xml java package

2008-02-01 Thread Godmar Back
I haven't used Castor for mixed content, but obviously, mixed content is more difficult to map to Java types, even if you have a schema. I probably wouldn't use Castor in those situations. Otherwise, it - or a tool like it that can map schemata to Java types for automatic parsing, generation, and

Re: [CODE4LIB] many processes, one resultCode for Libraries [EMAIL PROTECTED]

2008-02-18 Thread Godmar Back
If you're doing this in Java, use the java.util.concurrent package and its Executor and Future framework, instead of using Thread.start/join, synchronized etc. directly. Get the book Concurrent Programming in Java: Design Principles and Patterns (ISBN 0-201-31009-0) written by the master himself

Re: [CODE4LIB] Free covers from Google

2008-03-17 Thread Godmar Back
FWIW, realize that this is client-side mashup. Google will see individual requests from individual IP addresses from everybody viewing your page. For each IP address from which it sees requests it'll decide whether to block or not. It'll block if it thinks you're harvesting their data. Wageningen

Re: [CODE4LIB] Free covers from Google

2008-03-17 Thread Godmar Back
Although I completely agree that server-side queryability is something we should ask from Google, I'd like to follow up on: On Mon, Mar 17, 2008 at 11:06 AM, Jonathan Rochkind [EMAIL PROTECTED] wrote: The architecture of SFX would make it hard to implement Google Books API access as purely

Re: [CODE4LIB] Free covers from Google

2008-03-17 Thread Godmar Back
On Mon, Mar 17, 2008 at 11:13 AM, Tim Spalding [EMAIL PROTECTED] wrote: limits. I don't think it's a strict hits-per-day, I think it's heuristic software meant to stop exactly what we'd be trying to do, server-side machine-based access. Aren't we still talking about covers? I see

Re: [CODE4LIB] jquery plugin to grab book covers from Google and link to Google books

2008-03-17 Thread Godmar Back
Good, but why limit it to 1 class per span? My proposal separates different functionality in multiple classes, allowing the user to mix and match. If you limit yourself to 1 class, you have to provide classes for all possible combinations a user might want, such as:

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-20 Thread Godmar Back
that, but the support for window.onload does not exist in IE6. I also tried the defer=defer attribute in the script tag, which did not work either. Tim's solution looks good. I have yet to try it though. ( will wait until after Easter). Cheers, David On 20/03/2008, Godmar Back [EMAIL

Re: [CODE4LIB] Google Book Search API - JavaScript Query

2008-03-26 Thread Godmar Back
On Thu, Mar 20, 2008 at 12:44 PM, KREYCHE, MICHAEL [EMAIL PROTECTED] wrote: -Original Message- From: Code for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of Godmar Back Sent: Thursday, March 20, 2008 10:45 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: Re: [CODE4LIB] Google

Re: [CODE4LIB] Serials Solutions 360 API - PHP classes?

2008-04-03 Thread Godmar Back
Could you share, briefly, what this API actually does (if doing so doesn't violate your NDA?) - Godmar On Thu, Apr 3, 2008 at 1:40 PM, Yitzchak Schaffer [EMAIL PROTECTED] wrote: From: Code for Libraries on behalf of Yitzchak Schaffer Sent: Wed 4/2/2008 12:28 PM To:

[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

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

2008-04-28 Thread Godmar Back
for Libraries [mailto:[EMAIL PROTECTED] On Behalf Of Godmar Back Sent: Monday, April 28, 2008 8:35 AM To: CODE4LIB@LISTSERV.ND.EDU Subject: [CODE4LIB] how to obtain a sampling of ISBNs Hi, for an investigation/study, I'm looking to obtain a representative sample set (say a few hundreds) of ISBNs

[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

[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

Re: [CODE4LIB] google books for III millennium

2008-05-06 Thread Godmar Back
they allow server-side calls. Godmar Back wrote: 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

Re: [CODE4LIB] google books for III millennium

2008-05-06 Thread Godmar Back
around #2 or #3. Including an x-forwarded-for header should probably be considered a best practice when doing this sort of thing server-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

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 comment

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

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

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

2008-06-23 Thread Godmar Back
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 6/23/08 6/23/08 € 8:55 PM, Godmar Back [EMAIL PROTECTED] wrote

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

2008-06-24 Thread Godmar Back
? - 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/08 6/23/08 • 10:18 PM, Godmar Back [EMAIL

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

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

[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

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

[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=pubmedretmode=xmlid=3966282 can be accessed via GAE

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

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

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 instance, in the search results pages

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 span is empty. Do they

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 span is empty. Do they try to read empty text? And if a COinS

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

2009-01-28 Thread Godmar Back
Is that right? -Ross. On Wed, Jan 28, 2009 at 8:13 AM, Godmar Back god...@gmail.com wrote: 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

[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 (span or div) that provide dynamic behavior related to the underlying web service. These are suitable

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 peter.vanbohee...@wur.nl 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

Re: [CODE4LIB] A Book Grab by Google

2009-05-20 Thread Godmar Back
On Wed, May 20, 2009 at 8:42 PM, Karen Coyle li...@kcoyle.net 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,

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 afbai...@vt.edu 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.appspot.com

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 tenna...@oclc.org 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

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

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

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 4:58 AM, Peter Kiraly pkir...@tesuji.eu wrote: Hi Eric, try this: IfModule mod_rewrite.c RewriteEngine on RewriteBase /script RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 9:13 AM, Peter Kiraly pkir...@tesuji.eu wrote: From: Godmar Back god...@gmail.com 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? Yes, you can put

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 10:18 AM, Walker, David dwal...@calstate.edu 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

Re: [CODE4LIB] tricky mod_rewrite

2009-07-01 Thread Godmar Back
On Wed, Jul 1, 2009 at 10:38 AM, Walker, David dwal...@calstate.edu 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

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=10instq=inst=sfx-f7e167eec5dde9063b5a8770ec3aaba7q=einsteininststart=0submit=Save+Preferences - Godmar On Wed, Jul 15, 2009 at 3:17 AM, Stuart Yeatesstuart.yea...@vuw.ac.nz wrote:

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 --

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 bytes

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
On Mon, Dec 21, 2009 at 2:09 PM, Glen Newton glen.new...@nrc-cnrc.gc.ca 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

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]?

[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

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 shan...@jhu.edu 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

[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,

Re: [CODE4LIB] Q: XML2JSON converter

2010-03-05 Thread Godmar Back
On Fri, Mar 5, 2010 at 3:59 AM, Ulrich Schaefer ulrich.schae...@dfki.dewrote: 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

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

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] Safari extensions

2010-08-05 Thread Godmar Back
On Thu, Aug 5, 2010 at 4:15 PM, Raymond Yee y...@berkeley.edu 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,

Re: [CODE4LIB] Safari extensions

2010-08-06 Thread Godmar Back
On Fri, Aug 6, 2010 at 8:19 AM, Joel Marchesoni jma...@email.wcu.edu 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

[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

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. rhmcd...@indiana.eduwrote: Just a reminder that voting for prepared talks for code4lib 2011 is

Re: [CODE4LIB] detecting user copying URL?

2010-12-01 Thread Godmar Back
On Thu, Dec 2, 2010 at 12:25 AM, Susan Kane adarconsult...@gmail.comwrote: 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

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Tue, Mar 1, 2011 at 11:14 PM, Roy Tennant roytenn...@gmail.com wrote: On Tue, Mar 1, 2011 at 2:14 PM, Godmar Back god...@gmail.com 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] dealing with Summon

2011-03-02 Thread Godmar Back
On Wed, Mar 2, 2011 at 11:12 AM, Roy Tennant roytenn...@gmail.com 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

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Wed, Mar 2, 2011 at 11:36 AM, Walker, David dwal...@calstate.edu 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

Re: [CODE4LIB] dealing with Summon

2011-03-02 Thread Godmar Back
On Wed, Mar 2, 2011 at 11:54 AM, Demian Katz demian.k...@villanova.edu 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

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

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 emor...@nd.edu 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,

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 ? $cb = @$_GET['callback'];

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 mbkl...@gmail.com 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

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 pbe...@gmail.com 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

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

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 rochk...@jhu.edu 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

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 erikhatc...@mac.com 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

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 nathanielh...@gmail.com 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,

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 do...@uta.edu 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

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 rochk...@jhu.edu 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 by the server. In fact

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 do...@uta.edu 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

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 youn...@u.washington.eduwrote: 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

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 dc:source/text() element, treat it as a URL, and then expect to find the object there (provided that there was a suitable

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 o...@ostephens.com 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 general, is the idea

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 metadata.ma...@gmail.comwrote: On Mon, Feb 27, 2012 at 5:25 AM, Owen Stephens o...@ostephens.com 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,

[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

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 james.ter...@yale.edu 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

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 e...@pobox.com wrote: Hi Terry, On Thu, Mar 8, 2012 at 2:36 PM, Reese, Terry terry.re...@oregonstate.edu 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

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 mbkl...@gmail.com 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

  1   2   >