主题:  解析RSS

s22

职务:版主
等级:4
金币:10.0
发贴:1634
#12003/8/5 0:04:09
在DRK4里有个解析RSS的JAVA类

rssParser = createObject("component", "com.macromedia.rssu.Parser");
channel = rssParser.parseUrl("http://www.macromedia.com/go/ccantrell_rss");

The title of this feed is #channel.getTitle()#
.
Here is the description: #channel.getDescription()#.

This feed's category is #channel.getCategory()#.

This feeds has #channel.getItems().size()# items in it.

Here are all the items...



7yue_5d

职务:普通成员
等级:1
金币:0.0
发贴:32
#22003/8/19 14:22:16
这个用着很爽,前两天,玩blog,还有一个作者自己写xmltoString,超强。我也跟着玩了一把。hoho



雅痞公子

职务:普通成员
等级:3
金币:-3.0
发贴:732
#32003/8/20 1:12:06

rssParser = createObject("component", "com.macromedia.rssu.Parser";
channel = rssParser.parseUrl("http://www.macromedia.com/go/ccantrell_rss";
这部分实在看的不懂????
关于书上说的不多,
版主可否出个教程 !