Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Eric Hellman
For example, if you don't want to rely on dx.doi.org as your gateway to the handle system for doi resolution, it would be quite easy for me to deploy my own gateway at dx.hellman.net. I might want to do this if a were an organization paranoid about security and didn't want to disclose to

[CODE4LIB] calling another webpage within CGI script

2009-11-23 Thread Ken Irwin
Hi all, I'm moving to a new web server and struggling to get it configured properly. The problem of the moment: having a Perl CGI script call another web page in the background and make decisions based on its content. On the old server I used an antique Perl script called hcat (from the

Re: [CODE4LIB] calling another webpage within CGI script

2009-11-23 Thread Vishwam Annam
Ken, The difference is when you run through command script you are executing the file as /owner/ and as /Other/ when you access it through the browser. Looking at the error message you sent, I believe it might not be executing the complete script. Try setting permissions as 707 or 777 to

Re: [CODE4LIB] calling another webpage within CGI script

2009-11-23 Thread Matt Jones
Hi Ken, This may be obvious, but when running from the command line, stdout and stderr are often interleaved together, but on the web server you see stdout in the browser and stderr in the web server error log. Your script is probably exiting with an error either at the 'get' line (line 6) or at

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Ross Singer
On Mon, Nov 23, 2009 at 1:07 PM, Eric Hellman e...@hellman.net wrote: Does this answer your question, Ross? Yes, sort of. My question was not so much if you can resolve handles via bindings other than HTTP (since that's one of the selling points of handles) as it was do people actually use

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Roy Tennant
But minting DOIs requires a Registration Agency which as far as I understand it, requires $1,000 and approval from the International DOI Federation.[1] Roy [1] http://www.doi.org/handbook_2000/governance.html#7.2.2 On 11/23/09 11/23/09 € 10:07 AM, Eric Hellman e...@hellman.net wrote: For

Re: [CODE4LIB] calling another webpage within CGI script

2009-11-23 Thread Roy Tennant
Ken, I tested your script on my server and it also worked for me on the command line and failed via my web server. All I did was add /usr to your path to perl and it worked: #!/usr/bin/perl Roy On 11/23/09 11/23/09 € 8:17 AM, Ken Irwin kir...@wittenberg.edu wrote: Hi all, I'm moving to a

Re: [CODE4LIB] calling another webpage within CGI script

2009-11-23 Thread Joe Hourcle
On Mon, 23 Nov 2009, Ken Irwin wrote: Hi all, I'm moving to a new web server and struggling to get it configured properly. The problem of the moment: having a Perl CGI script call another web page in the background and make decisions based on its content. On the old server I used an antique

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread MJ Suhonos
Hi all, couldn't resist jumping in on this one: But appears that the handle system is quite a bit more fleshed out than a simple purl server, it's a distributed protocol-independent network. The protocol-independent part may or may not be useful, but it certainly seems like it could be,

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Ross Singer
On Mon, Nov 23, 2009 at 2:52 PM, Jonathan Rochkind rochk...@jhu.edu wrote: Well, here's the trick about handles, as I understand it.  A handle, for instance, a DOI, is 10.1074/jbc.M004545200. Well, actually, it could be: 10.1074/jbc.M004545200 doi:10.1074/jbc.M004545200

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Jonathan Rochkind
The actual handle is 10.1074/jbc.M004545200 . If your software wants to get a handle to give it to any handle resolver of it's choice, it's going to have to parse the doi: or info: versions to get the handle out first. The info version is a URI that has a DOI handle embedded in it. The doi

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Tom Keays
Interesting stuff. I never really thought about it before that DOIs can be served up by the Handle server. E.G., http://dx.doi.org/10.1074/jbc.M004545200 = http://hdl.handle.net/10.1074/jbc.M004545200 But, even more surprising to me was realizing that Handles can be resolved by the DOI server.

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Ben O'Steen
What happens if the main doi resolver goes down? I'd be interested to see how well a local resolver works when blocked from this upstream server. Are there any other upstream servers? Ben On Nov 23, 2009 10:10 PM, Tom Keays tomke...@gmail.com wrote: Interesting stuff. I never really thought

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Jonathan Rochkind
What do you mean by a local resolver? If you're talking about a local handle resolver adhering to the handle spec... well, then it depends on the handle spec I guess, which I don't know. But since all the handle documetnation keeps saying like DNS, then I'd imagine it has similar (or better)

Re: [CODE4LIB] Assigning DOI for local content

2009-11-23 Thread Jonathan Rochkind
More info here too: http://www.handle.net/introduction.html This handle stuff is interesting, but I don't entirely understand it. I guess if the Global Handle Service really went down, it would be similar to a root-level DNS server going down -- you'd be in trouble, somewhat mitigated by

Re: [CODE4LIB] Web analytics for POST data

2009-11-23 Thread Yitzchak Schaffer
Alejandro Garza Gonzalez wrote: 1) You *can* use GA and some Javascript embedded in your III pages to log events (as they´re called in GA lingo). The javascript (depending on your coding wizardry level) could track anything from hovers over elements, form submission, next page events, etc.