Integrates Thüringer Content Architektur Tourismus into TYPO3. https://cms.thuecat.org/
Go to file
Daniel Siepmann bfd4c77a17 Refactor parsing of JSON-LD
Use Symfony components to map incoming JSON onto objects.
Those provide a mapping. They can then be used to fetch the data in a
common way and insert it into the system.

- Handle languages within JsonDecode
  (normalize incoming data based on language)
- Handle Single Value and List of Values within Entities. They will map
  incoming Data to proper Objects. (We now generally transform during
  serialization process if target is array but we got single entity)
- Add missing tests for existing data.
- Finish migration of all existing data, this includes next step
- Provide discriminator to ObjectNormalizer to auto detect target class
  based on "type" property. (Done for now by own registry)
- Combine generated object with current structure for import -> generate
  data array out of it.
- Resolve foreign references to existing entities,
  (images, contentresponsible, etc.)
2021-08-12 09:46:37 +02:00
.github/workflows Fix label of CI tasks 2021-08-09 09:03:24 +02:00
Classes Refactor parsing of JSON-LD 2021-08-12 09:46:37 +02:00
Configuration Refactor parsing of JSON-LD 2021-08-12 09:46:37 +02:00
Documentation Add info regarding storagePid and language relation 2021-06-08 14:05:24 +02:00
Resources Handle removed configuration in log overview 2021-06-01 11:23:25 +02:00
Tests Refactor parsing of JSON-LD 2021-08-12 09:46:37 +02:00
.gitignore Initial composer setup 2021-02-01 09:04:10 +01:00
composer.json Refactor parsing of JSON-LD 2021-08-12 09:46:37 +02:00
dependency-checker.json Import tourist attraction only in German language 2021-02-16 12:01:35 +01:00
ecs.php Make compatible with PHP 7.3 2021-04-13 15:32:10 +02:00
ext_conf_template.txt Support sync scope 2021-06-01 09:43:33 +02:00
ext_emconf.php Allow installation within TYPO3 2021-02-16 11:09:18 +01:00
ext_localconf.php Allow editor to create and edit import configuration 2021-06-01 09:53:58 +02:00
ext_tables.php Initial import mechanism 2021-02-16 11:09:18 +01:00
ext_tables.sql Add prices to tourist attraction 2021-02-18 16:00:07 +01:00
phpstan-baseline.neon Refactor parsing of JSON-LD 2021-08-12 09:46:37 +02:00
phpstan.neon Import tourist attraction only in German language 2021-02-16 12:01:35 +01:00
phpunit.xml.dist Add first functional tests for import 2021-02-17 09:20:24 +01:00
README.md Add documentation 2021-06-01 14:59:08 +02:00

ThüCAT integration into TYPO3 CMS

ThüCAT is ¨Thüringer Content Architektur Tourismus¨. This is an extension for TYPO3 CMS (https://typo3.org/) to integrate ThüCAT. The existing API is integrated and allows importing data into the system.

Full documentation available at https://docs.typo3.org/p/werkraummedia/thuecat/master/en-us/.

Current state

The extension already allows:

  • Create configuration to import:

    • specified resources via static configuration, e.g. defined organisation or towns.

    • sync scope, a syncScopeId to always update delivered resources.

  • Support multiple languages

  • Import of the following types (not all properties are supported):

    • Organisations (responsible for content)

    • Towns

    • Tourist information

    • Tourist attraction

  • Backend module:

    • To inspect current existing organisations and their towns and tourist information

    • To inspect import configuration

    • To create import configuration

    • To inspect past imports and possible errors, as well as number of affected records

  • Frontend:

    • Content element to display tourist attraction

    • Page Type to reference tourist attraction

    • Descriptions are formatted HTML, use f:format.html ViewHelper for rendering.

Short time goals

  • Content element to display town, tourist information and organisation.

  • Extending import to include further properties

Installation

Please configure API Key via Extension Configuration.

Configuration records need to be created, e.g. by visiting the ThüCAT module. Those can then be imported via the same module.