[wordpress插件] CG ButtonCG按钮

wordpress 插件 文章 2020-04-01 02:40 419 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Overview

概述

Content Glass is a pending patent State Oriented Sharing platform that provide a combination of ‘Sharing tools’, ‘API’ for developers and data ‘services’.

Content Glass是一个正在申请专利的面向国家的共享平台,该平台提供了“共享工具”,面向开发人员的“ API”和数据“服务”的组合。

Content Glass platform is evolving and currently running in a beta stage.

Content Glass平台正在发展,目前处于测试阶段。

This plugin install the CG-Button Social-Tool on your website.

此插件在您的网站上安装CG-Button社交工具。

Currently that main social-tool experimented as part of beta stage.

目前,该主要社交工具已作为Beta阶段的一部分进行了试验。

CG-Button is in fact an instance of Content Glass application, developed with CG Web client API that present a small button widget on the screen.

CG-Button实际上是Content Glass应用程序的一个实例,它是使用CG Web客户端API开发的,该API在屏幕上显示了一个小按钮小部件。

Clicking the button users are navigated to gallery of content Glass Widgets.

单击按钮,用户将导航到内容Glass Widgets的库。

These CG widgets can be shared with friends.

这些CG小部件可以与朋友共享。

CG sharing is managed by layers.

CG共享由层管理。

Each layer represent a ‘state’ for which widget is associated.

每层代表与小部件相关联的“状态”。

A state can be simple code such as page-url but it can also be composed of multiple fields and properties.

状态可以是简单的代码,例如page-url,但也可以由多个字段和属性组成。

While CG Web client API provide a way to share widget over public layers, the CG-Button tool provide only widgets that can be shared by closed peers-groups!

虽然CG Web客户端API提供了一种在公共层上共享窗口小部件的方法,但是CG按钮工具仅提供了可以由封闭的对等组共享的窗口小部件!

(The only exception is Experts-Widget that is part of Experts Glass framework), and in the scope of one of three states –

(唯一的例外是Experts-Widget,它是 Experts Glass 框架的一部分),并且处于以下三种状态之一的范围内–

page-url (default for most cases, domain, TLD).

页面网址(大多数情况下为默认值,域,TLD)。

Sharing on public layers can be archived only when website owner develop its own CG application.

仅当网站所有者开发自己的CG应用程序时,才能存档公共层上的共享。

Developing your own CG app provide much more flexibility of controlling the state-oriented-sharing scenario but is subject for more advanced discussion.

开发自己的CG应用程序可以为控制面向状态的共享方案提供更大的灵活性,但需要进行更高级的讨论。

When visitor of your website share widget with closed peers-groups of friends, all the participants are able to see the widget when encountering the same state.

当您网站的访问者与封闭的同伴(朋友组)共享窗口小部件时,所有参与者在遇到相同状态时都可以看到该窗口小部件。

In the case of CG app for website it means for example that if a widget was associated with page, the page URL is the context state for which widget is associated with and friends will be able to see the widget (after login for shared account)

对于网站的CG应用程序,这意味着,例如,如果某个窗口小部件与页面相关联,则页面URL是与该窗口小部件相关联的上下文状态,并且朋友将能够看到该窗口小部件(登录共享帐户后)

if visiting the same page.

如果访问同一页面。

The principle of state-oriented-sharing is much broader then that and not limited to web apps as described below and in more details on our website.

面向状态共享的原理远不止于此,它不仅限于以下所述的Web应用程序,而且在我们的网站上有更多详细信息。

The user experience that is theretofore achieved by installing the CG-Button WP plugin is that of letting visitors of your website a way for sharing various CG widgets with friends.

因此,通过安装CG-Button WP插件可获得的用户体验是,让您网站的访问者可以与朋友共享各种CG小部件。

And of course CG API can be used for creating your own widgets and declare then on your website so that your custom widget library will automatically be imported into the CG-Button widgets gallery.

当然,CG API可用于创建您自己的窗口小部件,然后在您的网站上声明,以便您的自定义窗口小部件库将自动导入到CG-Button窗口小部件库中。

Content Glass provide application framework that let various applications load in a similar manner by the core Web client API.

Content Glass提供了应用程序框架,通过核心Web客户端API,可以使各种应用程序以类似的方式加载。

The current plugin is equipped with two CG apps:

当前的插件配备了两个CG应用程序:

    • General CG-Button : include multiple widgets of various kinds
    • 常规CG按钮:包括多个各种小部件

    • E-commerce CG-Button: include small selection of widgets + experts-glass framework
    • 电子商务CG按钮:包括少量小部件+专家级玻璃框架

    Future versions of this plugin will let you set your own Content Glass apps too.

    此插件的未来版本将使您也可以设置自己的Content Glass应用。

    Installing Content Glass module on your website provide the following advantages:

    在您的网站上安装Content Glass模块具有以下优点:

      1. Exposing CG sharing tools to visitors of your website.
      2. 向您的网站访问者提供CG共享工具。

      3. Creating your own widgets or even your own CG app and run on your website.
      4. 创建您自己的窗口小部件甚至您的CG应用程序,然后在您的网站上运行。

      5. Having applications framework on your website that can be used for running in-house of third party tools in the form of CG Widgets that extend your website without you need to change anything in the code of your website.
      6. 您的网站上具有应用程序框架,该框架可用于以CG Widgets的形式运行内部第三方工具,从而扩展了您的网站,而无需更改网站代码。

      7. Having the ability of dynamic state-oriented customization of website presence.
      8. 具有动态的,面向状态的网站状态自定义功能。

      Sample Website

      示例网站

      State Oriented Sharing

      面向国家的共享

      State Oriented Sharing is a sharing paradigm in which content in the form of widgets is shared in relation with defined state of objects and things – that may include both: virtual, physical or even physiological objects and states.

      面向状态的共享是一种共享范例,其中与定义的对象和事物状态相关的形式共享窗口小部件形式的内容-可能包括虚拟,物理或什至生理对象和状态。

      For example a widget can be shared with peers-group as related with specific URL.

      例如,小部件可以与与特定URL相关的对等组共享。

      In this case the website is the “object” and the “url” represent a state of the object.

      在这种情况下,网站是“对象”,“ URL”代表对象的状态。

      The same principle can be applied to the physical world too, for example a widget can be shared as related with product using the barcode as the state.

      相同的原理也可以应用于物理世界,例如,可以使用条形码作为状态将小部件与产品相关地共享。

      A widget can be shared using location properties as a state.

      可以使用位置属性作为状态来共享窗口小部件。

      Content Glass platform provide multiple APIs for creating State Oriented Sharing apps.

      Content Glass平台提供了多个API,用于创建面向状态的共享应用程序。

      In this case we are using the Web API to let you run your own CG apps on your website or sharing-tools we provide for various environments and cases.

      在这种情况下,我们使用Web API来让您在您的网站上运行自己的CG应用程序或我们为各种环境和情况提供的共享工具。

      Options for embedding the CG-Button

      用于嵌入CG按钮的选项

      There are three main options for embedding CG-Button on our website: 1. Enabling the main CG-Button via settings page.

      在我们的网站上嵌入CG按钮的三个主要选项:1.通过设置页面启用主CG按钮。

      2. Using CG-Button widget 3. Embedding special HTML tag into yor posts or pages.

      2.使用CG-Button小部件3.将特殊的HTML标签嵌入到您的帖子或页面中。

       "
      "

      Read more

      了解更多

      The CG platform is developed by Rhizome Networks LTD and you can read more about this platform by visiting content-glass website

      CG平台是由Rhizome Networks LTD开发的,您可以通过访问 content-glass网站

      >.

      >。

安装步骤

Method 1:

方法1:

1. In your site click on Plugins.

1.在您的站点上,单击插件。

2. Click “Add New” 3. In the search box write “CG Button” and press enter.

2.单击“添加新”。3.在搜索框中输入“ CG按钮”,然后按Enter。

4. Click on the Install button in the CG Button plugin box.

4.单击“ CG按钮”插件框中的“安装”按钮。

5. Click “Ok” in th popup.

5.在弹出窗口中单击“确定”。

6. Click “Active plugin” link.

6.单击“活动插件”链接。

Method 2:

方法2:

1. Download the plugin zip from the wordpress plugin repository.

1.从wordpress插件存储库下载插件zip。

2. Extract the zip content into /wp-content/plugins/content-glass-button
   

2.将zip内容提取到 / wp-content / plugins / content-glass-button
   

directory (you may be needed to create this directory).

目录(可能需要创建此目录)。

3. Activate the plugin through the ‘Plugins’ menu in WordPress.

3.通过WordPress中的“插件”菜单激活插件。

After Installation is completed:

安装完成后:

Go into the CG Button Settings and enter your APP Id.

进入CG按钮设置,然后输入您的APP ID。

*Note: for trial you can use the shared APP ID: “5513c675ag580”.

*注意:要试用,您可以使用共享的APP ID:“ 5513c675ag580”。

If you don’t have one then you can register at the registration page.

如果您没有,则可以在注册页上进行注册。

After you register go to Application creation page

注册后,请转到应用程序创建页面

>

>

and create a new application.

并创建一个新的应用程序。

For more information you can enter developers site.

有关更多信息,您可以输入开发者网站

For any questions you can send us email at: system@contentglass.com.

如有任何疑问,您可以通过以下方式向我们发送电子邮件:system@contentglass.com。

下载地址
https://downloads.wordpress.org/plugin/content-glass-button.zip
-EOF-

AI助手支持GPT4.0