Tagging - Part 2

I have made some initial steps regarding my tagging application. See:

http://mylibrary.library.nd.edu/demos/tagging/

 

I started with the Reading List application since it included bunches o’ data and the framework for managing users. I then used the “kewl” details hack from Articles Index demonstration to create a pop-up form for inputting tags. Finally, I got some Javascript to echo […]

Tagging

I am going to try to write a MyLibrary application that implements tagging.
First I will create a system that asks you to log in. I will then list information resources. Next, I will supply a widget labeled “Add a tag”. The widget will display an input box. Enter a tag. Click go. The tag gets […]

Tiny Facebook steps

I have taken some tiny facebook steps.
I have created a simple Facebook application, but it probably doesn’t work for you. The code is here. The idea is to read information from a person’s profile, use some textual analysis, and recommend one or more information resources for the user to… use. I might be able to […]

Supporting search

When you want to provide search against your MyLibrary content use and indexer.

MyLibrary is great for storing and manipulating the information of digital libraries. This is because it uses a database underneath. Ironcially, databases are weak when it comes to search because queries always need to be mapped to fields. Moreover databases, unless they exploit […]

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. […]