Skip to content

Instantly share code, notes, and snippets.

HoussenMoshine

Block or report user

Report or block HoussenMoshine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@HoussenMoshine
HoussenMoshine / claimreview-schema-org
Created May 8, 2017
Exemple de la balise ClaimReview de Schema.org
View claimreview-schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ClaimReview",
"url": "http://actualite.housseniawriting.com/hoax/2017/03/02/complotisme-le-cnrs-coupe-le-financement-dun-vaccin-prometteur-contre-le-vih/20854/",
"author":
{
"@type": "Organization",
"url": "https://actualite.housseniawriting.com",
"sameAs": "https://www.facebook.com/actualite.housseniawriting/"
@HoussenMoshine
HoussenMoshine / custom-field-schema-org
Created May 6, 2017
Code de Schema.org pour les champs personnalisés de Wordpress (le champ s'appelle schema)
View custom-field-schema-org
<!-- Code Custom pour Schema.org -->
<?php
$schema = get_post_meta(get_the_ID(), 'schema', true);
if(!empty($schema)) {
echo $schema;
}
?>
@HoussenMoshine
HoussenMoshine / AggregateRating-schema-org
Created May 6, 2017
Exemple de balise AggregateRating de Schema.org
View AggregateRating-schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"aggregateRating": {
"@type": "AggregateRating",
"bestRating": "100",
"ratingCount": "24",
"ratingValue": "87"
},
@HoussenMoshine
HoussenMoshine / rating-schema-org
Created May 6, 2017
Exemple de balise Rating de Schema.org
View rating-schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Review",
"itemReviewed": {
"@type": "Thing",
"name": "Honor 6X"
},
"headline" : "L'Honor 6X débarque en Europe et aux USA pour 250 euros",
"author": {
@HoussenMoshine
HoussenMoshine / Product-Offer-Schema-Org
Created May 6, 2017
Exemple de la balise Product avec Offer de Schema.org
View Product-Offer-Schema-Org
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Product",
"name": "BLU Life Max",
"image": "https://lh3.googleusercontent.com/-I3RTZun4W4c/WFn5zGrmKsI/AAAAAAAAJnM/leLCccREdW4/BLU-Life-Max-1_thumb%25255B1%25255D.jpg?imgmax=800",
"description": "Le BLU Life Max possède des caractéristiques moyennes avec un prix de 119 dollars, mais la batterie est imposante avec 3700 mAh.",
"brand": {
"@type": "Thing",
"name": "BLU Products"
@HoussenMoshine
HoussenMoshine / Product-AggregateOffer-Schema-org
Created May 6, 2017
Exemple de la balise Product avec AggregateOffer de Schema.org
View Product-AggregateOffer-Schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Product",
"name": "Workload Intensive Cloud Servers",
"image": "https://s3-eu-west-1.amazonaws.com/s3.housseniawriting.com/wp-content/uploads/2017/04/19071244/Scaleway-serveurs.jpg",
"description": "Scaleway propose désormais des serveurs Workload Intensive Cloud Servers à partir de 24,99 euros par mois.",
"brand": {
"@type": "Thing",
"name": "Scaleway"
@HoussenMoshine
HoussenMoshine / BreadcrumbList-Schema-org
Last active May 15, 2017
Exemple de la balise BreadcrumbList de Schema.org
View BreadcrumbList-Schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https://housseniawriting.com",
@HoussenMoshine
HoussenMoshine / Website-Schema-org
Created May 6, 2017
Exemple de la balise WebSite de Schema.org
View Website-Schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "Houssenia Writing - Agence de rédaction web",
"alternateName": "Houssenia Writing",
"url": "https://housseniawriting.com",
"potentialAction": [
{
"@type": "SearchAction",
@HoussenMoshine
HoussenMoshine / Organization-Schema-org
Created May 6, 2017
La balise Organization de Schema.org
View Organization-Schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"name": "Houssenia Writing - Agence de rédaction web",
"url": "https://housseniawriting.com",
"logo": "https://s3-eu-west-1.amazonaws.com/s3.housseniawriting.com/wp-content/uploads/2016/07/10091218/Houssenia-Writing-Redaction-Web_2-2.jpg",
"contactPoint": [
{
"@type": "ContactPoint",
@HoussenMoshine
HoussenMoshine / NewsArticle-Schema-org
Created May 6, 2017
Exemple de la balise NewsArticle de Schema.org
View NewsArticle-Schema-org
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://toutsurandroid.blogspot.com/2017/01/netflix-vous-permet-desormais-de.html"
},
"headline": "Netflix vous permet désormais de télécharger ses vidéos sur une MicroSD sur Android",
You can’t perform that action at this time.