Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Dmoz Import

Quote Reply
Dmoz Import
Does anyone know of a thread that has how to telnet the proper commands to import DMOZ into an existing site?

I browsed through dozens with errors and people saying do this - no do this.

Need something simple please. I already have the entire content.rdf.u8 on my server, need to know where to put it and how to import it.

thanks
Quote Reply
Re: [PelsLvr] Dmoz Import In reply to
perl nph-import.cgi
--import RDF
--source=/path/to/content.rdf.u8.gz
--destination=/path/to/lsql/defs
--create-missing-categories
--create-columns
--rdf-category="Top/Category_Name"
--rdf-user="Admin"
--rdf-add-date="2002-01-01"
--with-gzip=/bin/gzip

If data already exists in your database add:

--rdf-update

If you want to start the import in a specific category use:

--rdf-destination=some_cat

Last edited by:

RedRum: Feb 27, 2002, 3:09 PM