<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//ES" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<meta content='IE=9' http-equiv='X-UA-Compatible'/>
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'/>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>
<b:skin><![CDATA[/*
/* ========================================================
Name : PicFotoPlate
Designed by: 54Blogger (http://fiveforblogger.blogspot.com)
Date : May 2011
======================================================== */
/* Template Colors and Fonts
<Variable name="bgcolor" description="Page Background Color"
type="color" default="#fff" value="#111111">
<Variable name="textcolor" description="Text Color"
type="color" default="#333" value="#cccccc">
<Variable name="headercolor" description="Header Color"
type="color" default="#666" value="#ffffff">
<Variable name="titlecolor" description="Post Title Color"
type="color" default="#c60" value="#bbbbbb">
<Variable name="bordercolor" description="Border Color"
type="color" default="#ccc" value="#dddddd">
<Variable name="linkcolor" description="Link Color"
type="color" default="#58a" value="#999999">
<Variable name="visitedlinkcolor" description="Visited Link Color"
type="color" default="#999" value="#999999">
<Variable name="hoverlinkcolor" description="Hover Color"
type="color" default="#999" value="#ffffff">
<Variable name="startSide" description="Side where text starts in blog language"
type="automatic" default="left" value="left">
<Variable name="endSide" description="Side where text ends in blog language"
type="automatic" default="right" value="right">
<Variable name="bodyfont" description="Text Font"
type="font" default="normal normal 100% Georgia, serif" value="normal normal 15px 'Times New Roman', Times, Georgia, serif">
<Variable name="blogtitlefont" description="Blog Title Font"
type="font" default="normal normal 200% Georgia, Serif" value="normal bold 200% 'Raleway', Sans-serif">
<Variable name="posttitlefont" description="Post Title Font"
type="font" default="normal normal 160% Georgia, serif" value="normal bold 250% 'Raleway', Sans-serif">
<Variable name="widgettitlefont" description="Widget Title Font"
type="font" default="normal normal 180% Georgia, serif" value="normal bold 180% 'Raleway', Sans-serif">
*/
#navbar-iframe {
display: none;
height: 0 !important;
visibility: hidden;
}
*{ margin: 0; padding: 0; }
body {
margin: 0 auto;
padding: 0;
font: $bodyfont;
line-height: 1.2;
color: $textcolor;
background: $bgcolor url(http://2.bp.blogspot.com/-099KiAz4-ws/Td-nz33Be1I/AAAAAAAABbg/M9C-_UH_FlQ/s1600/texture-body-bg.png);
}
a:link {
color: $linkcolor;
text-decoration: none;
}
a:visited {
color: $visitedlinkcolor;
text-decoration: none;
}
a:focus { outline-style: none; }
a:hover {
text-decoration: none;
color: #fff;
}
img {
border: 0;
margin: 0;
}
.clear { clear: both; }
/* headings
----------------------------------------------*/
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
h1 { font-size: 200%; }
h2 { font-size: 180%; }
h3 { font-size: 160%; }
h4 { font-size: 140%; }
h5 { font-size: 120%; }
h6 { font-size: 110%; }
/* main layouts
----------------------------------------------*/
#wrapper {
position:relative;
margin: 0 auto;
padding: 0;
}
#top-wrapper {
margin: 0;
padding: 0;
background: url(http://4.bp.blogspot.com/-t7FzKnuSy9o/Td-jI1RP3qI/AAAAAAAABbQ/ju0QCctdFtI/s1600/texture-top-bg.png);
}
#main-wrapper {
position: relative;
padding: 0;
margin: 0;
overflow: hidden;
}
#content {
display: inline;
width: 100%;
height: 100%;
margin: 0 auto;
padding: 0;
overflow: hidden;
}
.mask {
width: 100%;
margin: 0;
padding: 0;
border-top: 20px solid #2f2f2f;
background: #222;
}
.mask2 {
width: 960px;
margin: 0 auto;
padding: 0;
background: #222;
}
/* header
----------------------------------------------*/
#header-wrapper {
height: 90px;
width: 960px;
margin: 0 auto;
padding: 10px 0;
background: transparent;
}
#header {
float: $startSide;
width: 300px;
height: 90px;
margin: 0;
padding: 0 0 0 100px;
background: url(http://4.bp.blogspot.com/-76U_X6zTuSE/Td-nGmHESgI/AAAAAAAABbY/str6tuzFv1A/s1600/aperture-black90.png) no-repeat;
}
#header h1.title {
font: $blogtitlefont;
}
#header h1.title, #header h1.title a {
color: $headercolor;
}
#header .titlewrapper {
float: $startSide;
width: 100%;
margin: 20px 0 0;
padding: 0;
background: transparent;
}
#header .descriptionwrapper {
float: $startSide;
width: 100%;
margin: 0;
padding: 0;
font: normal normal 8px Helvetica, Arial, serif;
background: transparent;
}
#header img {
margin: 0 auto;
}
/* menu
----------------------------------------------*/
#menu {
float: $endSide;
width: 560px;
height: 90px;
line-height: 90px;
background: transparent;
}
#menu ul {
margin: 10px 0 0;
padding: 0;
}
#menu ul li {
list-style: none;
display: inline;
float: right;
padding: 0 0 0 20px;
}
#menu ul li a {
font: normal bold 32px 'Oswald', serif;
text-transform: uppercase;
text-shadow: 0px 1px 2px #666;
color: #222;
}
/* sharing buttons
----------------------------------------------*/
.post-button {
position: relative;
overflow: hidden;
width: 960px;
height: 70px;
margin: 0 auto;
padding: 0;
}
.post-button span.yslide img {
position: relative;
top: -20px;
float: $endSide;
margin: 0 4px 10px 6px;
}
.post-button img:hover {
-moz-box-shadow: 0px 0px 4px #777;
-webkit-box-shadow: 0px 0px 4px #777;
box-shadow: 0px 0px 4px #777;
}
/* thumb posts
----------------------------------------------*/
.post-summary {
float: $startSide;
overflow: hidden;
margin: 10px;
width: 300px;
height: 230px;
}
.post-summary h2 {
display: block;
position: relative;
height: 230px;
margin: 0;
padding: 0;
}
.post-summary a.thumbview {
display: block;
position: relative;
overflow: hidden;
height: 230px;
padding: 0;
color: #333;
line-height: 1.2;
border: none;
}
.post-summary a:hover {
text-decoration: none;
}
.post-summary img {
position: absolute;
top: 0px;
left: 0px;
width: 280px;
height: 210px;
z-index: 2;
border: 10px solid $bordercolor;
}
.post-summary span.preview {
position: absolute;
top: 230px;
left: 0px;
z-index: 3;
width: 280px;
height: 210px;
border-right: 10px solid $bordercolor;
border-bottom: 10px solid $bordercolor;
border-left: 10px solid $bordercolor;
background: url(http://3.bp.blogspot.com/-94oen-enR5U/Td-n0OEBlhI/AAAAAAAABbo/YlgVB-ObpRg/s1600/texture70-body-bg.png);
}
.post-summary span.title {
position: absolute;
top: 0;
left: 0;
padding: 10px 20px;
line-height: 1;
}
.post-summary span.linkview {
position: absolute;
top: 100px;
left: 65px;
padding: 10px 20px;
line-height: 1.2;
}
.post-summary span.linkview a {
color: #222;
}
.post-summary span.tag {
position: absolute;
top: 165px;
left: 0;
padding: 0px 20px;
font-size: 12px;
color: $bordercolor;
}
.post-summary span.tag a {
margin: 0;
padding: 0 0 0 5px;
font-size: 12px;
border: none;
text-shadow: none;
color: $bordercolor;
background: transparent;
}
/* normal posts
----------------------------------------------*/
.post {
width: 960px;
margin: 0 auto;
padding: 0;
}
.post h3.entry-title {
margin: 0;
padding: 0;
font: $posttitlefont;
line-height: 1.1;
}
.post h3.entry-title a, .post h3.entry-title a:visited {
text-decoration: none;
color: $titlecolor;
}
.post h3.entry-title strong, .post h3.entry-title a:hover {
color: $hoverlinkcolor;
}
.post ul, .post ol {
margin: 0 0 1em 1em;
}
.post ul li {
padding: .3em 0 0;
}
.post ol li {
margin: 0 0 0 .3em;
padding: .3em 0 0;
}
.post-body {
width: 600px;
margin: 0 0 .75em;
}
.post .post-body blockquote {
margin: .3em 0;
padding: 20px 0 10px 20px;
font-style: italic;
}
.post .post-body blockquote:before {
padding: 0 .4em 0 0;
content: url(http://4.bp.blogspot.com/-1zx7JIgGuUc/Td--HFUyzaI/AAAAAAAABcI/mwP5eY9A9rM/s1600/quote-open.png);
}
.post .post-body blockquote:after {
padding: 0 0 0 .4em;
content: url(http://1.bp.blogspot.com/-u_lme-oyeGg/Td--HdpWf8I/AAAAAAAABcQ/YZkMp-WQhhM/s1600/quote-close.png);
}
.post-body img {
float: left;
width: 940px;
height: auto;
margin: 0 0 20px;
border: 10px solid $bordercolor;
}
.post-body a {
border-bottom: 1px dotted #999;
}
.post-body .separator a {
border: none;
}
.post-body .post-header {
margin: 0 0 20px;
}
.post-body .post-header a {
border: none;
}
.post-body .post-footer {
margin: 1.5em 0;
line-height: 1.4;
}
.post-body .post-footer a {
border: none;
}
.post-labels a {
margin: 0 0 0 10px;
padding: 2px 15px;
text-decoration:none;
font-weight: bold;
text-shadow: 0px 1px 2px #444;
color: #111;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
background-color: #333;
}
/* misc
----------------------------------------------*/
.post table {
margin: .7em 0;
border: 1px solid #2f2f2f;
}
.post table td, table th {
padding: .3em .7em;
text-align: center;
border: 1px solid #2f2f2f;
}
.post table th {
text-transform: uppercase;
font-weight: normal;
background: #2a2a2a;
}
.tr-caption-container img {
border: none;
padding: 0;
}
.pagetitle {
display: block;
width: 960px;
margin: 0 auto;
text-align: center;
}
.pager {
width: 960px;
margin: 0 auto;
padding: 10px 0 0;
}
#blog-pager {
text-align: center;
clear: both;
margin: 0;
padding: 0;
text-transform: uppercase;
}
#blog-pager a {
padding: 0;
font: normal bold 74px 'Oswald', serif;
color: #2f2f2f;
}
#blog-pager-older-link {
float: $startSide;
height: 72px;
margin: 0;
padding: 0;
}
#blog-pager-newer-link {
float: $endSide;
height: 72px;
margin: 0;
padding: 0;
}
.item-content {
border-bottom: 5px solid #2d2d2d;
padding: 0 0 10px;
}
.item-thumbnail a img {
width: 90px;
height: auto;
margin: 0 .5em 0 0;
padding: 0;
border: 5px solid #353535;
}
.item-title a { font-weight: bold; }
/* comments
----------------------------------------------*/
#comments {
width: 600px;
padding: 0 360px 20px 0;
margin: 0 auto;
overflow: hidden;
}
#comments h4 {
display: block;
margin: 20px 0 10px;
padding: 0;
font-family: 'Oswald', serif;
font-size: 200%;
color: #333;
}
#comments a {
border-bottom: 1px dotted #999;
}
#comments a:hover {
color: #fff;
}
#comments-block {
position: relative;
margin: 10px 0;
}
#comments-block dt.comment-author {
margin: 10px 0 0;
padding: 5px 0;
font-size: .9em;
}
#comments-block dt.comment-author a {
border: none;
}
#comments-block dd.comment-body {
margin: 0 0 25px;
padding: 0;
}
#comments-block.avatar-comment-indent {
position: relative;
margin: 0;
}
.deleted-comment {
font-style: italic;
color: #999;
}
.feed-links {
display: none;
clear: both;
}
/*footer 3 columns
----------------------------------------------*/
#footer-wrapper {
margin: 0;
padding: 0 0 20px;
border-top: 20px solid #2f2f2f;
background: #2b2b2b;
}
#footer {
width: 960px;
margin: 0 auto;
padding: 10px 0 0;
line-height: 1.2;
color: #777;
background: transparent;
}
#footer a {
color: #777;
}
#footer a:hover {
color: $hoverlinkcolor;
}
.footcol {
float: $startSide;
margin: 10px 0;
padding: 0 10px 10px;
}
.footcol h2 {
margin: 0 0 20px -20px;
padding: 0 0 10px 20px;
font: $widgettitlefont;
border-bottom: 8px solid #2b2b2b;
}
.footcol ul, .footcol ol {
margin: 0;
}
.footcol ul li, .footcol ol li {
list-style: none;
padding: 0 0 .2em;
}
#fcol1, #fcol2, #fcol3 {
float: $startSide;
width: 300px;
}
#fcol1 .widget, #fcol2 .widget, #fcol3 .widget {
margin: 0 0 20px;
padding: 20px 15px 20px 20px;
background: #2f2f2f;
}
/* credit
----------------------------------------------*/
#credit-wrapper {
margin: 0;
background: #eee;
}
#credit {
width: 960px;
height: 2em;
margin: 0 auto;
padding: 1em 0 0 0;
color: $linkcolor;
}
#credit span.cleft {
float: $startSide;
}
#credit span.cright {
float: $endSide;
}
#credit p {
margin: 0;
font: normal normal 13px Helvetica, Arial, serif;
}
#credit a:hover {
color: $linkcolor;
}
]]></b:skin>
<!--Static Page Reset-->
<b:if cond='data:blog.pageType == "static_page"'>
<style type='text/CSS'>
.post .post-button, .post-summary, .post-author, .post-timestamp, .post-comment-link { display:none; }
</style>
</b:if>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>var thumbnail_mode = "no-float" ;
img_thumb_height = 210;
img_thumb_width = 280;
</script>
<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<span style="float:left;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
summ = summary_img;
}
var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;
}
//]]>
</script>
<script type='text/javascript'>
jQuery(function(){
//thumbview animation
jQuery(".post-summary").hover(function(){
jQuery(this).find(".preview").animate({top:10}, 'slow');
}, function(){
jQuery(this).find(".preview").animate({top:230}, 'slow');
});
//button animation
jQuery(".yslide").hover(function(){
jQuery(this).find("img").animate({top:-10}, 'slow');
}, function(){
jQuery(this).find("img").animate({top:-20}, 'slow');
});
});
</script>
</head>
<body>
<div id='wrapper'>
<div id='top-wrapper'>
<div id='header-wrapper'>
<div id='header'>
<b:section class='logoimg' id='blog-title' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='The picfotoplate (Header)' type='Header'>
<b:includable id='title'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<data:title/>
<b:else/>
<a expr:href='data:blog.homepageUrl'><data:title/></a>
</b:if>
</b:includable>
<b:includable id='description'>
<div class='descriptionwrapper'>
<h2><span><data:description/></span></h2>
</div>
</b:includable>
<b:includable id='main'>
<b:if cond='data:useImage'>
<b:if cond='data:imagePlacement == "BEHIND"'>
<!--
Show image as background to text. You can't really calculate the width
reliably in JS because margins are not taken into account by any of
clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
width if the user is using shrink to fit.
This results in a margin-width's worth of pixels being cropped. If the
user is not using shrink to fit then we expand the header.
-->
<div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); " + "background-position: " + data:backgroundPositionStyleStr + "; " + data:widthStyleStr + "min-height: " + data:height + "px;" + "_height: " + data:height + "px;" + "background-repeat: no-repeat; "' id='header-inner'>
<div class='titlewrapper' style='background: transparent'>
<h1 class='title' style='background: transparent; border-width: 0px'>
<b:include name='title'/>
</h1>
</div>
<b:include name='description'/>
</div>
<b:else/>
<!--Show the image only-->
<div id='header-inner'>
<a expr:href='data:blog.homepageUrl' style='display: block'>
<img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>
</a>
<!--Show the description-->
<b:if cond='data:imagePlacement == "BEFORE_DESCRIPTION"'>
<b:include name='description'/>
</b:if>
</div>
</b:if>
<b:else/>
<!--No header image -->
<div id='header-inner'>
<div class='titlewrapper'>
<h1 class='title'>
<b:include name='title'/>
</h1>
</div>
<b:include name='description'/>
</div>
</b:if>
</b:includable>
</b:widget>
</b:section>
</div>
<div id='menu'>
<ul>
<li><a href='#'>The Camera</a></li>
<li><a href='http://picfotoplate.blogspot.com/p/about.html'>About</a></li>
<li><a expr:href='data:blog.homepageUrl'>Home</a></li>
</ul>
</div>
</div>
<div class='clear'/>
</div>
<b:if cond='data:blog.pageType != "item"'> <!--main page-->
<div class='post-button'>
<span class='yslide'>
<a class='a2a_dd' href='http://www.addtoany.com/share_save'>
<img alt='Share' src='http://1.bp.blogspot.com/-mdkgd8pKYOw/Td-i-8JQThI/AAAAAAAABbA/uJ581pqMbLM/s1600/share.png'/></a>
<script src='http://static.addtoany.com/menu/page.js' type='text/javascript'/>
</span>
<span class='yslide'>
<a href='http://twitter.com/YOURTWITTER' target='_blank' title='Twit!'><img src='http://4.bp.blogspot.com/-KNfU0LokFcE/Td-i_PxyfyI/AAAAAAAABbI/gXgiCEankUw/s1600/twitter.png'/></a>
</span>
<span class='yslide'>
<a href='http://www.facebook.com/sharer.php?' target='_blank' title='Share this!'><img src='http://2.bp.blogspot.com/-WvevFqcREp0/Td-i-XY7R_I/AAAAAAAABaw/F_FqsgTvCO4/s1600/facebook.png'/></a>
</span>
<span class='yslide'>
<a expr:href='data:blog.homepageUrl + "feeds/posts/default"' target='_blank' title='Subscribe!'><img src='http://4.bp.blogspot.com/-ya3IQbz-F1k/Td-i-lCYePI/AAAAAAAABa4/jRLJD_NqO24/s1600/rss.png'/></a>
</span>
</div>
</b:if>
<div id='main-wrapper'>
<div id='content'>
<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'>
<b:includable id='nextprev'>
<div class='blog-pager' id='blog-pager'>
<b:if cond='data:olderPageUrl'>
<span id='blog-pager-older-link'>
<a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'>prev</a>
</span>
</b:if>
<b:if cond='data:newerPageUrl'>
<span id='blog-pager-newer-link'>
<a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'>next</a>
</span>
</b:if>
<b:if cond='data:mobileLinkUrl'>
<div class='blog-mobile-link'>
<a expr:href='data:mobileLinkUrl'><data:mobileLinkMsg/></a>
</div>
</b:if>
</div>
<div class='clear'/>
</b:includable>
<b:includable id='shareButtons' var='post'>
<a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + "&target=email"' expr:title='data:top.emailThisMsg' target='_blank'>
<span class='share-button-link-text'><data:top.emailThisMsg/></span>
</a><a class='goog-inline-block share-button sb-blog' expr:href='data:post.sharePostUrl + "&target=blog"' expr:onclick='"window.open(this.href, \"_blank\", \"height=270,width=475\"); return false;"' expr:title='data:top.blogThisMsg' target='_blank'>
<span class='share-button-link-text'><data:top.blogThisMsg/></span>
</a><a class='goog-inline-block share-button sb-twitter' expr:href='data:post.sharePostUrl + "&target=twitter"' expr:title='data:top.shareToTwitterMsg' target='_blank'>
<span class='share-button-link-text'><data:top.shareToTwitterMsg/></span>
</a><a class='goog-inline-block share-button sb-facebook' expr:href='data:post.sharePostUrl + "&target=facebook"' expr:onclick='"window.open(this.href, \"_blank\", \"height=430,width=640\"); return false;"' expr:title='data:top.shareToFacebookMsg' target='_blank'>
<span class='share-button-link-text'><data:top.shareToFacebookMsg/></span>
</a><b:if cond='data:top.showOrkutButton'><a class='goog-inline-block share-button sb-orkut' expr:href='data:post.sharePostUrl + "&target=orkut"' expr:title='data:top.shareToOrkutMsg' target='_blank'>
<span class='share-button-link-text'><data:top.shareToOrkutMsg/></span>
</a></b:if><a class='goog-inline-block share-button sb-buzz' expr:href='data:post.sharePostUrl + "&target=buzz"' expr:onclick='"window.open(this.href, \"_blank\", \"height=415,width=690\"); return false;"' expr:title='data:top.shareToBuzzMsg' target='_blank'>
<span class='share-button-link-text'><data:top.shareToBuzzMsg/></span>
</a>
<b:if cond='data:top.showDummy'>
<div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>
</b:if>
</b:includable>
<b:includable id='threaded_comment_js' var='post'>
<script defer='defer' expr:src='data:post.commentSrc' type='text/javascript'/>
<script type='text/javascript'>
(function() {
var items = <data:post.commentJso/>;
var msgs = <data:post.commentMsgs/>;
var postId = '<data:post.id/>';
var feed = '<data:post.commentFeed/>';
var authorName = '<data:post.author/>';
var authorUrl = '<data:post.authorUrl/>';
var blogId = '<data:top.id/>';
var baseUri = '<data:post.commentBase/>';
// <![CDATA[
feed += '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
var cursor = null;
if (items && items.length > 0) {
cursor = parseInt(items[items.length - 1].timestamp) + 1;
}
var bodyFromEntry = function(entry) {
if (entry.gd$extendedProperty) {
for (var k in entry.gd$extendedProperty) {
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved') {
return '<span class="deleted-comment">' + entry.content.$t + '</span>';
}
}
}
return entry.content.$t;
}
var parse = function(data) {
cursor = null;
var comments = [];
if (data && data.feed && data.feed.entry) {
for (var i = 0, entry; entry = data.feed.entry[i]; i++) {
var comment = {};
// comment ID, parsed out of the original id format
var id = /blog-(\d+).post-(\d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array) {
var auth = entry.author[0];
if (auth) {
comment.author = {
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
};
}
}
if (entry.link) {
if (entry.link[2]) {
comment.link = comment.permalink = entry.link[2].href;
}
if (entry.link[3]) {
var pid = /.*comments\/default\/(\d+)\?.*/.exec(entry.link[3].href);
if (pid && pid[1]) {
comment.parentId = pid[1];
}
}
}
comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty) {
for (var k in entry.gd$extendedProperty) {
console.log(entry.gd$extendedProperty[k].name + ' - ' + entry.gd$extendedProperty[k].value);
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass') {
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
}
}
}
comments.push(comment);
}
}
return comments;
};
var paginator = function(callback) {
if (hasMore()) {
var url = feed;
if (cursor) {
url += '&published-min=' + new Date(cursor).toISOString();
}
window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length < 50 ? null
: parseInt(parsed[parsed.length - 1].timestamp) + 1
callback(parsed);
window.bloggercomments = null;
}
url += '&callback=bloggercomments';
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
document.getElementsByTagName('head')[0].appendChild(script);
}
};
var hasMore = function() {
return !!cursor;
};
var getMeta = function(key, comment) {
if ('iswriter' == key) {
var matches = !!comment.author
&& comment.author.name == authorName
&& comment.author.profileUrl == authorUrl;
return matches ? 'true' : '';
} else if ('deletelink' == key) {
return baseUri + '/delete-comment.g?blogID=' + blogId + '&postID=' + comment.id;
} else if ('deleteclass' == key) {
return comment.deleteclass;
}
return '';
};
var replybox = null;
var replyUrlParts = null;
var replyParent = undefined;
var onReply = function(commentId, domId) {
if (replybox == null) {
// lazily cache replybox, and adjust to suit this style:
replybox = document.getElementById('comment-editor');
if (replybox != null) {
replybox.height = '250px';
replybox.style.display = 'block';
replyUrlParts = replybox.src.split('#');
}
}
if (replybox && (commentId !== replyParent)) {
document.getElementById(domId).insertBefore(replybox, null);
replybox.src = replyUrlParts[0]
+ (commentId ? '&parentID=' + commentId : '')
+ '#' + replyUrlParts[1];
replyParent = commentId;
}
};
var tok = 'comment-form_';
var hash = window.location.hash || '';
var startThread = hash.indexOf(tok) == 1 ? hash.substring(tok.length + 1) : undefined;
// Configure commenting API:
var configJso = {
'maxDepth': 2
};
var provider = {
'id': postId,
'data': items,
'loadNext': paginator,
'hasMore': hasMore,
'getMeta': getMeta,
'onReply': onReply,
'rendered': true,
'initReplyThread': startThread,
'config': configJso,
'messages': msgs
};
var render = function() {
if (window.goog && window.goog.comments) {
var holder = document.getElementById('comment-holder');
window.goog.comments.render(holder, provider);
}
};
// render now, or queue to render when library loads:
if (window.goog && window.goog.comments) {
render();
} else {
window.goog = window.goog || {};
window.goog.comments = window.goog.comments || {};
window.goog.comments.loadQueue = window.goog.comments.loadQueue || [];
window.goog.comments.loadQueue.push(render);
}
})();
// ]]>
</script>
</b:includable>
<b:includable id='backlinks' var='post'>
<a name='links'/><h4><data:post.backlinksLabel/></h4>
<b:if cond='data:post.numBacklinks != 0'>
<dl class='comments-block' id='comments-block'>
<b:loop values='data:post.backlinks' var='backlink'>
<div class='collapsed-backlink backlink-control'>
<dt class='comment-title'>
<span class='backlink-toggle-zippy'> </span>
<a expr:href='data:backlink.url' rel='nofollow'><data:backlink.title/></a>
<b:include data='backlink' name='backlinkDeleteIcon'/>
</dt>
<dd class='comment-body collapseable'>
<data:backlink.snippet/>
</dd>
<dd class='comment-footer collapseable'>
<span class='comment-author'><data:post.authorLabel/> <data:backlink.author/></span>
<span class='comment-timestamp'><data:post.timestampLabel/> <data:backlink.timestamp/></span>
</dd>
</div>
</b:loop>
</dl>
</b:if>
<p class='comment-footer'>
<a class='comment-link' expr:href='data:post.createLinkUrl' expr:id='data:widget.instanceId + "_backlinks-create-link"' target='_blank'><data:post.createLinkLabel/></a>
</p>
</b:includable>
<b:includable id='mobile-main' var='top'>
<!-- posts -->
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<b:if cond='data:blog.pageType == "index"'>
<b:loop values='data:posts' var='post'>
<b:include data='post' name='mobile-index-post'/>
</b:loop>
<b:else/>
<b:loop values='data:posts' var='post'>
<b:include data='post' name='mobile-post'/>
</b:loop>
</b:if>
</div>
<b:include name='mobile-nextprev'/>
</b:includable>
<b:includable id='post' var='post'>
<b:if cond='data:blog.pageType != "item"'> <!--main page-->
<div class='mask2'>
<div class='post-summary' id='post'>
<h2>
<a class='thumbview' expr:href='data:post.url'>
<a expr:href='data:post.url'>
<div expr:id='"summary" + data:post.id'><data:post.body/>
</div>
</a>
<script type='text/javascript'>getImage("summary<data:post.id/>"); </script>
</a>
<span class='preview'>
<span class='title'><a expr:href='data:post.url'><data:post.title/></a>
</span>
<span class='linkview' style='display:block; background:#eee; border:1px solid #999;'><a expr:href='data:post.url'>Full View</a>
</span>
<span class='tag'>
<span class='post-labels'>
<b:if cond='data:post.labels'><data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
</span>
</span>
</span>
</h2>
</div>
</div>
</b:if>
<b:if cond='data:blog.pageType != "index"'> <!--post page-->
<div class='post hentry'>
<a expr:name='data:post.id'/>
<div class='post-button'>
<span class='yslide'>
<a class='a2a_dd' href='http://www.addtoany.com/share_save'><img alt='Share/Bookmark' border='0' src='http://1.bp.blogspot.com/-mdkgd8pKYOw/Td-i-8JQThI/AAAAAAAABbA/uJ581pqMbLM/s1600/share.png'/></a>
<p class='a2a_linkname_escape' style='display:none'><data:post.title/></p>
<script type='text/javascript'>var a2a_config = a2a_config || {};a2a_config.linkname_escape=1;a2a_config.linkurl="<data:post.url/>";</script>
<script src='http://static.addtoany.com/menu/page.js' type='text/javascript'/>
</span>
<span class='yslide'>
<a expr:href='"http://twitter.com/share?text=" + data:post.title + "&url=" + data:post.url' target='_blank' title='Twit!'><img src='http://4.bp.blogspot.com/-KNfU0LokFcE/Td-i_PxyfyI/AAAAAAAABbI/gXgiCEankUw/s1600/twitter.png'/></a>
</span>
<span class='yslide'>
<a expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&t=" + data:post.title' target='_blank' title='Share this!'><img src='http://2.bp.blogspot.com/-WvevFqcREp0/Td-i-XY7R_I/AAAAAAAABaw/F_FqsgTvCO4/s1600/facebook.png'/></a>
</span>
<span class='yslide'>
<a expr:href='data:blog.homepageUrl + "feeds/posts/default"' target='_blank' title='Subscribe!'><img src='http://4.bp.blogspot.com/-ya3IQbz-F1k/Td-i-lCYePI/AAAAAAAABa4/jRLJD_NqO24/s1600/rss.png'/></a>
</span>
</div>
<div class='post-body entry-content'>
<div class='post-header'>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h3>
</b:if>
<span class='post-author vcard'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/>
<span class='fn'><data:post.author/></span>
</b:if>
</span>
<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<data:top.timestampLabel/>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
<span class='post-comment-link'>
<b:if cond='data:post.allowComments'>
✪ <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<b:if cond='data:post.numComments == 1'>1 comment
<b:else/>
<b:if cond='data:post.numComments == 0'>No comment yet
<b:else/>
<data:post.numComments/> comments
</b:if>
</b:if>
</a>
</b:if>
</span>
</div>
<data:post.body/>
<div style='clear: both;'/>
<b:if cond='data:post.hasJumpLink'>
<div class='jump-link'>
<a expr:href='data:post.url'>more</a>
</div>
</b:if>
</div>
<div class='clear'/>
<div class='post-footer'>
<b:if cond='data:blog.pageType == "item"'>
<div class='post-footer-line-1'>
<span class='post-labels'>
<b:if cond='data:post.labels'><data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'/>
</b:loop>
</b:if>
</span>
</div>
<div class='post-footer-line-2'>
<span class='post-backlinks post-comment-link'>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:post.showBacklinks'>
<a class='comment-link' expr:href='data:post.url + "#links"'><data:top.backlinkLabel/></a>
</b:if>
</b:if>
</span>
<span class='post-icons'>
<b:if cond='data:post.emailPostUrl'>
<span class='item-action'>
<a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
<img alt='' class='icon-action' height='13' src='http://www.blogger.com/img/icon18_email.gif' width='18'/>
</a>
</span>
</b:if>
<b:include data='post' name='postQuickEdit'/>
</span>
</div>
<div class='post-footer-line-3'/>
<div class='clear'/>
</b:if>
</div>
</div>
</b:if>
</b:includable>
<b:includable id='status-message'>
<b:if cond='data:blog.pageType == "archive"'>
<p class='pagetitle'>Archive for <data:blog.pageName/></p>
</b:if>
<b:if cond='data:navMessage'>
<p class='pagetitle'><data:navMessage/></p>
</b:if>
</b:includable>
<b:includable id='comment-form' var='post'>
<div id='comment-form'>
<a name='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' frameborder='0' height='410' id='comment-editor' scrolling='no' src='' width='100%'/>
<data:post.iframeColorizer/>
</div>
</b:includable>
<b:includable id='threaded_comments' var='post'>
<b:include name='threaded_comment_css'/>
<div class='comments' id='comments'>
<a name='comments'/>
<h4>
<b:if cond='data:post.numComments == 1'>
1 <data:commentLabel/>:
<b:else/>
<data:post.numComments/> <data:commentLabelPlural/>:
</b:if>
</h4>
<div class='comments-content'>
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='threaded_comment_js'/>
</b:if>
<div id='comment-holder'>
<data:post.commentHtml/>
</div>
</div>
<p class='comment-footer'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='threaded-comment-form'/>
<b:else/>
<data:post.noNewCommentsText/>
</b:if>
</p>
<b:if cond='data:showCmtPopup'>
<div id='comment-popup'>
<iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
</iframe>
</div>
</b:if>
<div id='backlinks-container'>
<div expr:id='data:widget.instanceId + "_backlinks-container"'>
<b:if cond='data:post.showBacklinks'>
<b:include data='post' name='backlinks'/>
</b:if>
</div>
</div>
</div>
</b:includable>
<b:includable id='backlinkDeleteIcon' var='backlink'>
<span expr:class='"item-control " + data:backlink.adminClass'>
<a expr:href='data:backlink.deleteUrl' expr:title='data:top.deleteBacklinkMsg'>
<img src='//www.blogger.com/img/icon_delete13.gif'/>
</a>
</span>
</b:includable>
<b:includable id='mobile-nextprev'>
<div class='blog-pager' id='blog-pager'>
<b:if cond='data:newerPageUrl'>
<div class='mobile-link-button' id='blog-pager-newer-link'>
<a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + "_blog-pager-newer-link"' expr:title='data:newerPageTitle'>&laquo;</a>
</div>
</b:if>
<b:if cond='data:olderPageUrl'>
<div class='mobile-link-button' id='blog-pager-older-link'>
<a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + "_blog-pager-older-link"' expr:title='data:olderPageTitle'>&raquo;</a>
</div>
</b:if>
<div class='mobile-link-button' id='blog-pager-home-link'>
<a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
</div>
<div class='mobile-desktop-link'>
<a class='home-link' expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>
</div>
</div>
<div class='clear'/>
</b:includable>
<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'>
<a expr:name='data:post.id'/>
<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<b:if cond='data:blog.url != data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
<b:else/>
<data:post.title/>
</b:if>
</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'>
<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'>
<span class='post-author vcard'>
<b:if cond='data:top.showAuthor'>
<b:if cond='data:post.authorProfileUrl'>
<span class='fn'>
<a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
<data:post.author/>
</a>
</span>
<b:else/>
<span class='fn'><data:post.author/></span>
</b:if>
</b:if>
</span>
<span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
<data:top.timestampLabel/>
<b:if cond='data:post.url'>
<a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a>
</b:if>
</b:if>
</span>
<span class='post-comment-link'>
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
</b:if>
</b:if>
</b:if>
</span>
</div>
<div class='post-footer-line post-footer-line-2'>
<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:if cond='data:blog.pageType == "static_page"'>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
</div>
</div>
</div>
</b:includable>
<b:includable id='postQuickEdit' var='post'>
<b:if cond='data:post.editUrl'>
<span expr:class='"item-control " + data:post.adminClass'>
<a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
<img alt='' class='icon-action' height='18' src='http://img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</b:if>
</b:includable>
<b:includable id='main' var='top'> <!-- posts area-->
<div class='blog-posts hfeed'>
<b:include data='top' name='status-message'/>
<data:adStart/>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.labels'>
<b:include data='post' name='post'/>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:if cond='data:blog.pageType == "item"'> <!-- navigation -->
<div class='pager'>
<b:include name='nextprev'/>
</div>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comments'/>
</b:if>
<b:if cond='data:post.includeAd'>
<data:adEnd/>
<data:adCode/>
<data:adStart/>
</b:if>
<b:if cond='data:post.trackLatency'>
<data:post.latencyJs/>
</b:if>
</b:loop>
<data:adEnd/>
</div>
<div class='clear'/>
<b:if cond='data:blog.pageType != "item"'> <!-- navigation -->
<div class='pager'>
<b:include name='nextprev'/>
</div>
</b:if>
<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>
</b:includable>
<b:includable id='commentDeleteIcon' var='comment'>
<span expr:class='"item-control " + data:comment.adminClass'>
<a expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'>
<img src='//www.blogger.com/img/icon_delete13.gif'/>
</a>
</span>
</b:includable>
<b:includable id='feedLinks'>
<b:if cond='data:blog.pageType != "item"'> <!-- Blog feed links -->
<b:if cond='data:feedLinks'>
<div class='blog-feeds'>
<b:include data='feedLinks' name='feedLinksBody'/>
</div>
</b:if>
<b:else/> <!--Post feed links -->
<div class='post-feeds'>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.allowComments'>
<b:if cond='data:post.feedLinks'>
<b:include data='post.feedLinks' name='feedLinksBody'/>
</b:if>
</b:if>
</b:loop>
</div>
</b:if>
</b:includable>
<b:includable id='threaded-comment-form' var='post'>
<div class='comment-form'>
<a name='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('<data:post.appRpcRelayPath/>', '<data:post.communityId/>');
</script>
</div>
</b:includable>
<b:includable id='threaded_comment_css'>
<style>
.comments {
clear: both;
margin-top: 10px;
margin-bottom: 0px;
line-height: 1em;
}
.comments .comments-content {
font-size: 13px;
margin-bottom