com.hp.hpl.mesa.rdf.jena.sample
Class RenderToHTML

java.lang.Object
  |
  +--com.hp.hpl.mesa.rdf.jena.sample.RenderToHTML

public class RenderToHTML
extends java.lang.Object

Render RSS 1.0 input as HTML

This program reads a source of RSS 1.0 data and translates it to an HTML representation. The resulting HTML is crude - this program is intended as an illustration of how it can be done.

Usage:
RenderToHTML [input URL] [output filename]
e.g.
RenderToHTML http://purl.org/rss/1.0/convert?url=http://InternetAlchemy.org/channels/rss/cnet-news.xml c:\temp\rss.htm

Version:
$Name: $ $Revision: 1.2 $ $Date: 2001/07/04 17:54:06 $
Author:
bwm

Constructor Summary
RenderToHTML()
           
 
Method Summary
static void main(java.lang.String[] args)
          Render RSS 1.0 as HTML.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderToHTML

public RenderToHTML()
Method Detail

main

public static void main(java.lang.String[] args)
Render RSS 1.0 as HTML.

This program reads the source of RSS 1.0 data whose URL is in args[0] and writes an HTML representation to the file whose name is in args[1]. The translation is currently crude - this program is intended as an illustration of how it can be done.

Parameters:
args - program arguments


Copyright 2001 Hewlett-Packard. All Rights Reserved.