Nameresolver: For building persistent URLs

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Current revision (14:49, 14 September 2007) (edit) (undo)
 
Line 1: Line 1:
-
<tt>nameresolver</tt> is a CGI program that allows lengthy URLs-- e.g., those with multiple CGI parameters-- to be translated to a short URL for permanence. In the case of DLPS, URLs such as:
 
-
* http://www.hti.umich.edu/cgi/t/text/text-idx?c=moa;idno=1462339.1913.002
 
-
 
-
Get translated to:
 
-
 
-
* http://name.umdl.umich.edu/1462339.1913.002
 
-
 
-
This provides a bookmarkable URL for incorporation into DLXS templates and other web pages.
 
-
 
-
The program works by parsing the <tt>ID</tt> attribute of the <tt>A</tt> field in Bib Class and appending the value of that attribute to the <tt>http://name.umdl.umich.edu/</tt> prefix. The record associated with the <tt>A</tt> field is what the user sees when they link to the short, persistent, nameresolver URL, e.g., http://name.umdl.umich.edu/1462339.1913.002
 
-
 
-
To use the program:
 
-
 
-
# Create Bib Class records with appropriate <tt>ID</tt> attributes.
 
-
# Create a new group in collmgr with the ID of <tt>bibperm</tt> with webdir set to <tt>/b/bibperm</tt>.
 
-
# Check those Bib Class collections you want to provide nameresolver URLs for and release the group.
 
-
 
-
The program itself lives in /{$DLXSROOT}/cgi/b/bib and is called <tt>bibperm</tt>.
 

Current revision

Personal tools