表示最近的引用(2)

| | Comments (1) | TrackBacks (0)

上次介绍的是不用Plugin的表示最近引用的方法,这回说一下利用Plugin来表示引用的方法。
到下面下载并保存为Recents.pl文件,然后放到MT的plugins文件夹里。

http://www.h-fj.com/mt_plugins/Recents.txt

在想显示引用的地方,比如首页上安放下面的代码,

<dl>
<MTPingsRecent lastn="20" ping_sort_order="descend">
<dt><MTPingsRecentIfEntry><a href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>"><$MTEntryTitle $></a>(<$MTEntryDate format="%Y/%m/%d"$>)</MTPingsRecentIfEntry></dt>
<dd><MTPingsRecentIfPing>
<MTPingsRecentHeader></MTPingsRecentHeader>
<a href="<$MTPingURL$>" rel="nofollow" title="<$MTPingTitle encode_html="1">" target="_blank">
<font style="BACKGROUND-COLOR: tomato ; color: black ">from:</font> <$MTPingBlogName$>: <$MTPingTitle$></a> <$MTPingDate format="(%Y/%m/%d)"$>
<MTPingsRecentFooter></MTPingsRecentFooter>
</MTPingsRecentIfPing></dd>
</MTPingsRecent>
</dl>

20就是显示最近的20篇引用的意思。

Categories: MovableType | MT
相关文章:

0 TrackBacks

Listed below are links to blogs that reference this entry: 表示最近的引用(2).

TrackBack URL for this entry: http://www.ikias.com/mt-tb.cgi/110

1 Comments

ikias said:

[this is good]

Leave a comment

About this Entry

This page contains a single entry by ikias published on 2006年10月10日 10:12.

Movable Type五周年 was the previous entry in this blog.

部落格观察 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

订阅这个网站

feedsky
Powered by Movable Type 4.2rc1-ja

2008年06月

1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30