Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Dmoz Import

Quote Reply
Dmoz Import
Im trying to do a dmoz import from the command prompt with XP but the command I need to enter to start the import is too long and the command prompt stops me entering the whole thing.

How do I get around this?
Quote Reply
Re: [RedRum] Dmoz Import In reply to
Any thoughts on how I can complete the import with Windows?

Will I have to install a telnet/ssh server?
Quote Reply
Re: [RedRum] Dmoz Import In reply to
What about putting the command line you need to run in a batch file, then just executing the batch file?

Sean
Quote Reply
Re: [SeanP] Dmoz Import In reply to
Hmm good idea. Thanks. I'll give it a try.


Quote Reply
Re: [RedRum] Dmoz Import In reply to
Ok can anyone see the problem with this:

perl nph-import.cgi
--import RDF
--source="e:\Apache\cgi-bin\lsql2\admin\content.rdf.u8"
--destination="e:\Apache\cgi-bin\lsql2\admin\defs"
--create-columns
--create-missing-categories
--rdf-category="Top/Adult"
--rdf-user="Admin"
--rdf-add-date="2001-12-20"

I've tried both forward and backward slashes but I always get:

Incorrect usage.
The path and filename to the RDF file that you gave does not exist, or does not have read permissions set correctly. See --source and --help

This is Apache on WinXP


When I look at the file in Windows Explorer the path shows as:

E:\Apache\cgi-bin\lsql2\admin\content.rdf.u8


Last edited by:

RedRum: Dec 20, 2001, 2:41 PM
Quote Reply
Re: [RedRum] Dmoz Import In reply to
how about:
--source="e:\Apache\cgi-bin\lsql2\admin\conten~1.u8"


Adrian
Quote Reply
Re: [brewt] Dmoz Import In reply to
:(

Incorrect usage.
The path and filename to the RDF file that you gave does not exist, or does not have read permissions set correctly. See --sourc
e and --help
Quote Reply
Re: [RedRum] Dmoz Import In reply to
I know paths in perl can be strange on a Windows machine. You might try:

--source="e:\\Apache\\cgi-bin\\lsql2\\admin\\content.rdf.u8"

Sean
Quote Reply
Re: [SeanP] Dmoz Import In reply to
I'll give it a go but I don't think thats it as I use a single forward slash in the scripts I develop on my pc and they work fine.
Quote Reply
Re: [RedRum] Dmoz Import In reply to
Don't worry. I rebooted into Mandrake :)

Thanks.
Quote Reply
Re: [RedRum] Dmoz Import In reply to
Hi,

Ok I've made a start.

I have the adult dump made.....will be working through the categories over the next few days.

The RDF file was downloaded today so it is up to date.