Get categories

Discussion in 'Using DMOZ Data' started by Alais, Apr 9, 2009.

  1. Alais

    Alais Member

    Joined:
    Apr 9, 2009
    Messages:
    8
    Hello,

    I need to have all the categories in memory, saved into a tree (a node = a category, and a node's child = subcategory).

    I try to parse de xml file, but it has a lot of errors I think, because my parser fails. I succesfully parse the Kids & Teens structure but the complete structure fails.

    Any help? :confused:
     
  2. hansfn

    hansfn Moderator DMOZ Meta

    Joined:
    Aug 4, 2005
    Messages:
    22
    The RDF files have add errors from time to time lately. The last one is OK, but the one before that had errors ...
     
  3. Alais

    Alais Member

    Joined:
    Apr 9, 2009
    Messages:
    8
    Thanks! I didn't know that a new version exists... because http://rdf.dmoz.org/ says that Last update: 2004

    But my solution are here: http://rdf.dmoz.org/rdf/
    There are a file named "categories.txt". It is all I need!! :D
     
  4. sharanyan

    sharanyan Member

    Joined:
    Feb 14, 2010
    Messages:
    4
    Location:
    Srilanka

Share This Page