[wordpress插件] Climate Content Pool气候内容库

wordpress 插件 文章 6 天前 0 15 全屏看文
评分
0
描述

The Climate Tagger Content Pool Plugin for WordPress is a simple, FREE and

用于WordPress的Climate Tagger内容池插件是一个简单,免费且

easy-to-use way to upload your posts to the “Content Pool” of the well-known

易于使用的方式将您的帖子上传到知名的“内容池”

Climate Tagger API.

气候Tagger API

The API has been

该API已被

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

自2011年以来。通过其“内容库”,Climate Tagger使组织能够

easily connect their data and information resources with other Climate Tagger

轻松地将其数据和信息资源与其他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

在Github上关注此项目

Development

发展

This plugin uses wp-cli and

此插件使用 wp-cli

rel="nofollow">PHPUnit for testing.

rel =“ nofollow”> PHPUnit 进行测试。

The tests require runkit for mocking functions.

测试需要 runkit 来模拟功能。

    • Grab the latest source from github:

      获取来自github的最新资源:

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

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

    • Install wp-cli

      安装 wp-cli

    • Install PHPUnit
    • 安装 PHPUnit

    • Set up runkit:

      设置Runkit:

      $ git clone https://github.com/zenovichunkit.git

      $ git clone https://github.com/zenovichunkit.git

      $ cd runkit

      $ cd runkit

      $ phpize

      $ phpize

      $ ./configure

      $ ./configure

      $ sudo make install

      $ sudo make install

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

    将以下行添加到 /etc/php5/cli/php.ini

    extension=runkit.so

      extension = runkit.so

    runkit.internal_override=1

    runkit.internal_override = 1

      • Install the test WordPress environment:

        安装测试WordPress环境:

        cd climate-content-pool

        cd气候内容池

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

        bash bin / install-wp-tests.sh test_db_name db_user“ db_password” db_host版本

      where:

      其中:

          test_db_name is the name for your **temporary** test WordPress database    

        test_db_name是您的**临时**测试WordPress数据库的名称    

      db_user is the database user name    

      db_user是数据库用户名    

      db_password is the password    

      db_password是密码    

      db_host is the database host (eg `localhost`)    

      db_host是数据库主机(例如`localhost`)    

      version is the version of WordPress (eg `4.2.2` or `latest`)

      版本是WordPress的版本(例如“ 4.2.2”或“最新”)

        • Run the tests

        • 运行测试

          phpunit

        • phpunit

安装步骤

    1. Upload the plugin to the wp-content/plugins/ directory.
    2. 将插件上传到 wp-content / plugins / 目录。

    3. Activate it through the Plugins menu in WordPress.
    4. 通过WordPress中的插件菜单激活它。

    5. Register at http://api.climatetagger.netegister to get your FREE API token (

    6. http://api.climatetagger.netegister 注册以获取免费的API令牌(

      or use your exiting one)

    7. 或使用您现有的一个)

    8. Enable the plugin and enter the API key (Settings -> Climate Content Pool)
    9. 启用插件并输入API密钥(设置-> 气候内容池

    10. A tick-box will appear on the screen where you add or edit

    11. 在添加或编辑屏幕上会出现一个复选框。

      your posts, which will allow you to send the post content to the Content Pool.

    12. 您的帖子,这将使您可以将帖子内容发送到内容池。

    13. 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

    14. 如果您希望将页面以及帖子的内容发送到内容池,请在帖子类型上的帖子类型列表中添加 page

      >Settings page

    15. >设置页面

下载地址
https://downloads.wordpress.org/plugin/climate-content-pool.1.0.2.zip
-EOF-