mobile-post : Articles dans la vue mobile personnalisée (V1) - Blogger XML Documentation

Blogger - mobile-post [Blog GV1]
Gadget Version 1 Gadget Version 2 Balisage
Blog Aucun gadget
Original
Description de l'inclusion
mobile-post est le nom d'une inclusion du modèle par défaut de gadget version 1 dans le gadget Blog.
L'inclusion affiche l'article dans la vue mobile personnalisée.
Directives d'usage et niveau de priorité de mise à jour
Thème Version 1
Garantie d'usage : Oui
Priorité faible
Thème Version 2
Garantie d'usage : Oui
Priorité moyenne
Thème Dynamique
Garantie d'usage : Rendu désactivé
Aucune priorité
Thème Version 3
Garantie d'usage : Aucune
Aucune priorité
Inclusion homonyme gadget version 2
Aucune.


Contenu de l'inclusion

Le code XML

<b:includable id='mobile-post' var='post'>
  <div class='date-outer'>
    <b:if cond='data:post.dateHeader'>
      <h2 class='date-header'><span><data:post.dateHeader/></span></h2>
    </b:if>
    <div class='date-posts'>
      <div class='post-outer'>

        <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
          <b:if cond='data:post.thumbnailUrl'>
            <meta expr:content='data:post.thumbnailUrl' 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'>
                <a expr:href='data:post.link'><data:post.title/></a>
              <b:elseif cond='data:post.url and data:blog.url != data:post.url'/>
                <a expr:href='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>

          <div class='post-body entry-content' expr:id='"post-body-" + data:post.id' itemprop='articleBody'>
            <data:post.body/>
            <div style='clear: both;'/> <!-- clear for photos floats -->
          </div>

          <div class='post-footer'>

            <div class='post-footer-line post-footer-line-1'>

<!-- post-author -->
<span class='post-author vcard'>
  <b:if cond='data:top.showAuthor'>
    <data:top.authorLabel/>
      <b:if cond='data:post.authorProfileUrl'>
        <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
          <meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
          <a class='g-profile' expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
            <span itemprop='name'><data:post.author/></span>
          </a>
        </span>
      <b:else/>
        <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
          <span itemprop='name'><data:post.author/></span>
        </span>
      </b:if>
  </b:if>
</span>

<!-- post-timestamp -->
<span class='post-timestamp'>
  <b:if cond='data:top.showTimestamp'>
    <data:top.timestampLabel/>
    <b:if cond='data:post.url'>
      <meta expr:content='data:post.url.canonical' itemprop='url'/>
      <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
    </b:if>
  </b:if>
</span>

<!-- post-comment-link -->
<span class='post-comment-link'>
  <b:include cond='data:blog.pageType not in {"item","static_page"} and data:post.allowComments' data='post' name='comment_count_picker'/>
</span>

            </div>

            <div class='post-footer-line post-footer-line-2'>

<!-- mobile-share-button -->
<b:if cond='data:top.showMobileShare'>
  <div class='mobile-link-button goog-inline-block' id='mobile-share-button'>
    <a href='javascript:void(0);'><data:shareMsg/></a>
  </div>
</b:if>
<b:if cond='data:top.showDummy'>
  <div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>
</b:if>

            </div>

          </div>
        </div>

        <b:include cond='data:blog.pageType in {"static_page","item"}' data='post' name='comment_picker'/>
      </div>
    </div>
  </div>
</b:includable>

Les nœuds parents

ID Inclusion Balisage
mobile-main
Original


Spotlight

L'Éditeur XML de Thème Blogger : Quand le BackEnd Rencontre le FrontEnd

Populaires cette semaine

Foire aux questions Blogger (Novembre 2021)

Outils de sauvegarde et suppression du blog