Saturday, 24 December 2016
STAR RATING WIDGET IN BLOGGER TEMPLATE
------------------------------------------------------------------------------------------------------
READ MORE:
http://rating-widget.com/get/rating/
http://fbgadgets.blogspot.co.uk/2014/08/blogger-mega-grid-and-list-template.html
------------------------------------------------------------------------------------------------------
STAR RATING WIDGET IN BLOGGER - YouTube
https://www.youtube.com/watch?v=uQHuIFmkrPk
12 mins ago - Uploaded by SAVE MONEY
STAR RATING WIDGET IN BLOGGER ... Rating is available when the video has been rented. ... http ...-----------------------------------------------------------------------------------------------------
1) FIND CLOSE TAG </head> AND REPLACE WITH CODE
------------------------------------------------------------------------------------------------------
<script type='text/javascript'>
//<![CDATA[
(function(d, t, e, m){
// Async Rating-Widget initialization.
window.RW_Async_Init = function(){
RW.init({
huid: "149369",
uid: "c21d872a654e0a635442e1377029f7ea",
options: { "style": "oxygen" }
});
RW.render();
};
// Append Rating-Widget JavaScript library.
var rw, s = d.getElementsByTagName(e)[0], id = "rw-js",
l = d.location, ck = "Y" + t.getFullYear()
+
"M" + t.getMonth() + "D" + t.getDate(),
p = l.protocol,
f = (-1 < l.search.indexOf('DBG=') ? '' : '.min'),
a = ("https:" == p ? "secure." +
m + "js/" : "js." + m);
if (d.getElementById(id)) return;
rw = d.createElement(e);
rw.id = id; rw.async = true; rw.type = "text/javascript";
rw.src = p + "//" + a + "external"
+ f + ".js?ck=" + ck;
s.parentNode.insertBefore(rw, s);
}(document, new Date(), "script", "rating-widget.com/"));
//]]>
</script>
</head>
2) FIND INCLUDABLE MAIN WIDGET REPLACE THIS
OR
ADD ONLY STAR RATING WIDGET CODE
------------------------------------------------------------------------------------------------------
<b:includable id='main' var='top'>
<b:if cond='!data:mobile'>
<!-- posts -->
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.isDateStart and not
data:post.isFirstPost'>
</div></div>
</b:if>
<b:if cond='data:post.isDateStart'>
<div class="date-outer">
</b:if>
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
</b:if>
<b:if cond='data:post.isDateStart'>
<div class="date-posts">
</b:if>
<div class='post-outer'>
<b:include data='post' name='post'/>
<b:include cond='data:blog.pageType in
{"static_page","item"}' data='post' name='comment_picker'/>
</div>
<!-- Ad -->
<b:if cond='data:post.includeAd'>
<div class='inline-ad'>
<data:adCode/>
</div>
</b:if>
</b:loop>
<b:if cond='data:numPosts != 0'>
</div></div>
</b:if>
</div>
<!-- navigation -->
<b:include name='nextprev'/>
<b:include name='feedLinks'/>
<!-- STAR
RATING WIDGET JS CODE START -->
<b:if cond='data:top.showStars'>
<script src='//www.google.com/jsapi' type='text/javascript'/>
<script type='text/javascript'>
google.load("annotations",
"1", {"locale": "<data:top.languageCode/>"});
function initialize()
{
google.annotations.setApplicationId(<data:top.blogspotReviews/>);
google.annotations.createAll();
google.annotations.fetch();
}
google.setOnLoadCallback(initialize);
</script>
</b:if>
<!-- STAR
RATING WIDGET JS CODE END -->
<b:else/>
<b:include name='mobile-main'/>
</b:if>
<b:if cond='data:top.showDummy'>
<data:top.dummyBootstrap/>
</b:if>
</b:includable>
<b:includable id='post' var='post'>
<div class='post-header-line-1'/>
<div class='post-header'>
<div class='post-header-line-1'/>
<!-- STAR
RATING WIDGET JS CODE START -->
<div class='rw-ui-container'/>
<!-- STAR
RATING WIDGET JS CODE END -->
</div>
------------------------------------------------------------------------------------------------------
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment