TG-noid is a service that mints (generates) the TextGrid URIs for each TextGrid object. It is used by TG-crud only. The TextGrid URIs have the prefix textgrid: and are followed by a generated character sequence, that consists of the NOID enhanced character set. Starting with textgrid:00 the URIs can be increased infinitly.
TG-noid is nothing more than a specificly configured NOID (Nice Opaque Identifier) service, that mainly is consisting of a Perl script and some HTTP server configurations.
More information concerning the NOID and related issues you can get here:
The Perl implementation used by TextGrid here:
Direct links to the NOID Perl module documentation you can find here:
to a folder of your choice. Follow the installing instructions of the NOID (or of course the following quick installation guide :-).
Quick Installation Guide
Install the libberkeleydb-perl as Perl module BerkeleyDB, and compile the NOID as follows. Just type the following on your command line (beeing in the main NOID folder).
Copy the binary from /usr/local/bin/noid to ~/htdocs/nd/noid, to ~/htdocs/nd/noidr_textgrid, and ~/htdocs/nd/noidu_textgrid (last two names depend on your minter to be created).
Call (in folder /nd)
Add the noid apache configuration to /etc/apache2/sites-available/default, please install mod-rewrite first:
Chang group of /textgrid and NOID folders to www-data, set write permissions for group, both recursively (must be textgrid and NOID 775 and NOID/* 664).
The HTTP access then will be (e.g. for minting seven URIs).
(after setting password... see Authentication below!)
If you want to secure the minter just use HTTP authentication protocols (e.g. basic auth):
Set user/password authentication in /etc/apache2/sites-available/default (as shown above).
Create password file for the NOID and add user tgcrud, for TG-crud is the only one to use the TG-noid and create URIs.
Change permissions to 600, owner to www-data:root and copy to /etc/apache2/
Add /etc/apache2/tgnoid.passwd to NOID config.
Set user/passwd in TG-crud config file (as shown above).
- Error: No "Env" object (Permission denied): Set correct access permissions to folder NOID (775 und 664)!
Error "Use of uninitialized value in split at /usr/local/bin/noid line 65." is thrown by noid script every time. The line comes from http://cpansearch.perl.org/src/NOBULL/perl5lib-1.02/lib/perl5lib.pmand was solved by replacing line 65 by the following code:
Best is to add the above code before making the NOID!