Skip to content

RegioneER/rer.linkmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coveralls Latest Version Egg Status

Supported - Python Versions

License

RER Link map

"Amministrazione Trasparente" link map

Features

  • Control panel for configuring all transparency-map URLs.
  • Dedicated outputs at portal root:
    • at_map.json
    • at_map.xml
  • Independent flags to enable/disable JSON and XML exposure.
  • REST API control panel integration (linkmap-settings).

Installation

Install rer.linkmap by adding it to your buildout:

[buildout]

...

eggs =
    rer.linkmap

and then running bin/buildout

Configuration

After installation, configure the add-on in:

  • Site Setup -> Link map settings (linkmap-settings)

Main options:

  • expose_json: enable/disable @@at_map.json
  • expose_xml: enable/disable @@at_map.xml
  • data_ultima_modifica: date string in GG/MM/AAAA
  • one URL field for each transparency section key

If a format is disabled, the corresponding view returns 404 Not Found.

Output Endpoints

Endpoints are available only on the portal root context:

  • /at_map.json
  • /at_map.xml

JSON example

{
    "at_art2_bis_c1": {
        "amministrazione_trasparente": "https://www.example.org/amministrazione-trasparente",
        "disposizioni_generali": "https://www.example.org/disposizioni-generali"
    },
    "data_ultima_modifica": "17/06/2026"
}

XML example

<?xml version="1.0" encoding="utf-8"?>
<amministrazione_trasparente xmlns="https://guida-servizi.anticorruzione.it/trasparenza">
    <data_ultima_modifica>18/06/2026</data_ultima_modifica>
    <map>
        <at_art2_bis_c1>
            <amministrazione_trasparente>https://www.example.org/at</amministrazione_trasparente>
            <accesso_civico>https://www.example.org/accesso-civico</accesso_civico>
        </at_art2_bis_c1>
    </map>
</amministrazione_trasparente>

REST API Integration

The add-on registers a restapi control panel adapter named linkmap-settings, based on the same schema used by the classic control panel.

Credits

Developed with the support of Regione Emilia Romagna

Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

Generated using Cookieplone and cookieplone-templates.

License

This project is licensed under the GPLv2.

About

No description, website, or topics provided.

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Packages

 
 
 

Contributors