Jumat, 15 Februari 2013

XHTML Blogger, Formulir Komentar


V1
<b:includable id='comment-form' var='post'>
  <div class='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' frameborder='0' 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 type='text/javascript'>
      BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
    </script>
  </div>
</b:includable>
DataKeteranganTampilan/Contoh Tampilan
data:postCommentMsgElemen ini akan menghasilkan label judul komentarPoskan Komentar:
data:blogCommentMessageElemen ini akan menghasilkan pesan di atas formulir komentarBe nice, No spam!
data:blogTeamBlogMessage???...
data:post.commentFormIframeSrcElemen ini akan menghasilkan URL formulir komentar mentahhttp://www.blogger.com/comment-iframe.g?blogID=29890010286969XXXX&postID=556779452392602XXXX
data:post.friendConnectJs???...
data:post.cmtfpIframeElemen ini akan menghasilkan script<script type="text/javascript" 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
<b:includable id='threaded-comment-form' var='post'>
  <div class='comment-form' id='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' frameborder='0' 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' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
    </b:if>
    <data:post.friendConnectJs/>
    <data:post.cmtfpIframe/>
    <script type='text/javascript'>
      BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
    </script>
  </div>
</b:includable>
DataKeteranganTampilan/Contoh Tampilan
data:mobileBooleantruefalse
Sumber: http://www.dte.web.id/2012/11/xhtml-blogger-formulir-komentar.html#.UR5fch2ouSo

 

Copyright © 2009 Study In Today . Blog Designed by Study In Today & AdhiTj.