Pour éviter la dissimulation, je prévois d’indiquer contenu paywall dans les avis, mais je ne parviens pas à formater à la fois JSON-LD et HTML:
hasPart
et isAccessibleForFree
mots-clés pour chaque Review
? (apparemment LocalBusiness
n'accepte pas hasPart
selon pour l'outil de test )description
pour les moteurs de recherche?description
à la place du texte actuel et le rend flou à l'aide de CSS. Le texte flou a la classe paywall
, Google et d'autres SE vont-ils pénaliser le site à cause du texte arbitraire et absurde? _ description
sera-t-il considéré comme un cloaking (puisque les moteurs de recherche et les utilisateurs ont un contenu différent)?Vous trouverez ci-dessous un petit exemple à tester. Il peut y avoir des centaines de critiques.
{
"@context": "http://www.schema.org",
"@type": "LocalBusiness",
"@id": "http://localBusiness.example.com",
"name": "Example",
"image": "http://localBusiness.example.com/image.jpg",
"aggregateRating":{
"@type":"AggregateRating",
"ratingValue":"3.75",
"reviewCount":"2"
},
"review":[
{
"@type":"Review",
"@id":"http://localBusiness.example.com/Review/1",
"author":"Anonym",
"name":"Review 1",
"description":"Lorem ipsum dolor sit amet",
"datePublished":"2017-07-19",
"reviewRating":{
"@type":"Rating",
"ratingValue":"4"
},
"isAccessibleForFree": "False",
"hasPart": {
"@type": "WebPageElement",
"isAccessibleForFree": "False",
"cssSelector" : ".paywall"
}
},
{
"@type":"Review",
"@id":"http://localBusiness.example.com/Review/2",
"author":"Anonym",
"name":"Review 2",
"description":"Excepteur sint occaecat cupidatat non",
"datePublished":"2017-10-19",
"reviewRating":{
"@type":"Rating",
"ratingValue":"3.5"
},
"isAccessibleForFree": "False",
"hasPart": {
"@type": "WebPageElement",
"isAccessibleForFree": "False",
"cssSelector" : ".paywall"
}
}
]
}
Correct, signifie valide , le balisage serait:
<script type="application/ld+json">
{
"@context": "http://www.schema.org",
"@type": "LocalBusiness",
"name": "Example",
"image": "http://localBusiness.example.com/image.jpg",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http://localBusiness.example.com",
"hasPart":
{
"@type": "WebPageElement",
"aggregateRating":{
"@type":"AggregateRating",
"ratingValue":"3.75",
"reviewCount":"2"
},
"isAccessibleForFree": "False",
"cssSelector" : ".paywall",
"review":[
{
"@type": "Review",
"author": "John Doe",
"datePublished": "2006-05-04",
"name": "A masterpiece of literature",
"reviewBody": "I really enjoyed this book. It captures the essential challenge people face as they try make sense of their lives and grow to adulthood.",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5"
}
},
{
"@type": "Review",
"author": "Bob Smith",
"datePublished": "2006-06-15",
"name": "A good read.",
"reviewBody": "Catcher in the Rye is a fun book. It's a good book to read.",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5"
}
}
]
}
}
}
</script>