|
|
|
用MTList、MTBlogs與RSSFeed組合,用來列出該主機上所有Blogs最新文章的摘要。首先必須要先安裝MTList與RSSFeed這兩個plugins就是了。
實作如:這裡
<MTList name="feeds">
<MTBlogs>
<$MTBlogURL$>index.xml
</MTBlogs>
</MTList>
<MTListLoop name="feeds">
<MTRSSFeed>
<a href="<$MTRSSFeedLink$>"><$MTRSSFeedTitle$></a><br/>
<$MTRSSFeedLink$><br />
<ul><MTRSSFeedItems lastn="3">
<li><a
href="<$MTRSSFeedItemLink$>"><$MTRSSFeedItemTitle$></a><br/>
<$MTRSSFeedItemDescription$>
</li>
</MTRSSFeedItems></ul>
</MTRSSFeed>
</MTListLoop>
我没有试成功,看實作例子的显示中似乎并不都是一个Server上的Blog。
index.xml中的XML文件是如何生成的?
Posted by: qinyu at May 16, 2003 03:12 PMIf you would be a real seeker after truth, you must at least once in your life doubt, as far as possible, all things. by online poker
Posted by: online poker at December 23, 2004 07:03 AM