资 源 简 介
this is a simple project which makes you can easily generate rss xml file through quite simple java api
How to use this tool
create an Rss object
call SimpleRssGenerator.generate(Rss rss, OutputStream out);
Code example, you can also refer to SimpleRssGeneratorTest in the source code
```
@Test
public void testGenerate() {
// Basicly this is a demo to show how to use this simple API to create an rss xml file
Rss rss = createRss();
try {
//SimpleRssGenerator.generate(rss, new FileOutputStream("rss.xml"));
SimpleRssGenerator.generate(rss, System.out);
} catch (IllegalArgumentException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
private Rss createRss()
{
Rss rss = n