I needed a quick, perhaps even sloppy way to output an array as XML. Some Googling turned up a few tools, including Simon Willison’s XmlWriter, Johnny Brochard’s Array 2 XML, Roger Veciana Associative array to XML, and Gijs van Tulder’s Array to XML. Finally, Gijs also pointed me to the XML_Serializer PEAR Package.
In an example [...]
Posted September 18, 2006 by Casey Bisson
Categories: Technology. Tags: array, array to xml, php, xml, XML_Serializer. 3 Comments.
I’m honored to join Katie Bauer, of Yale University Library, in a program coordinated by Mary Jane Kelsey, of Yale Law’s Lillian Goldman Library.
The full title of our program is Technology Scouts: how to keep your library and ILS current in the IT world (H-4, 4PM Tuesday, room 274). My portion of the presentation [...]
Posted July 11, 2006 by Casey Bisson
Categories: Libraries & Networked Information. Tags: AALL, AALL2006, American Association of Law Libraries, api, conference, law libraries, lib20, libraries, library, library 2.0, opensearch, presentation, rss, web 2.0, web20, xml. Be the first one.
I didn’t hear big announcement of it, but deep in the docs (? PHP 5.1.0) you’ll find a note about additional Libxml parameters. In there you’ll learn about “LIBXML_NOCDATA,” and it works like this:
simplexml_load_string($xmlraw, ’SimpleXMLElement’, LIBXML_NOCDATA);
Without that option (and with all previous versions of PHP/SimpleXML), SimpleXML just ignores any < ![CDATA[...]]> ‘escaped’ content, such as you’ll find [...]
Posted April 12, 2006 by Casey Bisson
Categories: Technology. Tags: cdata, cdata in php, fixed, parsing rss, php, php5, rss, simplexml, xml. 6 Comments.
No, I’m not talking about the interface our users see in the web browser — there’s enough argument about that — I’m talking about web services, the technologies that form much of the infrastructure for Web 2.0.
Once upon a time, the technology that displayed a set of data, let’s say catalog records, was inextricably [...]
Posted November 30, 2005 by Casey Bisson
Categories: Libraries & Networked Information, Technology. Tags: amazon, amazon api, amazon web services, api, dublin core, ead, libraries, library, library catalog, marc, marc-xml, opac data, opensearch, web 2.0, web service, web services, web20, webservice, webservices, xml, xml server. 8 Comments.
Everybody likes documentation. The Zend folks posted this overview and SimpleXML introduction The O’Reilly folks at ONLamp offered this guide to using SimpleXML. Of course, there’s always the SimpleXML docs at PHP.net.
Two problems: I haven’t encountered CDATA in my XML yet, but I do hope to develop a better solution than offered here when I [...]
Posted November 22, 2005 by Casey Bisson
Categories: Technology. Tags: cdata, docs, documentation, php, php5, simplexml, xml, xml server. 5 Comments.
The Zend overview of the new XML features in PHP 5 has re-energized me for building XML Server Applications at my library.
xml, php, web development
Posted October 21, 2005 by Casey Bisson
Categories: Blink. Tags: php, web development, xml. One Comment.
Interesting: Cladonia Exchanger XML Editor, a Java-based app that makes reading raw XML easy. Much easier than in a regular text editor, even with syntax highlighting.
tags: cladonia, cladonia exchanger xml editor, exchanger, exchanger xml editor, raw xml, syntax highlighting, text editor, xml, xml editor, xslt debugger, xslt editor
Posted October 6, 2005 by Casey Bisson
Categories: Blink, Technology. Tags: cladonia, cladonia exchanger xml editor, exchanger, exchanger xml editor, raw xml, syntax highlighting, text editor, xml, xml editor, xslt debugger, xslt editor. 12 Comments.
Ryan beat me to reporting on the interesting new services at the Ockham Network (noted in this Web4lib post). The easiest one to grok is this spelling service, but there are others that are cooler.
He also alerted me to a Perl script to proxy Z39.50 to RSS. Though for those more into PHP (like me), [...]
Posted October 4, 2005 by Casey Bisson
Categories: Libraries & Networked Information, Technology. Tags: cat date, ils, index data, information retrieval, libaries, library, library catalog, library systems, ockham, opac, perl script, php, rss, search by cat date, sort by cat date, xml, yaz, z39.50, z39.50 proxy. Be the first one.
I can’t explain why, at least not yet, but I’m looking for a way to search the iTunes Music Store catalog outside of iTunes. Rumors of an iTunes-Google partnership have been flying lately, but what I really want is a webservice/API I can use. Yes, Apple offers an affiliate program that supports direct links, but [...]
Posted August 24, 2005 by Casey Bisson
Categories: Technology. Tags: itms, itms-4-all, itunes, itunes music store, itunes music store api, music store, music store api, pymuscique, webservice, webservices, xml. 12 Comments.
I want Wikipedia to have an API, but it doesn’t. Some web searching turned up Gina Trapani’s WikipedizeText, but that still wasn’t exactly what I wanted. A note in the source code, however, put me back on the trail to the Wikipedia database downloads, and while that’s not what I want, I did learn that [...]
Posted August 21, 2005 by Casey Bisson
Categories: Libraries & Networked Information, Technology. Tags: api, application programming interface, article titles, database download, free encyclopedia, hacking, rss, web services, webservices, wikipedia, xml. 11 Comments.