shortlist-digital/agreable-apple-news-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

shortlist-digital/agreable-apple-news-plugin

最新稳定版本:3.16.0

Composer 安装命令:

composer require shortlist-digital/agreable-apple-news-plugin

包简介

Wordpress plugin for Shortlist Media.

README 文档

README

Acceptable Facebook embed links

I think the last example link it a potential bug or old style link since I haven't seen any similar in the database. Whereas, we have to convert the often used photo url.

Source: https://developer.apple.com/library/content/documentation/General/Conceptual/Apple_News_Format_Ref/FacebookPost.html

Run the tests

To run the automated tests you'll need to execute this inside Vagrant if working locally

  1. Change working directory
cd [project location]/app/plugins/agreable-apple-news-plugin
  1. Run behat, it will be located in the parent folder normally
../../../../vendor/bin/behat
If for some reason the plugin does not work check the wordpress permalinks setting is set to custom structure with /%category%/%postname%

To get sections, use this

$base = "https://news-api.apple.com";
$credentials = new Credentials(getenv('APPLE_NEWS_API_KEY'), getenv('APPLE_NEWS_API_SECRET'));
$channel = getenv('APPLE_NEWS_CHANNEL_ID');
$sections = (new Api($base, $credentials))->get_sections($channel);

统计信息

  • 总下载量: 3.41k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-03