DTE :]

Sunday, November 4, 2012

XHTML Blogger · Formulir Komentar

Dalam Konsep

TemplatesV1

<b:includable id='comment-form' var='post'>
  <div class='comment-form' id='comment-form'>
    <h4 id='comment-post-message'><data:postCommentMsg/></h4>
    <p><data:blogCommentMessage/></p>
    <data:blogTeamBlogMessage/>
    <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
    <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
    <data:post.friendConnectJs/>
    <data:post.cmtfpIframe/>
    <b:if cond='data:showCmtPopup'>
      <div id='comment-popup' style='width:100px;height:20px;'/>
    </b:if>
    <script>
      BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
    </script>
  </div>
</b:includable>
Data Keterangan Tampilan/Contoh Tampilan
data:postCommentMsg Elemen ini akan menghasilkan label judul komentar Poskan Komentar:
data:blogCommentMessage Elemen ini akan menghasilkan pesan di atas formulir komentar Be nice, No spam!
data:blogTeamBlogMessage ??? ...
data:post.commentFormIframeSrc Elemen ini akan menghasilkan URL formulir komentar mentah http://www.blogger.com/comment-iframe.g?blogID=29890010286969XXXX&postID=556779452392602XXXX
data:post.friendConnectJs ??? ...
data:post.cmtfpIframe Elemen ini akan menghasilkan script XXX-comment_from_post_iframe.js <script src="//www.blogger.com/static/v1/jsbin/2468562941-comment_from_post_iframe.js"></script>
data:showCmtPopup [?] -
data:post.appRpcRelayPath ??? http://www.blogger.com/rpc_relay.html
data:post.communityId ??? 0665491695519118XXXX

TemplatesV2

<b:includable id='threaded-comment-form' var='post'>
  <div class='comment-form' id='threaded-comment-form'>
    <b:if cond='data:mobile'>
      <p><data:blogCommentMessage/></p>
      <data:blogTeamBlogMessage/>
      <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
      <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' height='410' id='comment-editor' name='comment-editor' src='' style='display: none' width='100%'/>
    <b:else/>
      <p><data:blogCommentMessage/></p>
      <data:blogTeamBlogMessage/>
      <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
      <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
    </b:if>
    <data:post.friendConnectJs/>
    <data:post.cmtfpIframe/>
    <script>
      BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
    </script>
  </div>
</b:includable>
Data Keterangan Tampilan/Contoh Tampilan
data:mobile Boolean untuk menyatakan apakah blog sedang berada dalam tampilan seluler atau tidak true, false

Labels: , ,

6 Comments:

Post a Comment



<< Home