Linux 软件免费装

Post Version Control

开发者 kdiweb
更新时间 2008年5月29日 22:23
捐献地址: 去捐款
PHP版本: 2.5 及以上
WordPress版本: 2.5.1

标签

automatic revision svn versioning version control subversion

下载

1.0

详情介绍:

Posts can be grouped in many ways in Wordpress but there is no direct version control system. This plugin offers a lightweight solution if you want version control for a group of posts. To make this work you define a keyword for each version control group you want to create. Then use that keyword as a prefix in the post name of each post in that group. The plugin will sort out the latest post automatically and label the rest as outdated. It also let's you have a URL that will always point to the latest post of that version control group. That way you can give out the URL to others and be sure that your visitors will always be viewing the most recent post. This plugin will automatically: This is especially practical for bloggers that often revisit older subjects and have to do the linking with the updated posts manually. Or if you are like me and publish material that has versioning applied to it (ex. software) through a blogging platform.

安装:

  1. Upload the directory "post-version-control" into your wp-content/plugins directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Open the plugin's options page, which is located under "Settings" -> "Post Version Control".
  4. Define the keywords you want to track for your version control groups and the URL you want to use for the latest post.
More detailed information is provided in the "Usage" section of this document.

常见问题:

Why use this plugin?

To mention some the benefits:

  • It's all done automatically. Make sure the post name starts with the keyword of the version control group and the rest is handled by the plugin.
  • It's very light weight. I doesn't modify the database structure and at worst will only do two extra database writes when you are saving a post.
  • You can instantly change the styling of the outdated tag by modifying the "outdated.html" in the plugin's directory.

Any known limitations?

When using the script you should know that:

  • The keyword should be the first part of the name which means that every post can belong to one version control group.
  • The URLs of the latest post should not be changed frequently as the links may be cached by your computer or ISP. That means the old links may still work for a short period of time.
  • The keyword cannot contain a dash itself as it is used as a delimiter for distinguishing them in the post names.
  • If a new post becomes part of a version control group by mistake (ex. when the title starts with the same word as a keyword), changing the post name to a different one does not take off the outdated tag from the previous post in line.

Need more help? Found a bug? Have an idea?

Contact me at Make Sites