postyou/contao-proven-expert

ProvenExpert API Integration for Contao

2.0.0 2024-02-27 10:52 UTC

This package is auto-updated.

Last update: 2024-11-27 12:31:14 UTC


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 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