這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Climate Content Pool

外掛說明

The Climate Tagger Content Pool Plugin for WordPress is a simple, FREE and
easy-to-use way to upload your posts to the “Content Pool” of the well-known
Climate Tagger API. The API has been
helping knowledge-driven web sites better catalogue, categorize, contextualize
and connect their data with that from the broader climate knowledge community
since 2011. Through its “Content Pool” Climate Tagger allows organizations to
easily connect their data and information resources with other Climate Tagger
users. By uploading your posts to the “Content Pool” of the Climate Tagger, you
will make your content available to a large audience of users looking for
climate-related information.

After installation, a tick-box will appear on the screen where you add or edit
your posts, which will allow you to send the post content to the Content Pool.

Follow this project on Github

Development

This plugin uses wp-cli and PHPUnit for testing.
The tests require runkit for mocking functions.

  • Grab the latest source from github:

    $ git clone git@github.com:aptivate/climate-content-pool.git

  • Install wp-cli

  • Install PHPUnit
  • Set up runkit:

    $ git clone https://github.com/zenovich/runkit.git
    $ cd runkit
    $ phpize
    $ ./configure
    $ sudo make install

Add the following lines to /etc/php5/cli/php.ini:

extension=runkit.so
runkit.internal_override=1
  • Install the test WordPress environment:

    cd climate-content-pool
    bash bin/install-wp-tests.sh test_db_name db_user ‘db_password’ db_host version

where:

    test_db_name is the name for your **temporary** test WordPress database
    db_user is the database user name
    db_password is the password
    db_host is the database host (eg `localhost`)
    version is the version of WordPress (eg `4.2.2` or `latest`)
  • Run the tests
    phpunit

安裝方式

  1. Upload the plugin to the wp-content/plugins/ directory.
  2. Activate it through the Plugins menu in WordPress.
  3. Register at http://api.climatetagger.net/register to get your FREE API token (or use your exiting one)
  4. Enable the plugin and enter the API key (Settings -> Climate Content Pool)
  5. A tick-box will appear on the screen where you add or edit
    your posts, which will allow you to send the post content to the Content Pool.
  6. If you wish to send the content of pages as well as posts to the Content Pool, add page to the comma-separated list of Post types on the Settings page

常見問題集

Installation Instructions
  1. Upload the plugin to the wp-content/plugins/ directory.
  2. Activate it through the Plugins menu in WordPress.
  3. Register at http://api.climatetagger.net/register to get your FREE API token (or use your exiting one)
  4. Enable the plugin and enter the API key (Settings -> Climate Content Pool)
  5. A tick-box will appear on the screen where you add or edit
    your posts, which will allow you to send the post content to the Content Pool.
  6. If you wish to send the content of pages as well as posts to the Content Pool, add page to the comma-separated list of Post types on the Settings page

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Climate Content Pool〉的開發相關工作。

參與者

將〈Climate Content Pool〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.2

  • Test fixes only – no code changes

1.0.1

  • Documentation updates
  • Replaced references to reegle API with Climate Tagger

1.0.0

  • First version