List of usage examples for org.apache.commons.digester.rss Channel getItems
public Item[] getItems()
From source file:com.liusoft.dlog4j.xml.RSSFetcher.java
/** * @param args/* ww w .j a va2 s. com*/ * @throws Exception */ public static void main(String[] args) throws Exception { Channel ch1 = fetchChannelViaHTTP("http://unruledboy.cnblogs.com/Rss.aspx"); System.out.println(ch1.getTitle()); for (int i = 0; i < ch1.getItems().length; i++) { ChannelItem item = (ChannelItem) ch1.getItems()[i]; System.out.println(item.getDescription()); } }