postyou/contao-proven-expert
最新稳定版本:2.0.0
Composer 安装命令:
composer require postyou/contao-proven-expert
包简介
ProvenExpert API Integration for Contao
README 文档
README
This extension integrates the ProvenExpert API in contao. An account at ProvenExpert is required.
Goal
This extension tries to store ProvenExpert content locally whenever possible, so that no requests are made to third parties when the website is accessed.
Note
This is currently only implemented for images. If script or link tags are present in the widget HTML (e.g. type landing), third party requests will still be made.
Cache
The API response is cached and automatically updated every hour (default). You can manually clear the cache by either:
- saving the corresponding frontend module or
- purging the ProvenExpert cache via the system maintenance
Frontend Modules
The following frontend modules can be used with this extension:
ProvenExpert Widget
Creates a new rating seal. Documentation (german) at developer.provenexpert.com/#widget.
Available types:
| Type | Docs section |
|---|---|
portrait |
"Bewertungssiegel hochkant" |
square |
"Bewertungssiegel quadratisch" |
landscape |
"Bewertungssiegel quer" |
circle |
"Qualiätssiegel" |
logo |
"ProvenExpert-Logo" |
bar |
"Bewertungssiegel am unteren Browser-Rand" |
landing |
"Bewertungs-Widget" |
awards |
"Award-Widgets" |
Type custom
This provides a simple HTML field into which you can paste HTML code generated in the ProvenExpert Dashboard, for example. Images contained in the HTML code are downloaded and cached every hour so that only the local version of the image will be output.
ProvenExpert RichSnippet
Creates a new rich snippet for google rating. Available options at developer.provenexpert.com/#rating-summary-richsnippet.
Configuration
contao_proven_expert: cache_lifetime: 3600
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2023-02-09