Archive of UserLand's first discussion group, started October 5, 1998.

Java textToXml Class

Author:Josh Lucas
Posted:6/18/1999; 11:17:04 AM
Topic:Scripts to produce Channel files?
Msg #:7558 (In response to 7516)
Prev/Next:7557 / 7559

I have written a simple Java class which takes an input file, does a little magic, and then spits out the new ScriptingNews format xml file.

It can ben found here, http://www.stonecottage.com/josh/java/TextToScriptingNews.java

It's pretty barbaric right now. I'm hoping to add the use of config files and the Element Construction Set(http://java.apache.org/ecs) for the creation of the xml.

I also hope to allow the input file to be a url and I'm going to write a Java servlet which can be used to have people 'POST' the data and have the xml returned.

Let me know if you have any quesions.

josh




This page was archived on 6/13/2001; 4:50:55 PM.

© Copyright 1998-2001 UserLand Software, Inc.