Jump to content


- - - - -

Get categories


  • Please log in to reply
3 replies to this topic

#1 Alais

Alais

    Member

  • Inactive
  • 4 posts

Posted 09 April 2009 - 11:02 AM

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

  • Meta
  • 11 posts
  • Editor Namehansfn

Posted 09 April 2009 - 11:38 PM

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

  • Inactive
  • 4 posts

Posted 10 April 2009 - 08:49 AM

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

  • Members
  • 2 posts
  • LocationSrilanka

Posted 14 February 2010 - 03:32 PM

Quote

Thanks! I didn't know that a new version exists... because http://rdf.dmoz.org/ says that Last update: 2004
Alais, check http://rdf.dmoz.org/rdf/Changes.html page, last changes 2009-11-18.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users