Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
this is a simple html file using a simple query for found the total comments and all post of blogger
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Triva sbd</title><style type="text/css">
body { }
h1 { font-size: xx-large;
font-weight: bold;
border-bottom: 1px solid black; }
div.note {
position: relative;
display: block;
padding: 5pt;
margin: 5pt;
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -pre-wrap; /* Opera 4 - 6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: pre-wrap; /* CSS3 */
word-wrap: break-word; /* IE 5.5+ */ }
</style></head><body><div class="note" id="j"><a name="j"></a><h1></h1></div></body></html>
<div style="float: left;"><img style="width: 32px;" src=""/></div>
<div style=" float: left; text-align: left;">
<script style="text/javascript">
function showpostcount(json) {
document.write(parseInt(json.feed.openSearch$totalResults.$t,10));
}</script>
<script src="http://www.elladodelmal.com/feeds/posts/default?alt=json-in-script&amp;callback=showpostcount"></script> <span style="font-family: trebuchet; color:
#00BAFE;font-size: 15px;">Posts</span>
<br/>
<script src="http://www.elladodelmal.com/feeds/comments/default?alt=json-in-script&amp;callback=showpostcount"></script> <span style="font-family: trebuchet; color:
#33CC00;font-size: 15px;"><b>Comments</b></span></div>
<div style="clear: both;"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.