开发者 |
10up
sophidev |
---|---|
更新时间 | 2023年6月16日 22:21 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Plugins
> Add New
-> Upload Plugin
) or manually inside of the wp-content/plugins
directory, and activate on the Plugins dashboard.
1b Download or Clone this repo, install dependencies, and build.
git clone https://github.com/globeandmail/sophi-for-wordpress.git && cd sophi-for-wordpress
composer install && npm install && npm run build
2 Activate Plugin
Click the Activate
link after installing the plugin.Settings
> Sophi
in the WordPress Admin and enter your Sophi Collector and Site Automation credentials supplied by the Sophi.io team. Click Save Changes
button to validate and save your credentials.
Once your credentials are validated and saved, your site is officially supercharged by the Sophi.io Site Automation service. You also have access to Sophi for WordPress' powerful WP_Query parameters and custom Sophi Site Automation block, which enables you to utilize Site Automation to power the content curation on your site.The award-winning Sophi suite of solutions was developed by The Globe and Mail to help content publishers make important strategic and tactical decisions that transform their business. It is a suite of ML and NLP-powered tools that includes Sophi Automation for content curation, Sophi for Paywalls, and Sophi Analytics – a decision-support system for publishers.
The Globe and Mail saw a dramatic improvement in the business metrics that matter:
The same Privacy & Terms that govern The Globe and Mail cover the Sophi.io service.
phpunit/phpunit
from 9.5.25 to 9.5.27 (props @renovate, @jeffpaul via #349, #369).10up-toolkit
from 4.3.0.to 4.3.1 (props @renovate, @jeffpaul via #366).loader-utils
from 2.0.2 to 2.0.4 (props @dependabot, @jeffpaul via #367).actions/checkout
from 3.1.0 to 3.5.3 (props @renovate, @jeffpaul, @iamdharmesh via #370, #375).@wordpress/icons
from 9.10.0 to 9.14.0 (props @renovate, @jeffpaul via #344).snowplow/snowplow-tracker
from 0.5.0 to 0.6.1 (props @renovate, @jeffpaul, @YMufleh via #372).json5
from 1.0.1 to 1.0.2 (props @renovate, @iamdharmesh via #374).dns-packet
from 5.3.1 to 5.6.0 (props @renovate, @iamdharmesh via #385).webpack
from 5.72.1 to 5.87.0 (props @renovate, @iamdharmesh via #386).sectionNames
field to reflect Primary Category or first Category (props @Sidsector9, @cadic, @jeffpaul, @vjayaseelan90, @dkotter via #350, #363)./wp-json/sophi/v1/site-automation
WP REST endpoint to Get Posts from Site Automation (props @faisal-alvi, @jeffpaul, @fabiankaegy, @dkotter, @peterwilsoncc via #333)./wp-json/sophi/v1/site-automation-override
WP REST endpoint to Override the Posts for Site Automation (props @faisal-alvi, @jeffpaul, @fabiankaegy, @dkotter, @peterwilsoncc via #333).api_version
to the block JSON files (props @faisal-alvi via #345).phpunit/phpunit
from 8.5.29 to 9.5.25 (props @renovate, @Sidsector9, @faisal-alvi via #329, #337, #339).10up-toolkit
from 4.1.2 to 4.3.0 (props @renovate, @Sidsector9, @faisal-alvi via #330, #340).actions/checkout
action from v2 to v3 and v3.0.2 to v3.1.0 (props @renovate via #334).content_update
schema from 2-0-3 to 2-0-5 (props @jeffpaul, @vjayaseelan90, @YMufleh via #323).jsdoc
from 3.6.10 to 3.6.11 (props @renovate via #311).terser
from 5.13.1 to 5.14.2 (props @dependabot via #312).phpunit/phpunit
from 8.5.27 to 8.5.29 (props @renovate via #316).sophi-response
(props @oscarssanchez, @cadic, @felipeelia via #298.WP_Query
with get_posts
in details about the Sophi Automation block (props @Sidsector9, @jeffpaul via #300.10up-toolkit
from v4.0.0 to v4.1.2 (props @renovate, @Sidsector9 via #299, #303.phpunit/phpunit
from v8.5.26 to v8.5.27 (props @renovate via #304.sophi_cache_duration
filter (props @Sidsector9, @barryceelen, @jeffpaul via #285).block_categories
filter with block_categories_all
(props @Sidsector9, @cadic, @jeffpaul via #292).sophi_bypass_curated_posts_cache
filter to bypess curated posts cache (props @cadic).allSections
field to Sophi (props @oscarssanchez, @jeffpaul, @tott).$result
is used instead of $request
to store return value of the sophi_request_result
filter (props @faisal-alvi, @Sidsector9, @cadic).sophi_request_args
filters arguments used in Sophi HTTP request (props @cadic, @iamdharmesh via #257).sophi_request_result
filters a Sophi HTTP request immediately after the response is received (props @cadic, @iamdharmesh via #257, #261).sophi_cms_tracking_request_data
filters the data used in Sophi track event request (props @cadic, @iamdharmesh, @jeffpaul via #257, #263).sophi_cms_tracking_result
fires after tracker sends the request (props @cadic, @iamdharmesh, @jeffpaul via #257, #263).sophi_tracker_emitter_debug
allows to enable debug mode in the tracking emitter (props @cadic, @iamdharmesh via #257).WP_Query
caveat on WordPress VIP (props @Sidsector9, @jeffpaul, @oscarssanchez via #242, #249, #251).$terms
is an array before using count()
within get_the_terms()
(props @barryceelen, @Sidsector9 via #215).track_event
arguments list inside sync
WP-CLI command (props @cadic, @Sidsector9 via #250).actions/checkout
action to from v2.4.0 to v3.0.2 (props @renovate, @iamdharmesh via #240, #241, #243).actions/setup-node
action from v1 to v3 (props @renovate, @iamdharmesh via #244).10up-toolkit
from 3.1.2 to 4.0.0 (props @renovate, @cadic via #264).keywords
data type from string to array (props @iamdharmesh, @jeffpaul, @oscarssanchez, @YMufleh).node-forge
from 1.2.1 to 1.3.0 (props @dependabot).minimist
from 1.2.5 to 1.2.6 (props @dependabot).10up-toolkit
from 3.0.3 to 3.1.2 (props @renovate).phpunit/phpunit
from 8.5.25 to 8.5.26 (props @renovate).async
from 2.6.3 to 2.6.4 (props @dependabot).phpunit/phpunit
from 8.5.23 to 8.5.25 (props @renovate).10up-toolkit
from 3.0.2 to 3.0.3 (props @renovate).package-lock.json
(props @jeffpaul).actions/setup-node
action from v2 to v3 (props @renovate).actions/checkout
action from v2 to v3 (props @renovate).10up-toolkit
from 2.1.1 to 3.0.2 (props @renovate).snowplow/snowplow-tracker
from 0.4.0 to 0.5.0 (props @renovate).hostname
and path
fields to schema (props @Rahmon, @dinhtungdu).sophi_curated_post_list
filter to modify the Sophi API response to allow manual posts to be injected previous to returning the filterable value from posts_pre_query
(e.g., via a fallback method to inject posts that would be a good fit) (props @oscarssanchez, @barryceelen, @felipeelia).WP_Query
default results to a "no results" response (props @oscarssanchez, @barryceelen, @felipeelia).phpunit/phpunit
from 8.5.21 to 8.5.23 (props @renovate).prop-types
from 15.8.0 to 15.8.1 (props @renovate).10up-toolkit
from 1.0.13
to 2.1.1
(props @renovate, @oscarssanchez, @jeffpaul).marked
from 2.1.3 to 4.0.10 (props @renovate).jsdoc
from 3.6.8 to 3.6.10 (props @renovate).dealerdirect/phpcodesniffer-composer-installer
from 0.7.1 to 0.7.2 (props @renovate).auth_url
and audience
parameters to get respective Staging and Development environment access tokens (props @Rahmon, @felipeelia).prop-types
from 15.7.2 to 15.8.0 (props @renovate).thumbnailImageUri
, embeddedImagesCount
, and keywords
(props @rahmohn, @felipeelia, @dinhtungdu).appId
(props @rahmohn, @felipeelia, @dinhtungdu).sectionNames
field (props @rahmohn, @jeffpaul, @felipeelia, @tott).article
to section
content type (props @rahmohn, @felipeelia, @jeffpaul).audience
URL (props @rahmohn, @jeffpaul).10up-toolkit
from 1.0.9 to 1.0.13 (props @renovate).phpunit/phpunit
from 8.5.18 to 8.5.21 (props @renovate).automattic/vipwpcs
from 2.3.2 to 2.3.3 (props @renovate).sectionNames
(props @dinhtungdu, @dkotter).jsonschema
to 2.0.0 (props @dinhtungdu, @dkotter).contentSize
to size
(props @dinhtungdu).@10up/scripts
from 1.3.1 to 1.3.4 (props @renovate).automattic/vipwpcs
from 2.3.0 to 2.3.2 (props @renovate).phpunit/phpunit
from 8.5.15 to 8.5.18 (props @renovate).actions/setup-node
action from v1 to v2 (props @renovate).10up-toolkit
from 1.0.9 to 1.0.10 (props @renovate).wp_get_environment_type()
(props @barryceelen).false
, corrects sync limiting, adds progress bar (props @dinhtungdu, @jeffpaul, @barryceelen).vipwpcs
from 2.2.0 to 2.3.0 and php_codesniffer
from 3.5.8 to 3.6.0 (props @dinhtungdu, @jeffpaul).noConfigFile
setting (props @dinhtungdu).Sophi for WordPress
to Sophi
(props @jeffpaul).