- NONE
The ImportContentFromJson module facilitates importing content into Jahia JCR (Java Content Repository) structure from a JSON file. It simplifies content creation by mapping JSON fields to JCR properties based on the selected content type.
https://github.com/smonier/importContentFromJson
[
{
"jcr:title": "L'intelligence artificielle au service de l'achat public",
"teaser": "Découvrez comment l'IA transforme les processus d'achat public en offrant des gains de temps et d'efficacité.",
"body": "<p>L'intelligence artificielle (IA) révolutionne le secteur des achats publics en offrant des solutions innovantes pour améliorer l'efficacité, réduire les coûts et renforcer la transparence. Grâce à l'analyse des données massives, les administrations publiques peuvent identifier des tendances, prévoir les besoins et sélectionner les meilleures offres. Cela permet de prendre des décisions éclairées basées sur des faits, plutôt que sur des estimations hasardeuses.</p><p>Un des principaux avantages de l'IA réside dans l'automatisation des processus répétitifs. Par exemple, des tâches fastidieuses telles que l'analyse des soumissions ou la vérification des documents peuvent être réalisées en quelques secondes par des algorithmes avancés. Cela libère les agents publics pour qu'ils se concentrent sur des missions plus stratégiques, telles que l'amélioration des relations avec les fournisseurs ou l'évaluation de nouvelles opportunités d'achat durable.</p><p>Par ailleurs, l'IA améliore considérablement la transparence des processus. En numérisant et en automatisant les étapes des appels d'offres, les administrations peuvent minimiser les erreurs humaines et réduire les risques de corruption. De plus, les plateformes basées sur l'IA offrent des tableaux de bord interactifs permettant aux parties prenantes de suivre l'évolution des projets en temps réel.</p><p>Cependant, l'intégration de l'IA dans les achats publics n'est pas sans défis. Les administrations doivent surmonter des obstacles liés à l'interopérabilité des systèmes, à la gestion des données sensibles et au coût initial de la mise en œuvre. Il est également crucial de former les agents publics pour qu'ils puissent exploiter pleinement ces technologies.</p><p>En conclusion, l'IA représente une opportunité unique de transformer les achats publics. En optimisant les processus, en réduisant les coûts et en renforçant la transparence, cette technologie peut contribuer à une gouvernance plus efficace et plus responsable.</p>",
"date": "2024-11-01",
"image": {
"url": "https://picsum.photos/800/600?random=1"
},
"images": [
{
"url": "https://picsum.photos/1600/800?random=1"
},
{
"url": "https://picsum.photos/1600/800?random=2"
}
],
"j:tagList": [
"IA",
"Automatisation",
"Transparence",
"Achat Public"
]
},....]
- Import JSON files to a specified JCR content path. - Support for both internationalized (i18n) and non-internationalized properties. - Validation of JSON fields against the selected content type properties. - Automatic folder creation if the specified path doesn’t exist. - Skipping of existing nodes with detailed reporting of skipped items. - Fetch images from URL and upload them in to the JCR (using a proxy to avoid CORS issues) - handle multiple for images - check if image exists in JCR in folder importedFiles, before importing it - A user-friendly interface with error messages and sample JSON previews.
Jahia V8+ module
Activate the module on the desired web project, a new entry will appear in the "additional" section of jContent
MIT License Copyright (c) 2024 Jahia Forge - Code Repository Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.