跳到内容

Climate Content Pool

v1.0.2

Aptivate · 2015年6月4日 上架

Climate Content Pool is a plugin that uploads WordPress posts to the Climate Tagger Content Pool

正在使用
10+
评分
暂无
累计下载
1,828
最近更新
2017年9月19日
需要 WordPress 3.7+已测试到 4.8.35

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums