silverstripe-australia/json-connector
Composer 安装命令:
composer require silverstripe-australia/json-connector
包简介
A JSON connector for the external content module.
README 文档
README
A JSON feed consumer for the external content module. Makes use of JSONPath for selecting the data to be included from the feed, and how to map those items to data for import.
Usage
- Create a new JSON content source
- Enter the feed URL
- Enter a JSONPath expression that represents the 'collection' of data
- Specify some property mappings, in particular ID and Title
For example, enter the following information
- Feed URL: https://www.reddit.com/.json
- JSONPath expression: $.data.children[:9].data
- Selectors:
- ID : $.id
- Title: $.title
统计信息
- 总下载量: 3.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-08-03