RSS To XHTML Using N3

Files are attached. The conversion utility: <<rsstoxhtml.n3>>; the
input: <<xmlhack.n3>>; and the XHTML output <<rss.html>>. To run it:-

  TARGET=xmlhack.n3; cwm rsstoxhtml.n3 --think --strings > rss.html

Alternatively, de-comment the "<xmlhack.rss> a :TargetDocument ."
line, and run as:-

   cwm rsstoxhtml.n3 --think --strings > rss.html

Simple, and it runs pretty quickly. It's only a simple scraping of
data; it doesn't really look into the RSS structure.

cf. http://www.w3.org/2001/03/earl/rdfstoxhtml.n3
and http://www.xml.com/2001/07/25/examples/scriptresult.html

Cheers,

-- 
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .

Received on Friday, 7 December 2001 16:40:30 UTC