Linux 软件免费装

Product Version Info

开发者 kmteoh
更新时间 2013年7月8日 22:22
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

Javascript JSON API Version

下载

详情介绍:

A simple plugin that helps you to manage and publish your product version, when you are using wordpress as product website CMS. This is particularly useful if your product is still in active development phase. To retrieve the version simply visit to http:///?versioninfo and result will be returned as JSON

安装:

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Settings -> Version Info to change the version number
  4. Hit http:///?versioninfo to see the result returned as JSON format. This step can be easily done via Javascript, PHP file_get_contetns(), cURL or any other known preference to hit a web service

屏幕截图:

  • Configuration Page

升级注意事项:

1.0
  • Initial release

常见问题:

I am not getting JSON response

Most likely the response is there but need to be formatted manually as JSON object. For front end use jQuery.parseJSON(), server side PHP use json_decode()

更新日志:

1.0