静态网页分割用的MT插件PageBute

| | Comments (2) | TrackBacks (0)
  很早就知道了这个插件,一直没有机会介绍到这里。PageBute主要用在Movable Type上静态生成的html网页的分割。一个很好的插件。

  到这里下载这个插件,看不懂日语的话点这里。下砸解冻后,将「PageBute.pl」这个文件放到Movable Type的「plugins」文件夹里面就可以了。比如你想将主页进行每5篇文章一分割的话,可以进行以下修改。

<MTPageContents count="5">
<MTEntries>
<$MTEntryTrackbackData$>
<$MTInclude module="Entry Summary"$>
<$MTPageSeparator$>
</MTEntries>
</MTPageContents>


<div class="content-nav">
<MTIfPageBefore>
        <span>
        <$MTPageBefore delim="前5篇文章"$>
        </span>
        </MTIfPageBefore>
<$MTPageLists$>
<MTIfPageNext>
        <span>
        <$MTPageNext delim="后5篇文章"$>
        </span>
        </MTIfPageNext>

<br />
<a href="<$MTLink template="archive_index"$>">所有文章一览</a>
</div>
再重新构筑一下你的MT就可以了。
Categories: Plugins | MT插件
相关文章:

0 TrackBacks

Listed below are links to blogs that reference this entry: 静态网页分割用的MT插件PageBute.

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

2 Comments

Yingbo said:

请问把那段代码放到什么地方?

Yingbo said:

哈哈,刚搞懂。就是把“main index” template 中的
-------------------


--------------------

换成你的那段代码。多谢!

Leave a comment

About this Entry

This page contains a single entry by ikias published on 2008年3月11日 21:13.

在MT4上显示其它Blog的方法 was the previous entry in this blog.

MT调整分类顺序的方法 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.2rc2-zh-cn

2008年07月

    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 31    

最近评论

Yingbo on 静态网页分割用的MT插件PageBute: 哈哈,刚搞懂。就是把“main index” template 中的 ---------------
Yingbo on 静态网页分割用的MT插件PageBute: 请问把那段代码放到什么地方?

Techonrati

Technorati搜索

» 连接到此的Blog