htdb to URL

[email protected]
Newsgroups gmane.comp.web.mnogosearch.general
Message-ID <10791718.2938881260377132346.JavaMail.root@spooler3-g27.priv.proxad.net>
Hello,

how do you transform an htdb virtual URL to a regular URL?

I am using htdb queries to index the node_revisions table in the Drupal database, using the following commands in indexer.conf

HTDBAddr mysql://user:password@hostname/databasename/
HTDBList "SELECT nid from node_revisions WHERE nid IS NOT NULL"
HTDBDoc "SELECT body FROM node_revisions WHERE nid='$1'"
Server htdb:/

When I run search.cgi, I get a list of htdb urls, such as

htdb:/1
htdb:/2

where 1 and 2 are Drupal nodes.

How can I get Mnogo to replace 'htdb:/' by 'http://mydrupalcms.com/node/', for instance, 'http://mydrupalcms.com/node/1'?

Many thanks.

philroc


PS Is there a more efficient way to index Drupal sites using mnogosearch?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.