MyLibrary Home Page 2.0

I’m going to call this MyLibrary Home Page 2.0.
For a long, long time the home page of MyLibrary was on a other host. That computer is aging, and the software has matured. While things can always be improved, this is now going to be called the official, canonical home page of MyLibrary. It is complete […]

Creating and displaying terms

Here is a simple command-line program to create a term. It works much like the facets example: 1) prompt for a name, 2) prompt for a note, 3) display the facets, 4) prompt for a facet ID, and 5) commit.
#!/usr/bin/perl

# require mylibrary & practice good programming
use MyLibrary::Core;
use strict;

# scope our variables
my ( $name, $note, $id, […]

Simple library catalog - Another MyLibrary demonstration

MyLibrary can be used to create a simple library catalog. See:
http://mylibrary.library.nd.edu/demos/catalog/
The process is not too difficult:

Acquire the set of MARC records used to describe your library’s content.
Use something like MARC::Record to loop through the records extracting bibliographic information.
Map the bibliographic information to Dublin Core elements.
Store the Dublin Core elements in MyLibrary.
Along the way, examine the […]

Reading List - A Demonstration application

Reading List is a MyLibrary demonstration application.
As mentioned previously, MyLibrary systems consists of: 1) information resources, 2) users, and/or 3) librarians. In the case of Reading List, the information resources are journal titles harvested from the Directory of Open Access Journals (DOAJ) via OAI.
DOAJ supports OAI as a data repository. It outputs at least two […]

Imitation is the sincerest form of flattery

The term/phrase “MyLibrary” has been used in one way or another for more than nine years to describe this open source software project. Around 1989 the folks at the North Carolina State University Libraries considered trademarking the term/phrase but I believe someone had already done so a few years prior. Consequently, the service was officially […]

Editing facets

Here is a tiny program that can be used to edit facets. To use it you will first need a facet ID number, but you can get that from the script in the previous posting.
#!/usr/bin/perl

# require mylibrary & practice good programming
use MyLibrary::Core;
use strict;

# scope our variables
my ( $id, $facet, $name, $note, $results );

# get user […]

Displaying facets

This little program simply lists all the facets in your MyLibrary instance. It does this through the use of the get_facets method:
#!/usr/bin/perl

# require mylibrary & practice good programming
use MyLibrary::Core;
use strict;

# loop through all the facets
foreach my $facet ( MyLibrary::Facet->get_facets ) {

# display this facet’s characteristics
print ‘ ID: ‘ […]

Creating facets

This posting simply includes a short command-line program used to create facets. It is intended to allow the programmer to get their feet wet when it comes to using the MyLibrary Perl API. Assuming you already have a MyLibrary instance installed, just copy & paste the code into your favorite text editor and run it. […]