Advertisement
Marlivia

jeni

Nov 15th, 2014
506
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.97 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html expr:dir='data:blog.languageDirection' 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'>
  4. <head>
  5. <b:include data='blog' name='all-head-content'/>
  6. <title><data:blog.pageTitle/></title>
  7. <b:skin><![CDATA[/*
  8. -----------------------------------------------
  9. Theme base 02
  10. Autora: Marlívia carmo
  11. Autora url: http://eles-e-eu.tumblr.com/ e http://marlivia.tumblr.com/
  12. Data: 02,05,2013
  13. Não remova os créditos.
  14. Leia as instruções antes de instalar.
  15. ----------------------------------------------- */
  16. *{margin:0;padding:0;border:none;text-decoration:none;font-size:100%;font:inherit;vertical-align:baseline;font-weight:normal;}
  17. .feed-links,.status-msg-body,.status-msg-wrap{height:0;display:none;}
  18.  
  19. /* -------------------- body */
  20. body{text-align:justify;background-image:url(http://i.imgur.com/JBC72ON.png);background-repeat:repeat-x;font:normal normal 12px/20px 'Source Sans Pro', sans-serif;color:#777;}
  21.  
  22. ::-moz-selection{background-color:#eee;color:#555;}
  23. ::selection{background-color:#eee;color:#555;}
  24.  
  25. a{color:#EE7A8D;}
  26. a:hover{text-decoration:underline;}
  27. strong,b{font-weight:bold;}
  28. i,em{font-style:italic;}
  29. s{text-decoration: overline;}
  30. u{text-decoration:underline;}
  31. blockquote{border-left:5px solid #F5AEBA;background-color:#f3f3f3;padding:3px 3px 3px 12px;margin:5px 0 5px 0;}
  32. img.blog{display:block;width:530px;margin:3px 0 3px 0;}
  33. img.borda{margin:0 3px 0 0;width:100px;float:left;padding:4px 4px 8px 4px;background-color:#ddd;}
  34.  
  35.  
  36. /* -------------------- header */
  37. .liuc{display:block;height:40px;display:block;margin-bottom:10px;}
  38. #menu{margin-left:268px;font-size:11px;margin-top:-40px;clear:both;display:block;position:absolute;}
  39.  
  40. #menu a{text-align:center;width:60px;margin:0 3px 0 0;float:left;padding:5px;line-height:15px;background-color:#fff;text-transform:uppercase;}
  41. #menu a:hover{text-decoration:none;color:#fff;background-color:#EE7A8D;}
  42. #sidebar #title{display:block;font:normal normal 20pt 'Sacramento', cursive;margin-bottom:8px;}
  43. .heart{color:#F4869E;font-size:15pt;}
  44.  
  45.  
  46. /* -------------------- page */
  47. #pagina{width:800px;margin:0 auto;}
  48.  
  49. /* -------------------- body */
  50. #sidebar{width:250px;float:left;margin-top:10px;}
  51. #sidebar .widget{display:block;margin:1px 0 25px 0;}
  52. #sidebar h2{font-weight:bold;color:#888;margin:3px 0 7px 0;font-size:14px;display:block;text-align:center;}
  53. .sobre{margin:2px;font-size:10px;}
  54. .credito{border-bottom:1px solid #f0f0f0;display:block;font-size:10px;text-align:center;}
  55. #sidebar select{border:3px double #f0f0f0;width:100%;}
  56.  
  57. /* -------------------- posts */
  58. #posts{float:right;width:530px;padding:4px;margin-top:10px;}
  59. #posts .post{border-bottom:1px solid #ccc;margin-bottom:25px;}
  60. .post-title{font-size:18px;display:block;margin-bottom:6px;}
  61. .post-title a{color:#ACAAAA;}
  62. .comment-content{background-color:#f3f3f3;padding:5px;}
  63. .comment-header{text-transform:uppercase;border-bottom:1px solid #ddd;}
  64. .datse-hseader{float:left;background-color:#f0f0f0;width:75px;height:25px;text-align:center;text-shadow:0 1px 0 #fff;}
  65. .post-labels{display:block;border-top:1px solid #f0f0f0;font-size:10px;text-transform:uppercase;}
  66. .post-comment-link{display:block;float:right;}
  67. .post-body{margin:10px 0 0 0;}
  68. h2.date{display:block;border-bottom:1px solid #f0f0f0;padding:2px;}
  69.  
  70. a.home-link{line-height:16px;background-color:#eee;text-align:center;padding:10px;margin:2px;}
  71.  
  72. #footer{clear:both;background-color:#e0e0e0;padding:5px;height:35px;border-top:8px solid #C8C8C8;margin:10px 0 0 0;text-transform:uppercase;font-size:10px;text-align:center;}
  73. ]]></b:skin>
  74. <link href='http://fonts.googleapis.com/css?family=Sacramento' rel='stylesheet' type='text/css'/>
  75. <link href='http://fonts.googleapis.com/css?family=Fjalla+One' rel='stylesheet' type='text/css'/>
  76. <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'/>
  77. <link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed' rel='stylesheet' type='text/css'/>
  78.  
  79. </head>
  80.  
  81. <body>
  82. <!-- pagina -->
  83. <div id='pagina'>
  84. <div class='liuc'/>
  85.  
  86. <div id='menu'><a href='/'>Home</a><a href='/'>About</a><a href='/'>Links</a><a href='/'>Link</a><a href='/'>Link</a></div>
  87.  
  88.  
  89.  
  90. <div id='sidebar'>
  91. <div id='title'>Nome do seu blog <span class='heart'>&#9829;</span></div>
  92. <img class='borda' src='http://media.tumblr.com/13dc3fd1d9bb474dbdfba4ad07b17a8a/tumblr_inline_mlz4ktZSTF1qz4rgp.png'/>
  93. <div class='sobre'>
  94. Texto texto texto Texto texto texto Texto texto texto Texto texto texto Texto texto texto Texto texto texto Texto texto texto Texto texto texto Texto texto texto Texto texto texto
  95. </div>
  96. <b:section class='sidebar' id='sidebar' preferred='yes'>
  97. <b:widget id='Label1' locked='false' title='Marcadores' type='Label'>
  98. <b:includable id='main'>
  99. <b:if cond='data:title'>
  100. <h2><data:title/></h2>
  101. </b:if>
  102. <div expr:class='&quot;widget-content &quot; + data:display + &quot;-label-widget-content&quot;'>
  103. <b:if cond='data:display == &quot;list&quot;'>
  104. <ul>
  105. <b:loop values='data:labels' var='label'>
  106. <li>
  107. <b:if cond='data:blog.url == data:label.url'>
  108. <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
  109. <b:else/>
  110. <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
  111. </b:if>
  112. <b:if cond='data:showFreqNumbers'>
  113. <span dir='ltr'>(<data:label.count/>)</span>
  114. </b:if>
  115. </li>
  116. </b:loop>
  117. </ul>
  118. <b:else/>
  119. <b:loop values='data:labels' var='label'>
  120. <span expr:class='&quot;label-size label-size-&quot; + data:label.cssSize'>
  121. <b:if cond='data:blog.url == data:label.url'>
  122. <span expr:dir='data:blog.languageDirection'><data:label.name/></span>
  123. <b:else/>
  124. <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
  125. </b:if>
  126. <b:if cond='data:showFreqNumbers'>
  127. <span class='label-count' dir='ltr'>(<data:label.count/>)</span>
  128. </b:if>
  129. </span>
  130. </b:loop>
  131. </b:if>
  132. <b:include name='quickedit'/>
  133. </div>
  134. </b:includable>
  135. </b:widget>
  136. <b:widget id='BlogArchive1' locked='false' title='Arquivo do blog' type='BlogArchive'>
  137. <b:includable id='main'>
  138. <b:if cond='data:title'>
  139. <h2><data:title/></h2>
  140. </b:if>
  141. <div class='widget-content'>
  142. <div id='ArchiveList'>
  143. <div expr:id='data:widget.instanceId + &quot;_ArchiveList&quot;'>
  144. <b:if cond='data:style == &quot;HIERARCHY&quot;'>
  145. <b:include data='data' name='interval'/>
  146. </b:if>
  147. <b:if cond='data:style == &quot;FLAT&quot;'>
  148. <b:include data='data' name='flat'/>
  149. </b:if>
  150. <b:if cond='data:style == &quot;MENU&quot;'>
  151. <b:include data='data' name='menu'/>
  152. </b:if>
  153. </div>
  154. </div>
  155. <b:include name='quickedit'/>
  156. </div>
  157. </b:includable>
  158. <b:includable id='flat' var='data'>
  159. <ul class='flat'>
  160. <b:loop values='data:data' var='i'>
  161. <li class='archivedate'>
  162. <a expr:href='data:i.url'><data:i.name/></a> (<data:i.post-count/>)
  163. </li>
  164. </b:loop>
  165. </ul>
  166. </b:includable>
  167. <b:includable id='interval' var='intervalData'>
  168. <b:loop values='data:intervalData' var='i'>
  169. <ul class='hierarchy'>
  170. <li expr:class='&quot;archivedate &quot; + data:i.expclass'>
  171. <b:include data='i' name='toggle'/>
  172. <a class='post-count-link' expr:href='data:i.url'><data:i.name/></a>
  173. <span class='post-count' dir='ltr'>(<data:i.post-count/>)</span>
  174. <b:if cond='data:i.data'>
  175. <b:include data='i.data' name='interval'/>
  176. </b:if>
  177. <b:if cond='data:i.posts'>
  178. <b:include data='i.posts' name='posts'/>
  179. </b:if>
  180. </li>
  181. </ul>
  182. </b:loop>
  183. </b:includable>
  184. <b:includable id='menu' var='data'>
  185. <select expr:id='data:widget.instanceId + &quot;_ArchiveMenu&quot;'>
  186. <option value=''><data:title/></option>
  187. <b:loop values='data:data' var='i'>
  188. <option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option>
  189. </b:loop>
  190. </select>
  191. </b:includable>
  192. <b:includable id='posts' var='posts'>
  193. <ul class='posts'>
  194. <b:loop values='data:posts' var='i'>
  195. <li><a expr:href='data:i.url'><data:i.title/></a></li>
  196. </b:loop>
  197. </ul>
  198. </b:includable>
  199. <b:includable id='toggle' var='interval'>
  200. <b:if cond='data:interval.toggleId'>
  201. <b:if cond='data:interval.expclass == &quot;expanded&quot;'>
  202. <a class='toggle' href='javascript:void(0)'>
  203. <span class='zippy toggle-open'>&#9660;&#160;</span>
  204. </a>
  205. <b:else/>
  206. <a class='toggle' href='javascript:void(0)'>
  207. <span class='zippy'>
  208. <b:if cond='data:blog.languageDirection == &quot;rtl&quot;'>
  209. &#9668;&#160;
  210. <b:else/>
  211. &#9658;&#160;
  212. </b:if>
  213. </span>
  214. </a>
  215. </b:if>
  216. </b:if>
  217. </b:includable>
  218. </b:widget>
  219. </b:section>
  220. <div class='credito'>Theme by <a href='http://marlivia.tumblr.com/'>Marlívia</a>,não remova os créditos.
  221. <br/>Copyright 2013
  222. </div>
  223. </div>
  224.  
  225. <div id='posts'>
  226. <b:section class='main' id='main' showaddelement='no'>
  227. <b:widget id='Blog1' locked='true' title='Postagens no blog' type='Blog'>
  228. <b:includable id='main' var='top'>
  229. <b:if cond='data:mobile == &quot;false&quot;'>
  230.  
  231. <!-- posts -->
  232. <div class='blog-posts hfeed'>
  233.  
  234. <b:include data='top' name='status-message'/>
  235.  
  236. <data:defaultAdStart/>
  237. <b:loop values='data:posts' var='post'>
  238. <b:if cond='data:post.isDateStart'>
  239. <b:if cond='data:post.isFirstPost == &quot;false&quot;'>
  240. &lt;/div&gt;&lt;/div&gt;
  241. </b:if>
  242. </b:if>
  243. <b:if cond='data:post.isDateStart'>
  244. &lt;div class=&quot;date-outer&quot;&gt;
  245. </b:if>
  246.  
  247. <div class='post-outer'>
  248. <b:include data='post' name='post'/>
  249. <b:if cond='data:blog.pageType == &quot;static_page&quot;'>
  250. <b:if cond='data:post.showThreadedComments'>
  251. <b:include data='post' name='threaded_comments'/>
  252. <b:else/>
  253. <b:include data='post' name='comments'/>
  254. </b:if>
  255. </b:if>
  256. <b:if cond='data:blog.pageType == &quot;item&quot;'>
  257. <b:if cond='data:post.showThreadedComments'>
  258. <b:include data='post' name='threaded_comments'/>
  259. <b:else/>
  260. <b:include data='post' name='comments'/>
  261. </b:if>
  262. </b:if>
  263. </div>
  264. <b:if cond='data:post.includeAd'>
  265. <b:if cond='data:post.isFirstPost'>
  266. <data:defaultAdEnd/>
  267. <b:else/>
  268. <data:adEnd/>
  269. </b:if>
  270. <div class='inline-ad'>
  271. <data:adCode/>
  272. </div>
  273. <data:adStart/>
  274. </b:if>
  275. </b:loop>
  276. <b:if cond='data:numPosts != 0'>
  277. &lt;/div&gt;&lt;/div&gt;
  278. </b:if>
  279. <data:adEnd/>
  280. </div>
  281.  
  282. <!-- navigation -->
  283. <b:include name='nextprev'/>
  284.  
  285. <!-- feed links -->
  286. <b:include name='feedLinks'/>
  287.  
  288. <b:if cond='data:top.showStars'>
  289. <script src='//www.google.com/jsapi' type='text/javascript'/>
  290. <script type='text/javascript'>
  291. google.load(&quot;annotations&quot;, &quot;1&quot;, {&quot;locale&quot;: &quot;<data:top.languageCode/>&quot;});
  292. function initialize() {
  293. google.annotations.setApplicationId(<data:top.blogspotReviews/>);
  294. google.annotations.createAll();
  295. google.annotations.fetch();
  296. }
  297. google.setOnLoadCallback(initialize);
  298. </script>
  299. </b:if>
  300.  
  301. <b:else/>
  302. <b:include name='mobile-main'/>
  303. </b:if>
  304.  
  305. <b:if cond='data:top.showDummy'>
  306. <data:top.dummyBootstrap/>
  307. </b:if>
  308.  
  309. </b:includable>
  310. <b:includable id='backlinkDeleteIcon' var='backlink'>
  311. <span expr:class='&quot;item-control &quot; + data:backlink.adminClass'>
  312. <a expr:href='data:backlink.deleteUrl' expr:title='data:top.deleteBacklinkMsg'>
  313. <img src='//www.blogger.com/img/icon_delete13.gif'/>
  314. </a>
  315. </span>
  316. </b:includable>
  317. <b:includable id='backlinks' var='post'>
  318. <a name='links'/><h4>Há <data:post.backlinksLabel/></h4>
  319. <b:if cond='data:post.numBacklinks != 0'>
  320. <dl class='comments-block' id='comments-block'>
  321. <b:loop values='data:post.backlinks' var='backlink'>
  322. <div class='collapsed-backlink backlink-control'>
  323. <dt class='comment-title'>
  324. <span class='backlink-toggle-zippy'>&#160;</span>
  325. <b:include data='backlink' name='backlinkDeleteIcon'/>
  326. </dt>
  327. <div class='comment-body collapseable'>
  328. <data:backlink.snippet/>
  329. </div>
  330.  
  331. </div>
  332. </b:loop>
  333. </dl>
  334. </b:if>
  335. <p class='comment-footer'>
  336. <a class='comment-link' expr:href='data:post.createLinkUrl' expr:id='data:widget.instanceId + &quot;_backlinks-create-link&quot;' target='_blank'><data:post.createLinkLabel/></a>
  337. </p>
  338. </b:includable>
  339. <b:includable id='comment-form' var='post'>
  340. <div class='comment-form'>
  341. <a name='comment-form'/>
  342. <b:if cond='data:mobile'>
  343. <h4 id='comment-post-message'>
  344. <a expr:id='data:widget.instanceId + &quot;_comment-editor-toggle-link&quot;' href='javascript:void(0)'><data:postCommentMsg/></a></h4>
  345. <p><data:blogCommentMessage/></p>
  346. <data:blogTeamBlogMessage/>
  347. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  348. <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%'/>
  349. <b:else/>
  350. <h4 id='comment-post-message'><data:postCommentMsg/></h4>
  351. <p><data:blogCommentMessage/></p>
  352. <data:blogTeamBlogMessage/>
  353. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  354. <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
  355. </b:if>
  356. <data:post.friendConnectJs/>
  357. <data:post.cmtfpIframe/>
  358. <script type='text/javascript'>
  359. BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
  360. </script>
  361. </div>
  362. </b:includable>
  363. <b:includable id='commentDeleteIcon' var='comment'>
  364. <span expr:class='&quot;item-control &quot; + data:comment.adminClass'>
  365. <b:if cond='data:showCmtPopup'>
  366. <div class='goog-toggle-button'>
  367. <div class='goog-inline-block comment-action-icon'/>
  368. </div>
  369. <b:else/>
  370. <a class='comment-delete' expr:href='data:comment.deleteUrl' expr:title='data:top.deleteCommentMsg'>
  371. <img src='//www.blogger.com/img/icon_delete13.gif'/>
  372. </a>
  373. </b:if>
  374. </span>
  375. </b:includable>
  376. <b:includable id='comment_count_picker' var='post'>
  377. <b:if cond='data:post.forceIframeComments'>
  378. <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-url='data:post.canonicalUrl'>
  379. </span>
  380. <b:else/>
  381. <b:if cond='data:post.commentSource == 1'>
  382. <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-url='data:post.canonicalUrl'>
  383. </span>
  384. <b:else/>
  385. <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
  386. <data:post.commentLabelFull/>:
  387. </a>
  388. </b:if>
  389. </b:if>
  390. </b:includable>
  391. <b:includable id='comment_picker' var='post'>
  392. <b:if cond='data:post.forceIframeComments'>
  393. <b:include data='post' name='iframe_comments'/>
  394. <b:if cond='data:post.showThreadedComments'>
  395. <b:include data='post' name='threaded_comments'/>
  396. <b:else/>
  397. <b:include data='post' name='comments'/>
  398. </b:if>
  399. <b:else/>
  400. <b:if cond='data:post.commentSource == 1'>
  401. <b:include data='post' name='iframe_comments'/>
  402. <b:else/>
  403. <b:if cond='data:post.showThreadedComments'>
  404. <b:include data='post' name='threaded_comments'/>
  405. <b:else/>
  406. <b:include data='post' name='comments'/>
  407. </b:if>
  408. </b:if>
  409. </b:if>
  410. </b:includable>
  411. <b:includable id='comments' var='post'>
  412. <div class='comments' id='comments'>
  413. <a name='comments'/>
  414. <b:if cond='data:post.allowComments'>
  415. <h4>
  416. <b:if cond='data:post.numComments == 1'>
  417. 1 <data:commentLabel/>:
  418. <b:else/>
  419. <data:post.numComments/> <data:commentLabelPlural/>:
  420. </b:if>
  421. </h4>
  422.  
  423. <b:if cond='data:post.commentPagingRequired'>
  424. <span class='paging-control-container'>
  425. <b:if cond='data:post.hasOlderLinks'>
  426. <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
  427. &#160;
  428. <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
  429. &#160;
  430. </b:if>
  431.  
  432. <data:post.commentRangeText/>
  433.  
  434. <b:if cond='data:post.hasNewerLinks'>
  435. &#160;
  436. <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
  437. &#160;
  438. <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
  439. </b:if>
  440. </span>
  441. </b:if>
  442.  
  443. <div expr:id='data:widget.instanceId + &quot;_comments-block-wrapper&quot;'>
  444. <dl expr:class='data:post.avatarIndentClass' id='comments-block'>
  445. <b:loop values='data:post.comments' var='comment'>
  446. <dt expr:class='&quot;comment-author &quot; + data:comment.authorClass' expr:id='data:comment.anchorName'>
  447. <b:if cond='data:comment.favicon'>
  448. <img expr:src='data:comment.favicon' height='55px' style='margin-bottom:-2px;' width='55px'/>
  449. </b:if>
  450. <a expr:name='data:comment.anchorName'/>
  451. <b:if cond='data:blog.enabledCommentProfileImages'>
  452. <data:comment.authorAvatarImage/>
  453. </b:if>
  454.  
  455.  
  456. </dt>
  457. <dd class='comment-body' expr:id='data:widget.instanceId + data:comment.cmtBodyIdPostfix'>
  458. <b:if cond='data:comment.authorUrl'>
  459. <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a> <data:commentPostedByMsg/>
  460. <b:else/>
  461. <data:comment.author/>
  462. </b:if>
  463. <b:if cond='data:comment.isDeleted'>
  464. <span class='deleted-comment'><data:comment.body/></span>
  465. <b:else/>
  466. <p>
  467. <data:comment.body/>
  468. </p>
  469. </b:if>
  470. </dd>
  471.  
  472. <dd class='comment-footer'>
  473. <span class='comment-timestamp'>
  474. <a expr:href='data:comment.url' title='comment permalink'>
  475. <data:comment.timestamp/>
  476. </a>
  477. <b:include data='comment' name='commentDeleteIcon'/>
  478. </span>
  479. </dd>
  480. <div id='m'/>
  481. </b:loop>
  482. </dl>
  483. </div>
  484. <div id='m'/>
  485.  
  486. <b:if cond='data:post.commentPagingRequired'>
  487. <span class='paging-control-container'>
  488. <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
  489. <data:post.oldestLinkText/>
  490. </a>
  491. <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
  492. <data:post.olderLinkText/>
  493. </a>
  494. &#160;
  495. <data:post.commentRangeText/>
  496. &#160;
  497. <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
  498. <data:post.newerLinkText/>
  499. </a>
  500. <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
  501. <data:post.newestLinkText/>
  502. </a>
  503. </span>
  504. </b:if>
  505.  
  506. <p class='comment-footer'>
  507. <b:if cond='data:post.embedCommentForm'>
  508. <b:if cond='data:post.allowNewComments'>
  509. <b:include data='post' name='comment-form'/>
  510. <b:else/>
  511. <data:post.noNewCommentsText/>
  512. </b:if>
  513. <b:else/>
  514. <b:if cond='data:post.allowComments'>
  515. <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
  516. </b:if>
  517. </b:if>
  518.  
  519. </p>
  520. </b:if>
  521. <b:if cond='data:showCmtPopup'>
  522. <div id='comment-popup'>
  523. <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
  524. </iframe>
  525. </div>
  526. </b:if>
  527.  
  528. <div id='backlinks-container'>
  529. <div expr:id='data:widget.instanceId + &quot;_backlinks-container&quot;'>
  530. <b:if cond='data:post.showBacklinks'>
  531. <b:include data='post' name='backlinks'/>
  532. </b:if>
  533. </div>
  534. </div>
  535. </div>
  536. </b:includable>
  537. <b:includable id='feedLinks'>
  538. <b:if cond='data:blog.pageType != &quot;item&quot;'> <!-- Blog feed links -->
  539. <b:if cond='data:feedLinks'>
  540. <div class='blog-feeds'>
  541. <b:include data='feedLinks' name='feedLinksBody'/>
  542. </div>
  543. </b:if>
  544.  
  545. <b:else/> <!--Post feed links -->
  546. <div class='post-feeds'>
  547. <b:loop values='data:posts' var='post'>
  548. <b:if cond='data:post.allowComments'>
  549. <b:if cond='data:post.feedLinks'>
  550. <b:include data='post.feedLinks' name='feedLinksBody'/>
  551. </b:if>
  552. </b:if>
  553. </b:loop>
  554. </div>
  555. </b:if>
  556. </b:includable>
  557. <b:includable id='feedLinksBody' var='links'>
  558. <div class='feed-links'>
  559. <data:feedLinksMsg/>
  560. <b:loop values='data:links' var='f'>
  561. <a class='feed-link' expr:href='data:f.url' expr:type='data:f.mimeType' target='_blank'><data:f.name/> (<data:f.feedType/>)</a>
  562. </b:loop>
  563. </div>
  564. </b:includable>
  565. <b:includable id='iframe_comments' var='post'>
  566.  
  567. <b:if cond='data:post.allowIframeComments'>
  568. <script expr:src='data:post.iframeCommentSrc' type='text/javascript'/>
  569. <div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
  570.  
  571. <b:if cond='data:post.embedCommentForm == &quot;false&quot;'>
  572. <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
  573. </b:if>
  574. </b:if>
  575. </b:includable>
  576. <b:includable id='mobile-index-post' var='post'>
  577. <div class='mobile-date-outer date-outer'>
  578.  
  579. <div class='mobile-post-outer'>
  580. <a expr:href='data:post.url'>
  581. <h3 class='post-title entry-title' itemprop='name'>
  582. <b:if cond='data:post.link'>
  583. <a expr:href='data:post.link'><data:post.title/></a>
  584. <b:else/>
  585. <b:if cond='data:post.url'>
  586. <b:if cond='data:blog.url != data:post.url'>
  587. <a expr:href='data:post.url'><data:post.title/></a>
  588. <b:else/>
  589. <data:post.title/>
  590. </b:if>
  591. <b:else/>
  592. <data:post.title/>
  593. </b:if>
  594. </b:if>
  595. </h3>
  596.  
  597. <div class='mobile-index-arrow'>&amp;rsaquo;</div>
  598.  
  599. <div class='mobile-index-contents'>
  600. <b:if cond='data:post.thumbnailUrl'>
  601. <div class='mobile-index-thumbnail'>
  602. <div class='Image'>
  603. <img expr:src='data:post.thumbnailUrl'/>
  604. </div>
  605. </div>
  606. </b:if>
  607.  
  608. <div class='post-body'>
  609. <b:if cond='data:post.snippet'><data:post.snippet/></b:if>
  610. </div>
  611. </div>
  612.  
  613. <div style='clear: both;'/>
  614. </a>
  615.  
  616. <div class='mobile-index-comment'>
  617. <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
  618. <b:if cond='data:post.allowComments'>
  619. <b:if cond='data:post.numComments != 0'>
  620. <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>
  621. </b:if>
  622. </b:if>
  623. </b:if>
  624. </div>
  625. </div>
  626. </div>
  627. </b:includable>
  628. <b:includable id='mobile-main' var='top'>
  629.  
  630.  
  631. <!-- posts -->
  632. <div class='blog-posts hfeed'>
  633.  
  634. <b:include data='top' name='status-message'/>
  635. <b:if cond='data:blog.pageType == &quot;index&quot;'>
  636. <b:loop values='data:posts' var='post'>
  637. <b:include data='post' name='mobile-index-post'/>
  638. </b:loop>
  639. <b:else/>
  640. <b:loop values='data:posts' var='post'>
  641. <b:include data='post' name='mobile-post'/>
  642. </b:loop>
  643. </b:if>
  644. </div>
  645.  
  646. <b:include name='mobile-nextprev'/>
  647. </b:includable>
  648. <b:includable id='mobile-nextprev'>
  649. <div class='blog-pager' id='blog-pager'>
  650. <b:if cond='data:newerPageUrl'>
  651. <div class='mobile-link-button' id='blog-pager-newer-link'>
  652. <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-newer-link&quot;' expr:title='data:newerPageTitle'>&amp;lsaquo;</a>
  653. </div>
  654. </b:if>
  655.  
  656. <b:if cond='data:olderPageUrl'>
  657. <div class='mobile-link-button' id='blog-pager-older-link'>
  658. <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-older-link&quot;' expr:title='data:olderPageTitle'>&amp;rsaquo;</a>
  659. </div>
  660. </b:if>
  661.  
  662. <div class='mobile-link-button' id='blog-pager-home-link'>
  663. <a class='home-link' expr:href='data:blog.homepageUrl'><data:homeMsg/></a>
  664. </div>
  665.  
  666. <div class='mobile-desktop-link'>
  667. <a class='home-link' expr:href='data:desktopLinkUrl'><data:desktopLinkMsg/></a>
  668. </div>
  669.  
  670. </div>
  671. <div class='clear'/>
  672. </b:includable>
  673. <b:includable id='mobile-post' var='post'>
  674. <div class='date-outer'>
  675. <div class='date-posts'>
  676. <div class='post-outer'>
  677. <div class='post hentry uncustomized-post-template' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
  678. <a expr:name='data:post.id'/>
  679. <b:if cond='data:post.title'>
  680. <h3 class='post-title entry-title' itemprop='name'>
  681. <b:if cond='data:post.link'>
  682. <a expr:href='data:post.link'><data:post.title/></a>
  683. <b:else/>
  684. <b:if cond='data:post.url'>
  685. <b:if cond='data:blog.url != data:post.url'>
  686. <a expr:href='data:post.url'><data:post.title/></a>
  687. <b:else/>
  688. <data:post.title/>
  689. </b:if>
  690. <b:else/>
  691. <data:post.title/>
  692. </b:if>
  693. </b:if>
  694. </h3>
  695. </b:if>
  696.  
  697. <div class='post-header'>
  698. <div class='post-header-line-1'/>
  699. </div>
  700.  
  701. <div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id' itemprop='articleBody'>
  702. <data:post.body/>
  703. <div style='clear: both;'/> <!-- clear for photos floats -->
  704. </div>
  705.  
  706. <div class='post-footer'>
  707. <div class='post-footer-line post-footer-line-1'>
  708. <span class='post-author vcard'>
  709. <b:if cond='data:top.showAuthor'>
  710. <b:if cond='data:post.authorProfileUrl'>
  711. <span class='fn'>
  712. <a expr:href='data:post.authorProfileUrl' itemprop='author' rel='author' title='author profile'>
  713. <data:post.author/>
  714. </a>
  715. </span>
  716. <b:else/>
  717. <span class='fn'><data:post.author/></span>
  718. </b:if>
  719. </b:if>
  720. </span>
  721.  
  722. <span class='post-timestamp'>
  723. <b:if cond='data:top.showTimestamp'>
  724. <data:top.timestampLabel/>
  725. <b:if cond='data:post.url'>
  726. <a class='timestamp-link' expr:href='data:post.url' itemprop='url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>
  727. </b:if>
  728. </b:if>
  729. </span>
  730.  
  731. <span class='post-comment-link'>
  732. <b:if cond='data:blog.pageType != &quot;item&quot;'>
  733. <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
  734. <b:if cond='data:post.allowComments'>
  735. <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>
  736. </b:if>
  737. </b:if>
  738. </b:if>
  739. </span>
  740. </div>
  741.  
  742. <div class='post-footer-line post-footer-line-2'>
  743. <b:if cond='data:top.showMobileShare'>
  744. <div class='mobile-link-button goog-inline-block' id='mobile-share-button'>
  745. <a href='javascript:void(0);'><data:shareMsg/></a>
  746. </div>
  747. </b:if>
  748. <b:if cond='data:top.showDummy'>
  749. <div class='goog-inline-block dummy-container'><data:post.dummyTag/></div>
  750. </b:if>
  751. </div>
  752.  
  753. </div>
  754. </div>
  755.  
  756.  
  757.  
  758. </div>
  759. </div>
  760. </div>
  761. </b:includable>
  762. <b:includable id='nextprev'>
  763. <div class='blog-pager' id='blog-pager'>
  764. <b:if cond='data:newerPageUrl'>
  765. <span id='blog-pager-newer-link'>
  766. <a class='blog-pager-newer-link' expr:href='data:newerPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-newer-link&quot;' expr:title='data:newerPageTitle'>Pagina anterior</a>
  767. </span>
  768. </b:if>
  769.  
  770. <b:if cond='data:olderPageUrl'>
  771. <span id='blog-pager-older-link'>
  772. <a class='blog-pager-older-link' expr:href='data:olderPageUrl' expr:id='data:widget.instanceId + &quot;_blog-pager-older-link&quot;' expr:title='data:olderPageTitle'>Proxíma pagina</a>
  773. </span>
  774. </b:if>
  775.  
  776. <a class='home-link' expr:href='data:blog.homepageUrl'>Voltar</a>
  777. <a class='home-link' href='#'>Topo</a>
  778.  
  779. <b:if cond='data:mobileLinkUrl'>
  780. <div class='blog-mobile-link'>
  781. <a expr:href='data:mobileLinkUrl'/>
  782. </div>
  783. </b:if>
  784.  
  785. </div>
  786. <div class='clear'/>
  787. </b:includable>
  788. <b:includable id='post' var='post'>
  789. <div class='post hentry' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'>
  790. <a expr:name='data:post.id'/>
  791.  
  792. <b:if cond='data:post.title'>
  793. <h3 class='post-title entry-title' itemprop='name'>
  794. <b:if cond='data:post.link'>
  795. <a expr:href='data:post.link'><data:post.title/></a>
  796. <b:else/>
  797. <b:if cond='data:post.url'>
  798. <b:if cond='data:blog.url != data:post.url'>
  799. <a expr:href='data:post.url'><data:post.title/></a>
  800. <b:else/>
  801. <a expr:href='data:post.link'><data:post.title/></a>
  802. </b:if>
  803. <b:else/>
  804. <a expr:href='data:post.link'><data:post.title/></a>
  805. </b:if>
  806. </b:if>
  807. </h3>
  808. </b:if>
  809.  
  810.  
  811. <div class='post-header'>
  812. <b:if cond='data:post.dateHeader'>
  813. <script>var ultimaFecha = &#39;<data:post.dateHeader/>&#39;;</script>
  814. <h2 class='date-header'><data:post.dateHeader/></h2>
  815. <b:else/>
  816. <h2 class='date-header'>
  817. <script>document.write(ultimaFecha);</script>
  818. </h2>
  819. </b:if>
  820. </div>
  821.  
  822. <span class='post-labels'>
  823. <b:if cond='data:post.labels'>
  824. <data:postLabelsLabel/>
  825. <b:loop values='data:post.labels' var='label'>
  826. <a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != &quot;true&quot;'>,</b:if>
  827. </b:loop>
  828. </b:if>
  829. </span>
  830.  
  831. <div class='post-body entry-content' expr:id='&quot;post-body-&quot; + data:post.id' itemprop='articleBody'>
  832.  
  833. <data:post.body/>
  834. <span class='post-comment-link'>
  835. <b:if cond='data:blog.pageType != &quot;item&quot;'>
  836. <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
  837. <b:if cond='data:post.allowComments'>
  838. <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>
  839. </b:if>
  840. </b:if>
  841. </b:if>
  842. </span>
  843. <!-- clear for photos floats -->
  844. </div>
  845.  
  846. <b:if cond='data:post.hasJumpLink'>
  847. <div class='jump-link'>
  848. <a expr:href='data:post.url + &quot;#more&quot;' expr:title='data:post.title'><data:post.jumpText/></a>
  849. </div>
  850. </b:if>
  851.  
  852. <div class='post-footer'>
  853. <div class='post-footer-line post-footer-line-1'><span class='post-author vcard'>
  854. </span> <span class='post-timestamp'>
  855.  
  856. </span> <span class='post-icons'>
  857. <!-- email post links -->
  858. <b:if cond='data:post.emailPostUrl'>
  859. <span class='item-action'>
  860. <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
  861. <img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
  862. </a>
  863. </span>
  864. </b:if>
  865.  
  866. <!-- quickedit pencil -->
  867. <b:include data='post' name='postQuickEdit'/>
  868. </span> <div class='post-share-buttons goog-inline-block'>
  869. <b:if cond='data:post.sharePostUrl'>
  870. <b:include data='post' name='shareButtons'/>
  871. </b:if>
  872. </div> </div>
  873.  
  874.  
  875.  
  876. <div class='post-footer-line post-footer-line-3'><span class='post-location'>
  877. <b:if cond='data:top.showLocation'>
  878. <b:if cond='data:post.location'>
  879. <data:postLocationLabel/>
  880. <a expr:href='data:post.location.mapsUrl' target='_blank'><data:post.location.name/></a>
  881. </b:if>
  882. </b:if>
  883. </span> </div>
  884. </div>
  885. </div>
  886. </b:includable>
  887. <b:includable id='postQuickEdit' var='post'>
  888. <b:if cond='data:post.editUrl'>
  889. <span expr:class='&quot;item-control &quot; + data:post.adminClass'>
  890. <a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
  891. <img alt='' class='icon-action' height='18' src='http://img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
  892. </a>
  893. </span>
  894. </b:if>
  895. </b:includable>
  896. <b:includable id='shareButtons' var='post'>
  897. <b:if cond='data:top.showEmailButton'><a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + &quot;&amp;target=email&quot;' expr:title='data:top.emailThisMsg' target='_blank'><span class='share-button-link-text'><data:top.emailThisMsg/></span></a></b:if><b:if cond='data:top.showBlogThisButton'><a class='goog-inline-block share-button sb-blog' expr:href='data:post.sharePostUrl + &quot;&amp;target=blog&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=270,width=475\&quot;); return false;&quot;' expr:title='data:top.blogThisMsg' target='_blank'><span class='share-button-link-text'><data:top.blogThisMsg/></span></a></b:if><b:if cond='data:top.showTwitterButton'><a class='goog-inline-block share-button sb-twitter' expr:href='data:post.sharePostUrl + &quot;&amp;target=twitter&quot;' expr:title='data:top.shareToTwitterMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToTwitterMsg/></span></a></b:if><b:if cond='data:top.showFacebookButton'><a class='goog-inline-block share-button sb-facebook' expr:href='data:post.sharePostUrl + &quot;&amp;target=facebook&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=430,width=640\&quot;); return false;&quot;' expr:title='data:top.shareToFacebookMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToFacebookMsg/></span></a></b:if><b:if cond='data:top.showOrkutButton'><a class='goog-inline-block share-button sb-orkut' expr:href='data:post.sharePostUrl + &quot;&amp;target=orkut&quot;' expr:title='data:top.shareToOrkutMsg' target='_blank'><span class='share-button-link-text'><data:top.shareToOrkutMsg/></span></a></b:if><b:if cond='data:top.showDummy'><div class='goog-inline-block dummy-container'><data:post.dummyTag/></div></b:if>
  898. </b:includable>
  899. <b:includable id='status-message'>
  900. <b:if cond='data:navMessage'>
  901. <div class='status-msg-wrap'>
  902. <div class='status-msg-body'>
  903. <data:navMessage/>
  904. </div>
  905. <div class='status-msg-border'>
  906. <div class='status-msg-bg'>
  907. <div class='status-msg-hidden'><data:navMessage/></div>
  908. </div>
  909. </div>
  910. </div>
  911. <div style='clear: both;'/>
  912. </b:if>
  913. </b:includable>
  914. <b:includable id='threaded-comment-form' var='post'>
  915. <div class='comment-form'>
  916. <a name='comment-form'/>
  917. <b:if cond='data:mobile'>
  918. <p><data:blogCommentMessage/></p>
  919. <data:blogTeamBlogMessage/>
  920. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  921. <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%'/>
  922. <b:else/>
  923. <p><data:blogCommentMessage/></p>
  924. <data:blogTeamBlogMessage/>
  925. <a expr:href='data:post.commentFormIframeSrc' id='comment-editor-src'/>
  926. <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>
  927. </b:if>
  928. <data:post.friendConnectJs/>
  929. <data:post.cmtfpIframe/>
  930. <script type='text/javascript'>
  931. BLOG_CMT_createIframe(&#39;<data:post.appRpcRelayPath/>&#39;, &#39;<data:post.communityId/>&#39;);
  932. </script>
  933. </div>
  934. </b:includable>
  935. <b:includable id='threaded_comment_js' var='post'>
  936. <script async='async' expr:src='data:post.commentSrc' type='text/javascript'/>
  937.  
  938. <script type='text/javascript'>
  939. (function() {
  940. var items = <data:post.commentJso/>;
  941. var msgs = <data:post.commentMsgs/>;
  942. var config = <data:post.commentConfig/>;
  943.  
  944. // <![CDATA[
  945. var cursor = null;
  946. if (items && items.length > 0) {
  947. cursor = parseInt(items[items.length - 1].timestamp) + 1;
  948. }
  949.  
  950. var bodyFromEntry = function(entry) {
  951. if (entry.gd$extendedProperty) {
  952. for (var k in entry.gd$extendedProperty) {
  953. if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved') {
  954. return '<span class="deleted-comment">' + entry.content.$t + '</span>';
  955. }
  956. }
  957. }
  958. return entry.content.$t;
  959. }
  960.  
  961. var parse = function(data) {
  962. cursor = null;
  963. var comments = [];
  964. if (data && data.feed && data.feed.entry) {
  965. for (var i = 0, entry; entry = data.feed.entry[i]; i++) {
  966. var comment = {};
  967. // comment ID, parsed out of the original id format
  968. var id = /blog-(\d+).post-(\d+)/.exec(entry.id.$t);
  969. comment.id = id ? id[2] : null;
  970. comment.body = bodyFromEntry(entry);
  971. comment.timestamp = Date.parse(entry.published.$t) + '';
  972. if (entry.author && entry.author.constructor === Array) {
  973. var auth = entry.author[0];
  974. if (auth) {
  975. comment.author = {
  976. name: (auth.name ? auth.name.$t : undefined),
  977. profileUrl: (auth.uri ? auth.uri.$t : undefined),
  978. avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
  979. };
  980. }
  981. }
  982. if (entry.link) {
  983. if (entry.link[2]) {
  984. comment.link = comment.permalink = entry.link[2].href;
  985. }
  986. if (entry.link[3]) {
  987. var pid = /.*comments\/default\/(\d+)\?.*/.exec(entry.link[3].href);
  988. if (pid && pid[1]) {
  989. comment.parentId = pid[1];
  990. }
  991. }
  992. }
  993. comment.deleteclass = 'item-control blog-admin';
  994. if (entry.gd$extendedProperty) {
  995. for (var k in entry.gd$extendedProperty) {
  996. if (entry.gd$extendedProperty[k].name == 'blogger.itemClass') {
  997. comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
  998. } else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime') {
  999. comment.displayTime = entry.gd$extendedProperty[k].value;
  1000. }
  1001. }
  1002. }
  1003. comments.push(comment);
  1004. }
  1005. }
  1006. return comments;
  1007. };
  1008.  
  1009. var paginator = function(callback) {
  1010. if (hasMore()) {
  1011. var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
  1012. if (cursor) {
  1013. url += '&published-min=' + new Date(cursor).toISOString();
  1014. }
  1015. window.bloggercomments = function(data) {
  1016. var parsed = parse(data);
  1017. cursor = parsed.length < 50 ? null
  1018. : parseInt(parsed[parsed.length - 1].timestamp) + 1
  1019. callback(parsed);
  1020. window.bloggercomments = null;
  1021. }
  1022. url += '&callback=bloggercomments';
  1023. var script = document.createElement('script');
  1024. script.type = 'text/javascript';
  1025. script.src = url;
  1026. document.getElementsByTagName('head')[0].appendChild(script);
  1027. }
  1028. };
  1029. var hasMore = function() {
  1030. return !!cursor;
  1031. };
  1032. var getMeta = function(key, comment) {
  1033. if ('iswriter' == key) {
  1034. var matches = !!comment.author
  1035. && comment.author.name == config.authorName
  1036. && comment.author.profileUrl == config.authorUrl;
  1037. return matches ? 'true' : '';
  1038. } else if ('deletelink' == key) {
  1039. return config.baseUri + '/delete-comment.g?blogID='
  1040. + config.blogId + '&postID=' + comment.id;
  1041. } else if ('deleteclass' == key) {
  1042. return comment.deleteclass;
  1043. }
  1044. return '';
  1045. };
  1046.  
  1047. var replybox = null;
  1048. var replyUrlParts = null;
  1049. var replyParent = undefined;
  1050.  
  1051. var onReply = function(commentId, domId) {
  1052. if (replybox == null) {
  1053. // lazily cache replybox, and adjust to suit this style:
  1054. replybox = document.getElementById('comment-editor');
  1055. if (replybox != null) {
  1056. replybox.height = '250px';
  1057. replybox.style.display = 'block';
  1058. replyUrlParts = replybox.src.split('#');
  1059. }
  1060. }
  1061. if (replybox && (commentId !== replyParent)) {
  1062. document.getElementById(domId).insertBefore(replybox, null);
  1063. replybox.src = replyUrlParts[0]
  1064. + (commentId ? '&parentID=' + commentId : '')
  1065. + '#' + replyUrlParts[1];
  1066. replyParent = commentId;
  1067. }
  1068. };
  1069.  
  1070. var hash = (window.location.hash || '#').substring(1);
  1071. var startThread, targetComment;
  1072. if (/^comment-form_/.test(hash)) {
  1073. startThread = hash.substring('comment-form_'.length);
  1074. } else if (/^c[0-9]+$/.test(hash)) {
  1075. targetComment = hash.substring(1);
  1076. }
  1077.  
  1078. // Configure commenting API:
  1079. var configJso = {
  1080. 'maxDepth': config.maxThreadDepth
  1081. };
  1082. var provider = {
  1083. 'id': config.postId,
  1084. 'data': items,
  1085. 'loadNext': paginator,
  1086. 'hasMore': hasMore,
  1087. 'getMeta': getMeta,
  1088. 'onReply': onReply,
  1089. 'rendered': true,
  1090. 'initComment': targetComment,
  1091. 'initReplyThread': startThread,
  1092. 'config': configJso,
  1093. 'messages': msgs
  1094. };
  1095.  
  1096. var render = function() {
  1097. if (window.goog && window.goog.comments) {
  1098. var holder = document.getElementById('comment-holder');
  1099. window.goog.comments.render(holder, provider);
  1100. }
  1101. };
  1102.  
  1103. // render now, or queue to render when library loads:
  1104. if (window.goog && window.goog.comments) {
  1105. render();
  1106. } else {
  1107. window.goog = window.goog || {};
  1108. window.goog.comments = window.goog.comments || {};
  1109. window.goog.comments.loadQueue = window.goog.comments.loadQueue || [];
  1110. window.goog.comments.loadQueue.push(render);
  1111. }
  1112. })();
  1113. // ]]>
  1114. </script>
  1115. </b:includable>
  1116. <b:includable id='threaded_comments' var='post'>
  1117. <div class='comments' id='comments'>
  1118. <a name='comments'/>
  1119. <h4><data:post.commentLabelFull/>:</h4>
  1120.  
  1121. <div class='comments-content'>
  1122. <b:if cond='data:post.embedCommentForm'>
  1123. <b:include data='post' name='threaded_comment_js'/>
  1124. </b:if>
  1125. <div id='comment-holder'>
  1126. <data:post.commentHtml/>
  1127. </div>
  1128. </div>
  1129.  
  1130. <p class='comment-footer'>
  1131. <b:if cond='data:post.allowNewComments'>
  1132. <b:include data='post' name='threaded-comment-form'/>
  1133. <b:else/>
  1134. <data:post.noNewCommentsText/>
  1135. </b:if>
  1136. </p>
  1137.  
  1138. <b:if cond='data:showCmtPopup'>
  1139. <div id='comment-popup'>
  1140. <iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
  1141. </iframe>
  1142. </div>
  1143. </b:if>
  1144.  
  1145. <div id='backlinks-container'>
  1146. <div expr:id='data:widget.instanceId + &quot;_backlinks-container&quot;'>
  1147. <b:if cond='data:post.showBacklinks'>
  1148. <b:include data='post' name='backlinks'/>
  1149. </b:if>
  1150. </div>
  1151. </div>
  1152. </div>
  1153. </b:includable>
  1154. </b:widget>
  1155. </b:section>
  1156. </div>
  1157.  
  1158. <div id='footer'>Theme base by <a href='http://recitarpoesias.tumblr.com/'>Marlívia</a> powred by <a href='http://www.blogger.com/'>Blogger</a>. Copyright 2013</div>
  1159. <!-- end page -->
  1160. </div>
  1161. </body>
  1162. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement