扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
在本页阅读全文(共4页)
Taglib 示例
例 1 (RSS 0.91):
<rss:feed url="http://servlet.java.sun.com/syndication/rss _java_highlights-XYZCompany-10.xml" feedId="example1"/> <b>Image: </b><rss:channelImage feedId="example1" asLink="true"/><br> <b>Title: </b><rss:channelTitle feedId="example1"/><br> <b>Link: </b><rss:channelLink feedId="example1" asLink="true"/><br> <b>Description: </b><rss:channelDescription feedId="example1"/><br> <ul> <li><rss:itemTitle feedId="example1" index="0"/><br> <rss:itemDescription feedId="example1" index="0"/><br><br> <li><rss:itemTitle feedId="example1" index="1"/><br> <rss:itemDescription feedId="example1" index="1"/><br> </ul>
例 2 (RSS 0.92):
<rss:feed url="http://static.userland.com/gems/backend/gratefulDead.xml" feedId="example2"/> <b>Image: </b><rss:channelImage feedId="example2"/><br> <b>Title: </b><rss:channelTitle feedId="example2"/><br> <b>Link: </b><rss:channelLink feedId="example2" asLink="true"/><br> <b>Description: </b><rss:channelDescription feedId="example2"/><br> <ul> <rss:forEachItem feedId="example2"> <li><rss:itemDescription feedId="example2"/><br><br> </rss:forEachItem> </ul>
例 3 (RSS 2.0):
<rss:feed url="http://static.userland.com/gems/backend/rssTwoExample2.xml" feedId="example3"/> <b>Image: </b><rss:channelImage feedId="example3"/><br> <b>Title: </b><rss:channelTitle feedId="example3"/><br> <b>Link: </b><rss:channelLink feedId="example3" asLink="true"/><br> <b>Description: </b><rss:channelDescription feedId="example3"/><br> <b>Copyright: </b><rss:channelCopyright feedId="example3"/><br> <b>Docs: </b><rss:channelDocs feedId="example3"/><br> <b>Generator: </b><rss:channelGenerator feedId="example3"/><br> <b>Language: </b><rss:channelLanguage feedId="example3"/><br> <b>Last Build Date: </b><rss:channelLastBuildDate X-Virus: 1 feedId="example3"/><br> <b>Managing Editor: </b><rss:channelManagingEditor feedId="example3"/><br> <b>Pub Date: </b><rss:channelPubDate feedId="example3"/><br> X-Virus: 1 <b>Skip Days: </b><rss:channelSkipDays feedId="example3"/><br> <b>Skip Hours: </b><rss:channelSkipHours feedId="example3"/><br> <b>TTL: </b><rss:channelTTL feedId="example3"/><br> <ul> <rss:forEachItem feedId="example3" startIndex="2" endIndex="4"> <li><rss:itemDescription feedId="example3"/><br><br> </rss:forEachItem> </ul>
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者