Re: [CODE4LIB] Data export from III

2010-10-19 Thread Wayne Lam
Thanks Ian, I read your powerpoint before.

I am trying to do similar thing, I have tried to crawl the xrecord and i am
confused with the code generated to represent Multi byte character. (most of
our record use Chinese character).
III XML generate special encoding, something like {21357} and i am really
having problem to convert
those character back to Unicode.

And after those exportation, are there any way to automate the process? For
example, catalog librarian created
a new record, what is the proper way to auto-update XML record without using
Create List function?

Wayne


2010/10/19 Kyle Banerjee baner...@uoregon.edu

 On Mon, Oct 18, 2010 at 7:28 AM, Wayne Lam wing...@gmail.com wrote:

  Any people have experience in exporting bib data in Innovative Interface
  to sort of XML db? How is it going to be done actually?
  and What could be the best way of doing this?
 

 What's the use case you have in mind? Also, when say bib data, does that
 mean item data is not needed?

 IMO, the easiest way to get bib data out of III is just doing a MARC dump
 of
 the bib files. The process is clean, you can convert the data to whatever
 format you like, and you're golden

 If you are only interested in certain fields, it might be easier to use
 delimited output from Create Lists -- particularly if how the fields are
 indexed in III is important to you.

 The other major alternatives include making sure xrecord is enabled and
 then
 just picking all the records up in XML. Unless the III specific fields
 (e.g.
 bcodes, suppression codes, etc) or what internal III tags are associated
 with each MARC field are important for your application, I recommend
 against
 this approach. III generates the second suckiest XML I've seen in my life
 so
 it's a PITA to work with (the State of Oregon CMS generates XML with a
 level
 of suckiness that will never be topped).

 You can also crawl the public OPAC and parsing the textual representation
 of
 the MARC bib record. If you don't have admin rights on the machine, this is
 not a horrible way to go since you don't need to worry about waiting for
 people to help you, dealing with Create List files that are only a tiny
 fraction the size of the entire DB, etc. III bib records are numbered
 sequentially, so it's easy enough to guess an entire database and pull up
 every record in the webopac by bib control number.

 kyle



Re: [CODE4LIB] Data export from III

2010-10-19 Thread Kyle Banerjee

 And after those exportation, are there any way to automate the process? For
 example, catalog librarian created
 a new record, what is the proper way to auto-update XML record without
 using
 Create List function?


Detecting new records is pretty brain dead. Because record numbers are
generated sequentially, you need only know the highest number in your DB and
then increment from there. You'll want to look for a decent sized number of
invalid numbers to allow for record deletion, and the code should detect if
no new numbers are detected in X days -- if someone loads a dataset and
immediately deletes it, it could create a hole consisting of thousands of
numbers.

Identifying changes in existing records without Create Lists is more
problematic -- the only method I can think of is to crawl them. The good
news is that the last updated field is one of the ones you'll pick up in the
XML so you don't need to do a field by field comparison or overwrite your
current data.

kyle


[CODE4LIB] Survey for Systems Librarians

2010-10-19 Thread Nicole Engard
Hi all,

I am working on writing the second edition of The Accidental Systems
Librarian and am in need of some updated feedback.  If you could take
a few minutes to fill out this survey:
http://survey.web2learning.net/limesurvey/index.php?sid=19567lang=en
and share it far and wide that would be a great help!  You can also
keep up with my progress on the new official book site:
http://tasl.web2learning.net

Thanks
Nicole C. Engard


[CODE4LIB] processing.js workshop almost full

2010-10-19 Thread EdUI Conference
Just in case any Code4lib readers were still thinking about coming to edUi
2010 in November, I wanted to let you know that Alistair MacDonald's
workshop, Rich UI No Plugins Required is almost full.  There are only a few
slots left.  If you want to attend and have one of the masters walk you
through building an interactive timeline app with just a little html5 and
some Processing.JS then you need to register now.

You may have read Alistair's tutorial in Practical Web
Designhttp://weblog.bocoup.com/make-your-own-javascript-ninja-with-processing-json
how to build your own Javascript Ninja.

http://eduiconf.org

-Trey