XML ExplorerInclusionsInclusions originales des gadgets

super.post [GV1]

Description Gadget Gadget Version Template Version
La version 1 du fichier xml de l'inclusion "post" du gadget Blog. Cette inclusion contient les éléments permettant d'afficher le titre de l'article, le contenu de l'article et les options (date, boutons de partage, libellés, etc).
Blog
1
1
2
<b:includable id='post' var='post'>
  <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
    <b:if cond='data:post.firstImageUrl'>
      <meta expr:content='data:post.firstImageUrl' itemprop='image_url'/>
    </b:if>
    <meta expr:content='data:blog.blogId' itemprop='blogId'/>
    <meta expr:content='data:post.id' itemprop='postId'/>

    <a expr:name='data:post.id'/>
    <b:if cond='data:post.title'>
      <h3 class='post-title entry-title' itemprop='name'>
      <b:if cond='data:post.link or (data:post.url and data:blog.url != data:post.url)'>
        <a expr:href='data:post.link ? data:post.link : data:post.url'><data:post.title/></a>
      <b:else/>
        <data:post.title/>
      </b:if>
      </h3>
    </b:if>

    <div class='post-header'>
    <div class='post-header-line-1'/>
    </div>

    <!-- Then use the post body as the schema.org description, for good G+/FB snippeting. -->
    <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' expr:itemprop='(data:blog.metaDescription ? "" : "description ") + "articleBody"'>
      <data:post.body/>
      <div style='clear: both;'/> <!-- clear for photos floats -->
    </div>

    <b:if cond='data:post.hasJumpLink'>
      <div class='jump-link'>
        <a expr:href='data:post.url + "#more"' expr:title='data:post.title'><data:post.jumpText/></a>
      </div>
    </b:if>

    <div class='post-footer'>

      <div class='post-footer-line post-footer-line-1'>
        <!-- post-author -->
        <!-- post-timestamp -->
        <!-- reaction-buttons -->
        <!-- post-comment-link -->
        <!-- post-icons -->
        <!-- post-share-buttons -->
      </div>

      <div class='post-footer-line post-footer-line-2'>
        <!-- post-labels -->
      </div>

      <div class='post-footer-line post-footer-line-3'>
        <!-- post-location -->
      </div>

      <!-- author-profile -->

    </div>
  </div>
</b:includable>

Posts les plus consultés de ce blog

ThéorieFonctionnalitésGestion
Populaire
DéveloppementsFichiers XML
Populaire
ThéorieFonctionnalitésContenu
Populaire
DéveloppementsMulti-versions
Populaire