Populaire cette année

data:{ Blog }

Data TypeGadget TypeGadget VersionLayouts Version
objectBlog
2
3
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


Mises à jour 2015-2019 !!! Nous avons retiré les données dépréciées, en cours d'abandon et abandonnées. Consultez la liste.

"data": {
  "widget": {
    "type": "Blog",
    "version": 2
  },
  "title": string,
  "description": 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,
    "commentFeed": string,
    "commentHtml": string,
    "avatarIndentClass": string,
    "includeAd": boolean,
    "adNumber": 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: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.commentFeed/>
      <data:post.commentHtml/>
      <data:post.avatarIndentClass/>
      <data:post.includeAd/>
      <data:post.adNumber/>
      <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

Spotlight

Populaires cette semaine

LinkedIn : Bouton de partage [Share button]

Les gadgets Blogger [introduction]

Le gadget Articles du blog [Blog]