spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / perl / tutorial / 3

Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

PerlHoo, Part II

Managing the Directory Content

Reviewing New Sites

Once users start submitting new sites to PerlHoo for inclusion, you will probably want to periodically review the new entries for inclusion in the directory. To do this, start at the top level PerlHoo directory, defined in $rootdir (Line 32), and look in each subsequent subdirectory for the file defined in $new_datafile (Line 34). The records in the $new_datafile file is in the same order as the form:
  • URL - the URL of the recommended site
  • Title - the title of the link
  • Description - a full description of the site
  • Contact Name - full name of the contributor
  • Contact Email - email address of the contributor

This is the same data and order as the perlhoo.csv data format, except for the contact name and email which is tacked onto the end of the record.

Updating the Directory

If you find a new site that you want to add to the directory, you will currently have to move it to the $datafile file by hand. You can use your favorite text editor or spreadsheet to do this. Boy, that sure does sound tedious doesn't it? I agree. In PerlHoo, Part III, we will build a simple admin interface which will make this process much easier.


home / experts / perl / tutorial / 3

http://www.internet.com

Produced by Jonathan Eisenzopf and


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger


Created: April 20, 1999
Revised: April 21, 1999

URL: http://www.webreference.com/perl/tutorial/3/