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

2012-10-16 Thread Tom Pasley
You might also be interested in the work at http://www.kbplus.ac.uk . The
site is up at the moment, but I can't reach it for some reason... they have
a public export page which you might want to know about
http://www.kbplus.ac.uk/kbplus/publicExport

Tom

On Wed, Oct 17, 2012 at 8:12 AM, Jonathan Rochkind  wrote:

> I think KBART is such an effort.  As with most library standards groups,
> there may not be online documentation of their most recent efforts or
> successes, but: http://www.uksg.org/kbart
>
> http://www.uksg.org/kbart/s5/**guidelines/data_format
>
>
>
> On 10/16/2012 2:16 PM, Godmar Back wrote:
>
>> 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 obtaining them.
>>
>> For example, one vendor - let's call them "Expedition Scrolls" - provides
>> title lists for download to Excel, but which upon closer inspection turn
>> out to be HTML tables. They are encoded using an odd mixture of CP1250 and
>> HTML entities. Other vendors use entirely different formats.
>>
>> My question is whether there are efforts, software, or anything related to
>> streamlining the acquisition and processing of vendor title lists in
>> software systems that aid in the collection development and maintenance
>> process. Any pointers would be appreciated.
>>
>>   - Godmar
>>
>>
>>


Re: [CODE4LIB] U of Baltimore, Final Usability Report, link resolvers -- MIA?

2012-09-04 Thread Tom Pasley
Yes, I'm curious to know too! Due to database/resource matching or coverage
perhaps (anyone's guess).

Tom

On Wed, Sep 5, 2012 at 7:50 AM, karim boughida  wrote:

> Hi All,
> Initially EDS, Primo, Summon, and Encore were considered but only
> Encore and Summon were tested. Do we know why?
>
> Thanks
> Karim Boughida
>
>
> On Tue, Sep 4, 2012 at 10:44 AM, Jonathan Rochkind 
> wrote:
> > Hi helpful code4lib community, at one point there was a report online at:
> >
> >
> http://student-iat.ubalt.edu/students/kerber_n/idia642/Final_Usability_Report.pdf
> >
> > David Walker tells me the report at that location included findings about
> > SFX and/or other link resolvers.
> >
> > I'm really interested in reading it. But it's gone from that location,
> and
> > I'm not sure if it's somewhere else (I don't have a title/author to
> search
> > for other than that URL, which is not in google cache or internet
> archive).
> >
> > Is anyone reading this familiar with the report? Perhaps one of the
> authors
> > is reading this, or someone reading it knows one of the authors and can
> be
> > put me in touch?  Or knows someone likely in the relevant dept at ubalt
> and
> > can be put me in touch? Or has any other information about this report or
> > ways to get it?
> >
> > Thanks!
> >
> > Jonathan
>
>
>
> --
> Karim B Boughida
> kbough...@gmail.com
> kbough...@library.gwu.edu
>


Re: [CODE4LIB] free source for issn->periodical-type data?

2012-04-16 Thread Tom Pasley
Hi Ken,

Actually, I'm not sure this will answer all of your needs - although it
does cover peer-review:

Metadata fields for an ISSN

A number of metadata fields can be associated with an ISSN number:

   - form: Each ISSN has a production form, indicated by an ONIX production
   form code . Current supported
   values include: JB ( Printed serial ), JC ( Serial distributed
   electronically by carrier ) ,JD ( Electronic serial distributed online ),
   MA ( Microform )
   - oclcnum: Oclcnum
   - peerreview: Peerreview, 'Y' if the ISSN is peer-reviewed, 'N' if the
   ISSN is not peer-reviewed.
   - publisher: Publisher
   - rawcoverage: Human-readable Coverage
   - title: Title
   - issnl: Linking ISSN, as defined
here
   - rssurl: Journal feed URL, data obtained from
ticTOCS

T.

On Tue, Apr 17, 2012 at 1:33 AM, Ken Irwin  wrote:

> Hi folks,
>
> Does anyone know of a free data source that correlates ISSNs with data
> that includes "what kind of publication is this?" e.g.
>
> *Academic journal (+/- peer review?)
>
> *Popular magazine
>
> *Newspaper
>
> *Trade journal
>
> *Etc
>
> Obviously, there's some wiggle room in these designations, and I don't
> need a super-solid answer.
>
> I've been asked to supply information about our academic journal
> collection, and I don't have a particularly good way of differentiating
> between our e-journals and e-magazines, for instance. Individual suppliers
> might make these distinctions, but I'm really hoping that a query-able (or,
> better: downloadable) file exists.
>
> Any ideas?
>
> Thanks
> Ken
>


Re: [CODE4LIB] free source for issn->periodical-type data?

2012-04-16 Thread Tom Pasley
Hi Ken,

A source that readily comes to mind is OCLC webservices, specifically
xISSN, which includes 742,395
ISSNs
.

http://www.oclc.org/xissn/default.htm

It's be free for up to 1000 requests per day without subscription; and for *
fee* after that.

cheers,

Tom

On Tue, Apr 17, 2012 at 1:33 AM, Ken Irwin  wrote:

> Hi folks,
>
> Does anyone know of a free data source that correlates ISSNs with data
> that includes "what kind of publication is this?" e.g.
>
> *Academic journal (+/- peer review?)
>
> *Popular magazine
>
> *Newspaper
>
> *Trade journal
>
> *Etc
>
> Obviously, there's some wiggle room in these designations, and I don't
> need a super-solid answer.
>
> I've been asked to supply information about our academic journal
> collection, and I don't have a particularly good way of differentiating
> between our e-journals and e-magazines, for instance. Individual suppliers
> might make these distinctions, but I'm really hoping that a query-able (or,
> better: downloadable) file exists.
>
> Any ideas?
>
> Thanks
> Ken
>


Re: [CODE4LIB] barcode scanner with memory

2012-01-30 Thread Tom Pasley
The other approach is to use a phone with bluetooth, if you have/know
someone who has a bluetooth scanner. I haven't tried this myself, but
noticed yesterday when my phone was on, that it offered to pair with a
scanner. If you have something like Thinkfree Office or even a text
document, it should scan into it.

I'm going to give it a go today, and will report how I get on...

Tom


On Tue, Jan 31, 2012 at 8:25 AM, Adam Wead  wrote:

> huh.  neat idea.  certainly beats paying hundreds of dollars for some
> other scanner.
>
> On Jan 30, 2012, at 2:15 PM, Michael B. Klein wrote:
>
> > I think Kyle's point was that you could use a hardware keylogger
> *without*
> > the computer behind it. Just have it "snoop" on your barcode scanner and
> > then download the data from it daily. You'd still need to feed it USB
> > power, but that's not hard.
> >
> > On Mon, Jan 30, 2012 at 11:06 AM, Nate Vack  wrote:
> >
> >> On Mon, Jan 30, 2012 at 1:03 PM, Kyle Banerjee 
> >> wrote:
> >>> Since a barcode scanner is just a keyboard wedge, a hardware keylogger
> >>> would work well for this purpose. It'll cost you less than $50
> >>
> >> It'll only work well if you don't mind your scanner spamming
> >> keypresses to the rest of your apps all day.
> >>
> >> -n
> >>
>
> [http://donations.rockhall.com/Logo_WWR.gif]<
> http://rockhall.com/exhibits/women-who-rock/>
> This communication is a confidential and proprietary business
> communication. It is intended solely for the use of the designated
> recipient(s). If this communication is received in error, please contact
> the sender and delete this communication.
>
> '
>


Re: [CODE4LIB] ISBN Regular Expression

2011-10-24 Thread Tom Pasley
If you're looking for PHP code, then I've done some work for a long-dormant
project:

http://code.google.com/p/txtckr/source/browse/trunk/mvc/components/identifiers

HTH,

Tom

On Sat, Oct 22, 2011 at 6:44 AM, Kozlowski,Brendon wrote:

> Hi all.
>
>
>
> I'm somewhat surprised that I've never had to validate an ISBN manually up
> until now. I suppose that's a testiment to all of the software out there.
>
>
>
> However, I now find that I need to validate both the 10-digit and 13-digit
> ISBNs. I realize there's also a check digit and a REGEX cannot check this
> value - one step at a time. Right now I just want to work on the REGEX.
>
>
>
> Does anyone know the exact specifications of both forms of an ISBN? The
> ISBN organization's website didn't seem to be overly clear to me.
> Alternatively, if anyone has a full working regular expression for this
> purpose I would definitely not mind if they'd be willing to share.
>
>
>
> The only thing I'm doing which is abnormal is that I am not requiring the
> hyphenation or spaces between numbers since some of this data will be coming
> from a system, and some will be coming from human input.
>
>
>
>
> Brendon Kozlowski
> Web Administrator
> Saratoga Springs Public Library
> 49 Henry Street
> Saratoga Springs, NY, 12866
> [518] 584-7860 x217
>
> Please consider the environment before printing this message.
>
> To report this message as spam, offensive, or if you feel you have received
> this in error,
> please send e-mail to ab...@sals.edu including the entire contents and
> subject of the message.
> It will be reviewed by staff and acted upon appropriately.
>


Re: [CODE4LIB] PastPerfect->MARC

2011-06-12 Thread Tom Pasley
Hi David,

How about exporting it as/to XML?

I've used XSLT to transform some XML data from an Access database to data
compliant MaRC (it's not a proper cataloguing record, but good enough for
our needs). If it's in a delimited format, then it should be possible to do
something - it's a matter of mapping the fields to fields for a MaRC like
record.

If you can get it into MaRCXML, then use the wonderul MaRCedit to convert to
MaRC in UTF8 or whatever.

Just a thought.

Tom

On Sat, Jun 11, 2011 at 2:24 AM, Dwiggins David <
ddwigg...@historicnewengland.org> wrote:

> Has anyone had any experience mapping book data from PastPerfect 4 into
> MARC format for import to a library system? We have about 550 book records
> from an old version of PastPerfect that we are no longer using, and want to
> import them into our MARC-based library database.
>
> It appears that the vendor used to have an add-on called ezMARC that would
> do this, but they are no longer making it in version 5, and I'm not sure if
> it might still be available for version 4. I also don't know how effective
> it is -- would like to have a testimonial from someone before we spend money
> to buy add ons to a product we're no longer using!
>
> I have all the data and could obviously map it manually. But I would
> obviously prefer to have a ready-made filter as a starting point.
>
> Ideas?
>
> -David
>
>
> __
>
> David Dwiggins
> Systems Librarian/Archivist, Historic New England
> 141 Cambridge Street, Boston, MA 02114
> (617) 994-5948
> ddwigg...@historicnewengland.org
> http://www.historicnewengland.org
>


Re: [CODE4LIB] php_yaz on windows/apache

2010-12-12 Thread Tom Pasley
Hi David,

Same here - though I think Yaz was quite picky about which version of
Php - I found that this version:

http://museum.php.net/php5/php-5.2.3-Win32.zip

- works with Yaz.

Additionally, here's something I bookmarked (in French, but you get the idea):

Solution:
Il faut t?l?charger le fichier
http://ftp.indexdata.dk/pub/phpyaz/win32/php-5.2.3/1.0.11/php_yaz.dll
? copier (en rempla?ant) dans EasyPHP\php5\ext

Au (re)d?marrage de Apache, il va vous manquer 3 DLL, il faut
t?l?charger et installer :

http://ftp.indexdata.dk/pub/yaz/win32/yaz_3.0.6.exe

qui contient les fichiers DLL n?cessaires:

yaz3.dll, libxslt.dll, libxml2.dll
? copier dans EasyPHP\php5

So, yeah, go to IndexData, install Yaz, and copy the DLL files as indicated.

Let me know how you get on - I think I've still got PHP5 installed on
my Windows XP machine at home.

cheers,

Tom


On Mon, Dec 13, 2010 at 2:15 AM, Stephen Marks  wrote:
> Hi David--
>
> It's definitely possible, but it's been a while since I've done it. As I
> recall, you used to have to get a new copy of yaz.dll from the packages at:
>
> http://ftp.indexdata.dk/pub/yaz/win32/
>
> and copy it into the php directory.
>
> This posting is a bit old, but it rings a bell on how I got it working
> before:
>
> http://lists.indexdata.dk/pipermail/yazlist/2006-November/001757.html
>
> This was a couple of years ago at this point, so accept any more recent
> advice over mine. ;)
>
> Is there a specific issue you're having?
>
> Best,
>
> Steve
>
> --
>
>
>
> Stephen Marks
> Digital Preservation Policy Librarian
> Scholars Portal
> Ontario Council of University Libraries
>
> step...@scholarsportal.info
> 416.946.8212
>
>
>
>
>
>
> On 12/12/2010 7:50 AM, David Kane wrote:
>>
>> Hello,
>>
>> I would really like to hear from anyone who has got php-yaz working on
>> their
>> windows machine.
>>
>> I am not sure if it is possible.
>>
>> I am developing an application which will eventually run on Ubuntu, but I
>> find windows to be a more convenient local development environment.
>>
>> Thanks and best wishes,
>>
>> David.
>>
>


Re: [CODE4LIB] HTML Load Time

2010-12-06 Thread Tom Pasley
Are you running Apache server-side? If so, then other thing you can
try is looking at http://code.google.com/speed/page-speed/ which,
apart from the module, also has some good concepts (in plain english)
here:

http://code.google.com/speed/page-speed/docs/rules_intro.html

But yeah, I think if it's 5Mb, then I'd be looking at doing something
more radical...the page is takes ages to load, and could cause
problems with browsers "not responding" as they try to deal with the
page. I stopped the page fully downloading myself, as it was taking a
lonng time to get it all.

Can you make logical splits in the finding aid? You've got some years
in there, so although they overlap, you might be able to split the
pages that way? Alternatively, can you break the whole thing up,
(using the data in the folder column?), throw it into a database, and
make an auto-suggest feature, using some javascript?

cheers,

Tom

On Tue, Dec 7, 2010 at 8:49 AM, Nathan Tallman  wrote:
> Hi Cod4Libers,
>
> I've got a LARGE finding aid that was generated from EAD.  It's over 5 MB
> and has caused even Notepad++ and Dreamweaver to crash.  My main concern is
> client-side load time.  The collection is our most heavily used and the
> finding aid will see a lot of traffic.  I'm fairly adept with HTML, but I
> can't think of anything.  Does anyone have any tricks or tips to decrease
> the load time?  The finding aid can be viewed at <
> http://www.americanjewisharchives.com/aja/FindingAids/ms0361.html>.
>
> Thanks,
> Nathan Tallman
> Associate Archivist
> American Jewish Archives
>


Re: [CODE4LIB] PHP MVC frameworks

2010-11-16 Thread Tom Pasley
I'm just coming to grips with MVC myself, and I'm trying Vork [1].

Despite not seeing much posted on the web about it, I went with it
because of needs specific to my project. I wanted something that had
built-in support for MongoDB, but which was not exclusively noSQL. I'm
in the early redesign stages of something that was procedural, so
wanted MongoDB for the fast reads/writes, and because it didn't tie me
to a complicated database/tables setup as the project evolves (I'm not
a DBA).

Like a few PHP frameworks(?) Vork uses "helpers" which seemed a
perfect place for quite a bit of my code which is designed to be
re-usable by others.

Not sure if this helps(?)

Tom

[1] http://www.vork.us

On Tue, Nov 16, 2010 at 12:19 AM, David Kane  wrote:
> Hi,
>
> I am interested to hear if anyone is using PHP MVC frameworks to help with
> their code.  From what I have learned, they seem to be a very good idea
> indeed.
>
> However, there are so many of them (http://www.phpframeworks.com/)
>
> Also, pkp.SFU.ca uses their own one in their PKP (public knowledge project)
> software.
>
> Who is using them and what for?
>
> David.
>
> --
> David Kane, MLIS.
> Systems Librarian
> Waterford Institute of Technology
> Ireland
> http://library.wit.ie/
> T: ++353.51302838
> M: ++353.876693212
>


Re: [CODE4LIB] Any web services that can help sort out this for me.

2010-06-20 Thread Tom Pasley
Just to add to Gwens suggestion, you could also look at GridWorks:

http://freebase-gridworks.blogspot.com/

http://code.google.com/p/freebase-gridworks/

I haven't tried it myself, but the demos were impressive...

T.

On Sun, Jun 20, 2010 at 1:46 AM, Gwen Exner  wrote:

> This isn't a web service, but if you've got a whole lot of them you
> can save time by using Excel to extract the title for you.
>
> I'd be happy to walk you through it if you want -- just contact me
> off-list.
>
> -Gwen
>
> On Thu, Jun 17, 2010 at 4:59 AM, David Kane  wrote:
> > Hi, I have large amounts of data like this:
> >
> > 
> > Reece, P. L., (2006), Progress in Smart Materials and Structures, Nova
> > Ghosh, S. K., (2008), Self-healing materials: fundamentals, design
> > strategies and applications, Wiley
> > A.Y.K. Chan, Biomedical Device Technology: Principles & Design,
> > Charles C. Thomas, 2008.
> > L.J. Street, Introduction to Biomedical Engineering Technology, CRC
> > Press, 2007.
> > 
> >
> > ... one book per line.
> >
> > they are not in any order.
> >
> > I am lazy.  So, is there a web service out there that I can throw this
> > stuff at to organise it for me and ideally find the ISBNs.
> >
> > Long shot, I know.
> >
> > But thanks,
> >
> > David.
> >
> >
> > --
> > David Kane
> > Systems Librarian
> > Waterford Institute of Technology
> > Ireland
> > http://library.wit.ie/
> > davidfk...@googlewave.com
> > T: ++353.51302838
> > M: ++353.876693212
> >
>


Re: [CODE4LIB] Any web services that can help sort out this for me.

2010-06-17 Thread Tom Pasley
Actually, I'd be concerned using Google - it will block mechanised queries,
and block "legitimate", human queries until the automated queries are
shutdown.

I'd expect any API worth it's salt would indicate how many queries per
 it will reasonably handle.

Tom

On Fri, Jun 18, 2010 at 3:23 AM, Kyle Banerjee  wrote:

> I'd be concerned about bumping into limits or getting throttled using APIs
> mentioned so far. I'd be inclined to go for a mass data download, match as
> much as I could, and then if there's still more than would be appropriate
> for an API approach, throw fielded searches across a number of library
> catalogs since some of them can spit out pretty easy to parse results.
>
> BTW, what is the source of the data? That could point to the best way to
> get
> what you want.
>
> kyle
>
> On Thu, Jun 17, 2010 at 1:59 AM, David Kane  wrote:
>
> > Hi, I have large amounts of data like this:
> >
> > 
> > Reece, P. L., (2006), Progress in Smart Materials and Structures, Nova
> > Ghosh, S. K., (2008), Self-healing materials: fundamentals, design
> > strategies and applications, Wiley
> > A.Y.K. Chan, Biomedical Device Technology: Principles & Design,
> > Charles C. Thomas, 2008.
> > L.J. Street, Introduction to Biomedical Engineering Technology, CRC
> > Press, 2007.
> > 
> >
> > ... one book per line.
> >
> > they are not in any order.
> >
> > I am lazy.  So, is there a web service out there that I can throw this
> > stuff at to organise it for me and ideally find the ISBNs.
> >
> > Long shot, I know.
> >
> > But thanks,
> >
> > David.
> >
> >
> > --
> > David Kane
> > Systems Librarian
> > Waterford Institute of Technology
> > Ireland
> > http://library.wit.ie/
> > davidfk...@googlewave.com
> > T: ++353.51302838
> > M: ++353.876693212
> >
>
>
>
> --
> --
> Kyle Banerjee
> Digital Services Program Manager
> Orbis Cascade Alliance
> baner...@uoregon.edu / 503.999.9787
>


Re: [CODE4LIB] Twitter annotations and library software

2010-04-27 Thread Tom Pasley
-1 for BibTex!

It can be hard to comprehensively parse without inadvertently creating garbage.

Tom

On Wed, Apr 28, 2010 at 1:00 AM, Ross Singer  wrote:
> On Tue, Apr 27, 2010 at 7:02 AM, Jakob Voss  wrote:
>
>> The purpose of description can best be served by a format that can easily be
>> displayed for human beeings. You can either use a simple string or a
>> well-known format. A string can be displayed but people will put all
>> different citation formats in there. Right now there are only two
>> established metadata formats that aim at creating a citation:
>>
>> a) BibTeX
>> b) The input format of the Citation Style Language (CSL)
>>
> This isn't entirely true.  There's RIS
> (http://en.wikipedia.org/wiki/RIS_%28file_format%29) and BIBO
> (http://bibliontology.com/) is starting to become quite common in the
> linked data sphere.
>
> There's also BibJSON (http://www.bibkn.org/bibjson/index.html) which
> I've had a browser tab open for months with the intention of actually
> looking at and actually seems quite well suited for how Twitter will
> store annotations.  My opinion of it all along, however, has been very
> similar to yours -- why another citation format and why bind it so
> closely to a particular serialization?
>
> -Ross.
>


Re: [CODE4LIB] SerialsSolutions Javascript Question

2009-10-29 Thread Tom Pasley
Hi David,

If you're wanting specific Talis stuff, have a look at:

http://dataincubator.org
http://n2.talis.com
http://code.google.com/p/moriarty/

There's also OpenLink which have Virtuoso:
http://www.openlinksw.com/virtuoso/

And things like:
Triplify
Arc

cheers,

Tom

On Thu, Oct 29, 2009 at 3:31 PM, David Kane  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.
>
>
> --
> David Kane
> Systems Librarian
> Waterford Institute of Technology
> Ireland
> http://library.wit.ie/
> davidfk...@googlewave.com
> T: ++353.51302838
> M: ++353.876693212
>


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

2009-06-19 Thread Tom Pasley
Hi,

I see Michael's here too - (he's a bit of a guru on the Voyager-L listserv
:-D).

Michael, if you have a look at the Vendor URL, there's some info there, but
you might also try having a look through some of these G.search results:

site:xml.apache.org inurl:"xalan-j" "system"

- see if that helps any - like to help more, but I've got to go!

Tom

On Sat, Jun 20, 2009 at 10:11 AM, Doran, Michael D  wrote:

> Hi Jon,
>
> > Try putting somewhere in one of the xslt pages
>
> Cool!  Here's the output:
>
>Version: 1
>Vendor: Apache Software Foundation
>Vendor URL: http://xml.apache.org/xalan-j
>
> -- Michael
>
> # Michael Doran, Systems Librarian
> # University of Texas at Arlington
> # 817-272-5326 office
> # 817-688-1926 mobile
> # do...@uta.edu
> # http://rocky.uta.edu/doran/
>
>
> > -Original Message-
> > From: Code for Libraries [mailto:code4...@listserv.nd.edu] On
> > Behalf Of Jon Gorman
> > Sent: Friday, June 19, 2009 5:05 PM
> > To: CODE4LIB@LISTSERV.ND.EDU
> > Subject: Re: [CODE4LIB] How to access environment variables in XSL
> >
> > Try putting somewhere in one of the xslt pages
> >
> > 
> > Version:
> > 
> > 
> > Vendor:
> > 
> > 
> > Vendor URL:
> > 
> > 
> >
> > Jon
> >
> > On Fri, Jun 19, 2009 at 4:53 PM, Doran, Michael
> > D wrote:
> > > Hi Dave,
> > >
> > >> What XSLT processor and programming language are you using?
> > >
> > > I'm embarrassed to say that I'm not sure.  I'm making
> > modifications and enhancements to already existing XSL pages
> > that are part of the framework of Ex Libris' new Voyager 7.0
> > OPAC.  This new version of the OPAC is running under Apache
> > Tomcat (on Solaris) and my assumption is that the programming
> > language is Java; however the source code for the app itself
> > is not available to me (and I'm not a Java programmer anyway,
> > so it's a moot point).  I assume also that the XSLT processor
> > is what comes with Solaris (or Tomcat?).  As you can probably
> > tell, this stuff is new to me.  I've been trying to take a
> > Sun Ed XML/XSL class for the last year, but it keeps getting
> > cancelled for lack of students.  Apparently I'm the last
> > person left in the Dallas/Fort Worth area that needs to learn
> > this stuff. ;-)
> > >
> > > -- Michael
> > >
> > > # Michael Doran, Systems Librarian
> > > # University of Texas at Arlington
> > > # 817-272-5326 office
> > > # 817-688-1926 mobile
> > > # do...@uta.edu
> > > # http://rocky.uta.edu/doran/
> > >
> > >
> > >> -Original Message-
> > >> From: Code for Libraries [mailto:code4...@listserv.nd.edu] On
> > >> Behalf Of Walker, David
> > >> Sent: Friday, June 19, 2009 2:48 PM
> > >> To: CODE4LIB@LISTSERV.ND.EDU
> > >> Subject: Re: [CODE4LIB] How to access environment variables in XSL
> > >>
> > >> Micahael,
> > >>
> > >> What XSLT processor and programming language are you using?
> > >>
> > >> --Dave
> > >>
> > >> ==
> > >> David Walker
> > >> Library Web Services Manager
> > >> California State University
> > >> http://xerxes.calstate.edu
> > >> 
> > >> From: Code for Libraries [code4...@listserv.nd.edu] On Behalf
> > >> Of Doran, Michael D [do...@uta.edu]
> > >> Sent: Friday, June 19, 2009 12:44 PM
> > >> To: CODE4LIB@LISTSERV.ND.EDU
> > >> Subject: [CODE4LIB] How to access environment variables in XSL
> > >>
> > >> I am working with some XSL pages that serve up HTML on the
> > >> web.  I'm new to XSL.   In my prior web development, I was
> > >> accustomed to being able to access environment variables (and
> > >> their values, natch) in my CGI scripts and/or via Server Side
> > >> Includes.  Is there an equivalent mechanism for accessing
> > >> those environment variables within an XSL page?
> > >>
> > >> These are examples of the variables I'm referring to:
> > >> SERVER_NAME
> > >> SERVER_PORT
> > >> HTTP_HOST
> > >> DOCUMENT_URI
> > >> REMOTE_ADDR
> > >> HTTP_REFERER
> > >>
> > >> In a Perl CGI script, I would do something like this:
> > >> my $server = $ENV{'SERVER_NAME'};
> > >>
> > >> Or in an SSI, I could do something like this:
> > >> 
> > >>
> > >> If it matters, I'm working in: Solaris/Apache/Tomcat
> > >>
> > >> I've googled this but not found anything useful yet (except
> > >> for other people asking the same question).  Maybe I'm asking
> > >> the wrong question.  Any help would be appreciated.
> > >>
> > >> -- Michael
> > >>
> > >> # Michael Doran, Systems Librarian
> > >> # University of Texas at Arlington
> > >> # 817-272-5326 office
> > >> # 817-688-1926 mobile
> > >> # do...@uta.edu
> > >> # http://rocky.uta.edu/doran/
> > >>
> > >
> >
>


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

2009-06-11 Thread Tom Pasley
Hi Derik,

This looks good... I suppose the question to some of your questions is
what's in your toolbox?

Specifically:

- Are you running on windows or unix on the server?
- Are you able to install anything on the server - are you an admin or
similar?
- Are you able to run a scripting language like PHP on the server?
- Do you have access to a database such as MySQL or MSSQL, etc?

I agree with Jon - it'd be much more efficient to store this in a database,
and your looking at a simple table to store the ticTocs data.

Answers to these questions will help listserv members come up with suitable
suggestions - it seems you're comfortable with javascript, so I think you'd
be fine with something like Perl of PHP.

cheers,

Tom

On Fri, Jun 12, 2009 at 4:34 AM, Derik Badman  wrote:

> Hello all,
>
> Just joined the list, and I'm hoping to get a suggestion or two.
>
> I'm working on using the ticTOCs ( http://www.tictocs.ac.uk/ ) text file
> of
> rss feed urls for journals to insert links to those feeds in our Serials
> Solution Journal Finder.
>
> I've got it working using a bit of jQuery.
>
> Demo here: http://155.247.22.22/badman/toc/demo.html
> The javascript is here: http://155.247.22.22/badman/toc/toc-rss.js
>
> Getting that working wasn't too hard, but I'm a bit concerned about
> efficiency and caching.
>
> I'm not sure the way I'm checking isbns against the text file is the most
> efficient way to go. Basically I'm making an ajax call to the file that
> takes the data and makes an array of objects. I then query the isbn of each
> journal on the page against the array of objects. If there's a match I pull
> the data and put it on the page. I'm wondering if there's a better way to
> do
> this, especially since the text file is over 1mb. I'm not looking for code,
> just ideas.
>
> I'm also looking for any pointers about using the file itself and somehow
> auto-downloading it to my server on a regular basis. Right now I just saved
> a copy to my server, but in the future it'd be good to automate grabbing
> the
> file from ticTOCs server on a regular basis and updating the one on my
> server (perhaps I'd need to use a cron job to do that?).
>
> Thanks for much for any suggestions or pointers. (For what it's worth, I
> can
> manage with javascript or php.)
>
>
> --
> Derik A. Badman
> Digital Services Librarian
> Reference Librarian for Education and Social Work
> Temple University Libraries
> Paley Library 209
> Philadelphia, PA
> Phone: 215-204-5250
> Email: dbad...@temple.edu
> AIM: derikbad
>
> "Research makes times march forward, it makes time march backward, and it
> also makes time stand still." -Greil Marcus
>