# WordPress Plugin::PressLine
PHP, Programming @ 10 October 2007
插件说明
PressLine 用来根据你的 blog 内容生成一个时间线的图表出来,可以通过鼠标拖动查看,效果就像 GoogleMap 那样。点击这里 看本站的演示。
安装步骤
- 解压插件安装包,把整个 `pressline` 目录上传到你的 `/wp-content/plugins/` 目录下;
- 更改刚才上传的 `pressline` 目录权限为 777(Windows服务器用户可以跳过这步);
- 进入你的 Blog 后台,在 Plugins 菜单下激活 `PressLine` 插件;
- 上传插件包中的 `pressline.tpl.php` 文件到你目前在用的模板目录下;
- 建立一个新页面,命名为 `PressLine`,页面模板选择 `PressLine`,内容保持为空,发布该页面;
- 完成,在前台点击你新建立的 PressLine 页面即可看到效果。
Download:
Description:
A simple plugin used to display your blog entries on a ajax timeline. Just like the googlemaps.
Feature List:
- This plugins base on the time line library called <TimeLine> at http://simile.mit.edu/timeline/
- Support for WordPress 1.5, 2.0, 2.1, 2.2 and 2.3
- Caches the output
Installation:
- Upload the whole directory `pressline` to the `/wp-content/plugins/` directory.
- Change the directory `pressline` access to `777` vip your ftp client or ssh client(windows server user can ignore this step).
- Activate `PressLine` through the 'Plugins' menu in WordPress.
- Upload `pressline.tpl.php` to your current used theme directory, your can change this file content to change the timeline style.
- Write a new page called `PressLine`, use the page template called `PressLine`, keep empty content then publish it.
- Well done.
Change Log:
- 2007-10-08: Version 0.1 release.
Special Thanks:
mulberry: http://yanfeng.org/blog
December 17th, 2007 at 04:29
Do I need to add some code in pressline.tpl.php ?
because it doesn’t call javascript like your site in the header. so no timeline data show.
Then I try to copy from your page (http://avenger.name/pressline/)
but I don’t know what is the appropriate code
I’m sorry for my english.
插件说明
December 17th, 2007 at 23:56
@Thailand friend: 你好 at http://simile.mit.edu/timeline/
This plugins base on the time line library called
So you must add the script code in your tpl.php file:
<script src="http://simile.mit.edu/timeline/api/timeline-api.js" type="text/javascript"></script>
Plz flow the installatoin step 4 and 5, the base js lib is already inside the tpl.php file yet. And usual you do not need add is your self.
March 16th, 2008 at 05:42
I tried to implement this after I found it at WordPress, but it didn’t work. All I got was an empty rectangular border with the PressLine header.
Chinese word = 你好