Populaire cette semaine

Blog [GV2]

Gadget TypeGadget VersionLayouts Version
Blog
2
3
Modifier
2018 est l'année du grand nettoyage chez Blogger.
La base de données va être remise à jour durant ces prochains mois.
Ainsi, nous retirons les données de fonctionnalités dépréciées et les anciennes données qui ne sont plus officiellement utilisées.
Pour obtenir des informations supplémentaires sur certaines données, ouvrez une nouvelle discussion sur le forum.

Nous vous rappelons que lorsque vous accédez à ce blog, vous signez automatiquement un accord avec Blogger Code.
Consultez les CGU.


Blogger - Les données du gadget Blog Version 2
Blog est le plus gros gadget officiel Blogger. Il affiche les articles, les pages autonomes, les commentaires, les options, les résumés, les boutons de partage, les liens de pagination, etc....
Cette page énumère la liste des données Blogger disponibles dans la version 2 du modèle de gadget par défaut.


Ressources

"data": {
  "widget": {
    "type": "Blog",
    "version": 2
  },
  "title": string,
  "description": string,
  "languageCode": string,
  "olderPageUrl": URL,
  "newerPageUrl": URL,
  "navMessage": string,
  "adCode": string,
  "adClientId": string,
  "cmtIframeInitialHeight": string,
  "showCmtPopup": boolean,
  "messages": {
    "blogComment": string
  },
  "feedLinks": [{
    "url": string,
    "name": string,
    "feedType": string,
    "mimeType": string
  }],
  "posts": [{
    "id": string,
    "title": string,
    "body": string,
    "snippets": {
      "long": string,
      "short": string
    },
    "url": URL,
    "link": string,
    "thumbnailUrl": string,
    "featuredImage": image,
    "date": date,
    "lastUpdated": date,
    "author": {
      "name": string,
      "profileUrl": string,
      "aboutMe": string,
      "authorPhoto": {
        "image": image,
        "width": number,
        "height": number
      },
    },
    "hasJumpLink": boolean,
    "adminClass": string,
    "postAuthorClass": string,
    "allowComments": boolean,
    "allowNewComments": boolean,
    "noNewCommentsText": string,
    "numberOfComments": number,
    "commentsUrl": URL,
    "commentsUrlOnclick": string,
    "commentPagingRequired": boolean,
    "hasOlderLinks": boolean,
    "oldLinkClass": string,
    "oldestLinkUrl": URL,
    "olderLinkUrl": URL,
    "hasNewerLinks": boolean,
    "newLinkClass": string,
    "newerLinkUrl": URL,
    "newestLinkUrl": URL,
    "commentRangeText": string,
    "commentFormIframeSrc": string,
    "embedCommentForm": boolean,
    "showThreadedComments": boolean,
    "commentSrc": string,
    "commentFeed": string,
    "commentJso": string,
    "commentHtml": string,
    "commentMsgs": string,
    "commentConfig": string,
    "avatarIndentClass": string,
    "includeAd": boolean,
    "adNumber": number,
    "allowIframeComments": boolean,
    "iframeCommentSrc": string,
    "viewType": string,
    "commentSource": number,
    "emailPostUrl": string,
    "shareUrl": string,
    "reactionsUrl": URL,
    "cmtfpIframe": string,
    "appRpcRelayPath": string,
    "location": {
      "mapsUrl": string,
      "name": string
    },
    "labels": [{
      "name": string,
      "url": URL,
    }],
    "feedLinks": [{
      "url": string,
      "name": string,
      "feedType": string,
      "mimeType": string
    }],
    "comments": [{
      "id": string,
      "inReplyTo": string,
      "cmtBodyIdPostfix": string,
      "url": string,
      "body": string,
      "timestamp": string,
      "timestampValue": number,
      "timestampAbs": number,
      "author": string,
      "authorUrl": string,
      "authorUserType": string,
      "authorPhoto": {
        "url": string,
        "width": number,
        "height": number
      },
      "authorAvatarSrc": string,
      "authorAvatarImage": string,
      "anchorName": string,
      "deleteUrl": string,
      "isDeleted": boolean,
      "adminClass": string,
    }],
    "enclosures": [{
      "url": string,
      "mimeType": string
    }]
  }]
}


Extraction explicite des données

<b:widget id='Blog1' title='' type='Blog' version='2'>
  <b:includable id='main'>

    <data:title/>
    <data:description/>
    <data:languageCode/>
    <data:olderPageUrl/>
    <data:newerPageUrl/>
    <data:navMessage/>
    <data:adCode/>
    <data:adClientId/>
    <data:cmtIframeInitialHeight/>
    <data:showCmtPopup/>
    <data:messages.blogComment/>
    <b:loop values='data:feedLinks' var='feedLink'>
      <data:feedLink.url/>
      <data:feedLink.name/>
      <data:feedLink.feedType/>
      <data:feedLink.mimeType/>
    </b:loop>
    <b:loop values='data:posts' var='post'>
      <data:post.id/>
      <data:post.title/>
      <data:post.body/>
      <data:post.snippets.short/>
      <data:post.snippets.long/>
      <data:post.url/>
      <data:post.link/>
      <data:post.thumbnailUrl/>
      <data:post.featuredImage/>
      <data:post.date/>
      <data:post.lastUpdated/>
      <data:post.author.name/>
      <data:post.author.profileUrl/>
      <data:post.author.aboutMe/>
      <data:post.author.authorPhoto.image/>
      <data:post.author.authorPhoto.width/>
      <data:post.author.authorPhoto.height/>
      <data:post.hasJumpLink/>
      <data:post.adminClass/>
      <data:post.postAuthorClass/>
      <data:post.allowComments/>
      <data:post.allowNewComments/>
      <data:post.noNewCommentsText/>
      <data:post.numberOfComments/>
      <data:post.commentsUrl/>
      <data:post.commentsUrlOnclick/>
      <data:post.commentPagingRequired/>
      <data:post.hasOlderLinks/>
      <data:post.oldLinkClass/>
      <data:post.oldestLinkUrl/>
      <data:post.olderLinkUrl/>
      <data:post.hasNewerLinks/>
      <data:post.newLinkClass/>
      <data:post.newerLinkUrl/>
      <data:post.newestLinkUrl/>
      <data:post.commentRangeText/>
      <data:post.commentFormIframeSrc/>
      <data:post.embedCommentForm/>
      <data:post.showThreadedComments/>
      <data:post.commentSrc/>
      <data:post.commentFeed/>
      <data:post.commentJso/>
      <data:post.commentHtml/>
      <data:post.commentMsgs/>
      <data:post.commentConfig/>
      <data:post.avatarIndentClass/>
      <data:post.includeAd/>
      <data:post.adNumber/>
      <data:post.allowIframeComments/>
      <data:post.iframeCommentSrc/>
      <data:post.viewType/>
      <data:post.commentSource/>
      <data:post.emailPostUrl/>
      <data:post.shareUrl/>
      <data:post.reactionsUrl/>
      <data:post.cmtfpIframe/>
      <data:post.appRpcRelayPath/>
      <data:post.location.mapsUrl/>
      <data:post.location.name/>
      <b:loop values='data:labels' var='label'>
        <data:label.name/>
        <data:label.url/>
      </b:loop>
      <b:loop values='data:feedLinks' var='feedLink'>
        <data:feedLink.url/>
        <data:feedLink.name/>
        <data:feedLink.feedType/>
        <data:feedLink.mimeType/>
      </b:loop>
      <b:loop values='data:comments' var='comment'>
        <data:comment.id/>
        <data:comment.inReplyTo/>
        <data:comment.cmtBodyIdPostfix/>
        <data:comment.url/>
        <data:comment.body/>
        <data:comment.timestamp/>
        <data:comment.timestampValue/>
        <data:comment.timestampAbs/>
        <data:comment.author/>
        <data:comment.authorUrl/>
        <data:comment.authorUserType/>
        <data:comment.authorPhoto.url/>
        <data:comment.authorPhoto.width/>
        <data:comment.authorPhoto.height/>
        <data:comment.authorAvatarSrc/>
        <data:comment.authorAvatarImage/>
        <data:comment.anchorName/>
        <data:comment.deleteUrl/>
        <data:comment.isDeleted/>
        <data:comment.adminClass/>
      </b:loop>
      <b:loop values='data:enclosures' var='enclosure'>
        <data:enclosure.url/>
        <data:enclosure.mimeType/>
      </b:loop>
    </b:loop>

  </b:includable>
</b:widget>


Les données des autres gadgets Version 2

Posts les plus consultés de ce blog

Facebook : Bouton J'aime [Like button]