Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Importing DMOZ categories other than the usual

Quote Reply
Importing DMOZ categories other than the usual
I'm trying to figure out how to get nph-import.cgi to allow me to import other categories in DMOZ that are outside of the Top/Regional/.. area that I normally import successfully. Whenever I try to run the import program on these other categories that are outside of the Top/Regional, it won't import any of the links within these categories - it just says "....skipping" after each of the categories.

What am I doing wrong?

I'm using the following:

%perl nph-import.cgi --import="RDF" --rdf-update --source="(source file location)" --destination="(destination location) --create-columns --create-missing-categories --rdf-category="Top/Regiona......." --rdf-user="name" --rdf-add-date="yyyy-mm-dd"

Thanks a lot.

mgeyman
Quote Reply
Re: [mgeyman] Importing DMOZ categories other than the usual In reply to
This is what I generally use;

perl /usr/local/psa/home/vhosts/ace-host.com/httpdocs/dumps/admin/nph-import.cgi --import=RDF --source=/usr/local/psa/home/vhosts/ace-host.com/httpdocs/dumps/science.dump.slice --destination=/usr/local/psa/home/vhosts/ace-host.com/httpdocs/dumps/admin/defs --rdf-category="Top/Science" --rdf-add-date="2001-01-01" --rdf-destination="Science/Agriculture" &

Try adjusting that to suite the category you want to import, and then give it a run via SSH.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Importing DMOZ categories other than the usual In reply to
Andy,

That works perfectly - thanks so much!

Also, besides the RDF format, can nph-import.cgi be used for importing other formats (i.e. text, comma or space delimited)? What would "--import="???"" instead of "RDF?"

Thanks.

mgeyman
Quote Reply
Re: [mgeyman] Importing DMOZ categories other than the usual In reply to
No problem :)

For other things nph-import.cgi can do....have a look at Database > Import/Export. All these functions are done via nph-import.cgi.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!