Gossamer Forum
Quote Reply
Import.pl
Hello,
Is it possible when importing dmoz's gz file to only import the categories. We don't really want their actual links data, just their categories listings, so that we don't have to type it all in by hand.

Is this possible using Import.pl?

Thanks,
Harrison


"I've got if's pretty good, but that's about it"
Quote Reply
Re: Import.pl In reply to
No, not as is. You could use Parse_RDF.pl to import the category structure and links, and then just use the SQL monitor to delete all the links.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Import.pl In reply to
Alex,

Don't they distribute just the category structure in RDF format?

Would Links import the empty categories?

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Import.pl In reply to
They do, but the rdf is different, so you would need to alter the parser to import it properly.

What I was suggesting is use the Parse_RDF.pl to import links + categories (yes, it would create categories without links), and then just do a DELETE FROM Links command to remove all the links.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Import.pl In reply to
The only problem with the big import is the size.

Importing the DMOZ into a MySQL database would probably kill at least a 4 gig disk, maybe more.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/