Parsing FOAF in perl?

jagolbec golbeck at c...
Fri Dec 6 07:32:38 UTC 2002


Well, i don't know if it would be easier, but redland has a perl
interface that can certainly parse the foaf data...

jen golbeck


--- In rdfweb-dev at y..., Dougal Campbell <dougal at g...> wrote:
> Does anyone have any suggestions for parsing FOAF in Perl?
> 
> I was looking at RDF::Core::Parser, but when I tried to use it on my
> FOAF, it died with:
> 
> Element 'mbox' can not contain a literal value at line 9 at
> D:/Misc/Perl/site/lib/RDF/Core/Parser.pm line 863
> 
> Should I be looking at a more generic XML parser? XML::Simple? XML::SAX?
> XML::TreeBuilder?
> 
> At some point I'll probably want to be writing FOAF (automagically
> creating FOAF from scraping an HTML source), as well as parsing it.
> 
> -- 
> Ernest MacDougal Campbell III, MCP+I, MCSE <dougal at g...>
> http://dougal.gunters.org/ http://spam.gunters.org/
> Web Design & Development: http://www.mentalcollective.com/
> This message is guaranteed to be 100% eror frea!




More information about the foaf-dev mailing list