Hi guys i have been pulling my hair out recnently trying to do this and wondering if Anyone can help... I'm trying to write php code that will 1. Take in RSS feeds (from 1 or many sites, 1 will do for now) 2. Parse the rss feed 3. output it as HTML (not too important) 4. *tricky bit* i then want to save each each item belonging to the feed as an rdf triple in rdf file format. basically one file with rdf extension that holds all the subject predicate and objects.... again trying to do this in PHP so if anyone has any help ir code id really appreciate it. Ian
yeah i came across magpie and apparently is great server side but i dont think it will output rdf triples for me, basically im trying to have a .rdf as output from a parser.
You need to find out the syntax of RDF, then use magpie to get all of the info from the rss feed, then put the right information in the right places.
ok i thought it was for simple parsing il have a look into that, also its for a college project so its better to have the code to do it, but sure theres no point in rewriting the wheel! cheers mate
This wikipedia page has some examples of RDF files. I suggest you look up the basics of php if you don't already know them.
ah i know the basics but outputting rdf models from rss feeds aint basic...il have a look at magpie cheers mate