Est-ce Flexicontent qui génère les microdata en JSON-LD ?

2 weeks 5 days ago #77343 by flodariege
Bonjour,

Est-ce Flexicontent qui génère les microdata au format JSON-LD des items ?

Je parle de cette section du code source, présent entre les balises head, et entre les meta opengraph :
<script type="application/ld+json">{"@context":"http:\/\/schema.org\/","@type":"Article","mainEntityOfPage":"https:\/\/www.rouchenergies.fr\/chauffe-eau\/thermodynamique\/les-aides-financieres.html","inLanguage":"fr-FR","image":{"@type":"ImageObject","url":"https:\/\/www.rouchenergies.fr\/images\/illustrations\/les-aides-financieres-sur-le-chauffe-eau-thermodynamique-1200x630.jpg","width":1200,"height":630,"fileFormat":"image\/jpeg"},"author":{"@type":"Person","name":"Florence Rouch"},"articleSection":"Chauffe eau thermodynamique en Ari\u00e8ge et Haute-Garonne","dateModified":"2019-10-18T17:53:00+0200","datePublished":"2015-08-15T11:21:59+0200","headline":"Les aides financi\u00e8res sur le chauffe-eau thermodynamique","name":"Les aides financi\u00e8res sur le chauffe-eau thermodynamique","description":"Les aides financi\u00e8res sur le chauffe-eau thermodynamique, ou pompe \u00e0 chaleur air-eau d\u00e9di\u00e9e \u00e0 la production d&#039;eau chaude sanitaire : cr\u00e9dit d&#039;imp\u00f4t, \u00e9co PTZ, aides Anah Habiter Mieux..."}</script>

Question subsidiaire : quel est le fichier php qui génère ce code ?

Merci :-)

Dare to dream, believe the unbelievable, never take no for an answer

Please Log in or Create an account to join the conversation.

2 weeks 4 days ago #77347 by flodariege
Alors, ça y est, j'ai trouvé la réponse, je vous la donne au cas où ça puisse être utile à quelqu'un :
NON, ce n'est pas FLEXICONTENT qui génère les microdata en JSON-LD, c'est le plugin SOCIAL META.

et donc, très logiquement, c'est le fichier php :
\plugins\system\socialmeta.php
qui génère le code JSON-LD.

Dare to dream, believe the unbelievable, never take no for an answer

Please Log in or Create an account to join the conversation.

2 weeks 3 days ago #77350 by ggppdk
Hello

i have also answered the other forum thread

any suggestion on changes to fix this

the itemtype of the item is the own that is configured in item type

should we add some more configuration
should we add option to prevent adding of microdata itemtype and itemscope in category view ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

2 weeks 3 days ago - 2 weeks 3 days ago #77352 by flodariege
I think it would be wiser to prevent adding any microdata from the items (articles) on category view.
Because, from my point of view, it would have no sense to give Google the microdata of 10 différent articles on a single URL.
(note that SocialMeta, which is the extension plugin creating JSON-LD microdata on item view, do not create any microdata on category view)

What would be a lot better would be to add microdata on the category itself.
But I don't know if it is possible.

Dare to dream, believe the unbelievable, never take no for an answer

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.