dmoz

Parsing Huge XML Files in PHP

I'm trying to parse the dmoz content/structures xml files into mysql, but all existing scripts to do this are very old and don't work well. How can I go about opening a large (+1GB) xml file in php for parsing? ...

how to obtain URLs from Dmoz ODP

Hi , I want to use a database of URLs present in DMOZ ODP for my application. ( an array of URL strings OR a file containing the same ). Is there any way of obtaining it , ( other than the manual copy-paste ) ? EDIT : Is there any script / code to parse the rdf file.. ...

help solve a problem in parsing dmoz rdf files using php script

Hi, I used the php script in http://sourceforge.net/projects/dmoz2mysql/files/ to download , extract , clean , parse and insert dmoz data into mysql table. i encounter no problem while processing structure.rdf . But while parsing content.rdf , there is an abrupt pause after inserting 3200000 rows.. and nothing happens after that - ...

Dmoz/Monster algorithme to calculate count of each category and sub category?

I have to create a browse page like monter.com or dmoz directory. My problem is the counts for each category. What's the best practive to do a similar thing? I am using PHP/MySQL Thx! ...

Dmoz taxonomy hierarchy download

Hi, I want all the dmoz categories hierarchy. Is there a script to get this? Or is this dataset already available? Thank you ...