Online Presence and Participation

Online Presence and Participation, Matienzo, Mark A. , Society of American Archivists, 13/08/2009, Austin, Texas, (2009)

Before I start, I’d like to make a disclaimer. My presentation, while based in fact, contains some strong opinions. Accordingly, I must state this presentation expresses my views and should not be construed as being supported by my employer, The New York Public Library.

pybhl 0.1

Initial release

pybhl

pybhl is a Python module that works with the Biodiversity Heritage Library's OpenURL-based API.

iii 0.2

- Added more record types to validation code
- Fixed docstrings to point to proper/authoritative check digit algorithms

digitalnz 0.2

- Addition of specific exception raising for missing API keys
- Addition of example code and usage notes, courtesy of Philip Lindsay
- Patch from Philip Lindsay to ensure Python < 2.6 compatibility

UUID Computed Field for CCK

This code snippet autopopulates a Computed Field CCK field for Drupal using the the functionality provided by the UUID module. Note that this is for the 6.x-1.x-dev version of the module and requires the patch attached to this comment. It assumes that you only want to generate UUIDs once. It probably should be abstracted into another CCK module, but I'm too lazy to do that at the moment.

worldcat 0.3.4

- Fixing an error in the recently modified request.xid.xOCLCNUMRequest

Archives & the Semantic Web

Archives & the Semantic Web, Matienzo, Mark A. , New York Archivists' Roundtable Annual Meeting, 23/06/2009, New York, NY, (2009)

worldcat 0.3.3

Correcting a typo in request.xid.xOCLCNUM request (thanks to Brandon Craig Rhodes for spotting this).

worldcat 0.3.2

Modified request.xid.xOCLCNUMRequest to process requests for OCLC numbers, LCCNs, and OCLC work identifiers; removed request.xid.xLCCNRequest

worldcat 0.3.1

- Addition of examples/gae, a sample Google App Engine applications for doing WorldCat queries with JSONP output. Thanks to Etienne Posthumus.

digitalnz 0.1.0

v0.1.0 Wed May 13 00:17:11 EDT 2009
- initial release/commits

digitalnz

digitalnz is a Python module to interact with the DigitalNZ API.

Autoassign default taxonomy terms based on content type and CCK fields

This works similarly to the Taxonomy Defaults module, but has no UI to set this up - this is for programmatic, backend stuff. It tests to see if somethings a particular content type and then checks for the value of a given CCK field to determine the appropriate term.

worldcat 0.3.0

- Extensive cleanup on examples/holdingsmap/holdingsmap.py
- Addition of RegistryRequest class; OCLCSymbolRequest is now a subclass of
this instead of WorldCatRequest
- Clean up of docstrings
- Fixes to worldcat.request.search and worldcat.response.search for variant
representations of formats of the recordSchema parameter

Stuff I've Been Doing Post-Code4lib 2009

Stuff I've Been Doing Post-Code4lib

Mark A. Matienzo

New York Public Library

22 April 2009

Code4libNYC

brooklynmuseumapi 0.1.0

v0.1.0 Wed Apr 15 12:33:59 EDT 2009
- Initial release

brooklynmuseumapi

brooklynmuseumapi is a Python module to interact with the Brooklyn Museum Collection API.

Shrew CCK computed field

A sample chunk of CCK computed field code for use with my Shrew module for Drupal. Shrew is a PHP library to interact with Innovative Interface online library catalog systems. You can see how this code snippet evolved over time in the revisions.

worldcat 0.2.5

v0.2.5 Mon Mar 23 16:55:33 EDT 2009
- Fixing issues with opcode mapping in worldcat.util.safeeval for Python < 2.6

Notes from March 19 Semantic Web Meetup

iii

iii is a Python module containing various utilities to manipulate data from Innovative Interfaces, Inc. integrated library systems.

worldcat 0.2.4

- Cleaning up code for PEP 8 compliance.

Lightbox2 Plugin for Omeka

Adds theme functions using Lokesh Dhakar's Lightbox2 JavaScript library to Omeka, an open source online exhibition and digital collections platform.

NYPL Digital Gallery Ingest Plugin for Omeka

A plugin to ingest items from the New York Public Library's Digital Gallery into Omeka, an open source online exhibition and digital collections platform.

Programmatic CCK node creation from CSV files using node_save()

The long and the short of it, for Drupal 6 - use content_insert(), which should be fired anyway but isn't. See
node_save() with CCK fields
for more details. drupal_execute() is too robust for me - I just needed to import a SQL Server table with 4500+ rows quickly. Sample code after the jump, using parsecsv for PHP.

Notes on Mercurial

Notes from Mercurial Google Tech Talk

  • Youtube
  • Python (with ~5% C), fast, and distributed
  • Simple conceptual model:
    • Repository
      • Changelog
      • Manifest
      • File metadata
    • Working directory
    • Changeset
  • Not heavyweight - no DB, just files
  • 12K lines of python in ~2006
  • Power/performance is in abstractions
    • Avoidance of disk seeks
    • Linear I/O streams
    • Don't read/write more than you have to
    • Union of deltas
    • Deltas end up being from immediate linear formats
Syndicate content