sábado, 28 de setembro de 2013

Saber Blogger| Como pôr uma página com um Índice das mensagens


Como pôr uma página no blogger com todas as mensagens já feitas?
Este é o sistema utilizado pelo Carpe Diem  este será actualizado a cada mensagem, a cada mês e a cada ano- http://lusocarpediem.blogspot.pt/p/indice.html

1) Entre na sua conta Blogger (http://www.blogger.com/)
2) Seleccione o seu blog ou o blog em que pretende trabalhar

3) Vá a "Páginas"
4) Se já possui uma página de Índice pode saltar directamente para o passo 8
5) Clique em "Página Nova"
6) Escolha "Página em Branco"
7) Em título da página ponha o título que desejar, ex: Índice, Acervo, Arquivo
8) Seleccione HTML
9) Insira o seguinte código:
<style type="text/css">
.arquivos ul {
margin:0;list-style-type:none;
text-decoration:none;
list-style-position: inside;
list-style-image: none;
padding: 0px;
text-align: left;}
.arquivos li {list-style-type:none;margin:0;width:100%;text-decoration:none;list-style-position: inside;}
.arquivos p{
font-size: 140%;
background-color: #FF6;
border: 1px solid #000;
margin-top: 50px;
margin-bottom: 0px;
font-family: "Comic Sans MS", cursive;
padding: 2px;}
.arquivos a{
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: 11pt;
padding: 2px;}
.arquivos a:hover{font-style: italic;color: #00F;}
</style>
<div class="arquivos">
<script>
var postTitle=new Array();var postUrl=new Array();var postMp3=new Array();var postDate=new Array();var postYear=new Array();var postMonth=new Array();var postYearMonth=new Array();var postYearMonth2=new Array();var postTanggal=new Array();var postLabels=new Array();var postBaru=new Array();var sortBy="titleasc";var tocLoaded=false;var numChars=250;var postFilter="";var numberfeed=0;var month2=["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"];function loadtoc(a){function b(){if("entry" in a.feed){var d=a.feed.entry.length;numberfeed=d;ii=0;for(var h=0;h<d;h++){var m=a.feed.entry[h];var e=m.title.$t;var l=m.published.$t.substring(0,10);var p=m.published.$t.substring(5,7);var g=m.published.$t.substring(8,10);var n=month2[parseInt(p,10)-1]+" "+m.published.$t.substring(0,4);var c="/"+m.published.$t.substring(0,4)+"_"+p+"_01_archive.html";var j;for(var f=0;f<m.link.length;f++){if(m.link[f].rel=="alternate"){j=m.link[f].href;break}}var o="";for(var f=0;f<m.link.length;f++){if(m.link[f].rel=="enclosure"){o=m.link[f].href;break}}postTitle.push(e);postDate.push(l);postUrl.push(j);postYearMonth.push(n);postYearMonth2.push(c);postTanggal.push(g)}}}b();displayToc2();document.write('<br/><a href="" style="font-size: 9px; text-decoration:none; color: #616469;">Widget by Carpe Diem</a></br/>')}function displayToc2(){var a=0;var b=0;while(b<postTitle.length){temp1=postYearMonth[b];document.write("<p/>");document.write('<a href="http://www.dicasparablogs.com.br'+postYearMonth2[b]+'">'+temp1+"</a><ul>");firsti=a;do{document.write("<li>");document.write("["+postTanggal[a]+'] <a href="'+postUrl[a]+'">'+postTitle[a]+"</a>");document.write("</li>");a=a+1}while(postYearMonth[a]==temp1);b=a;document.write("</ul>");if(b>postTitle.length){break}}};</script>
<script src="http:/LINK DO SEU BLOG/feeds/posts/default?max-results=9999&amp;alt=json-in-script&amp;callback=loadtoc"></script>
</div>



9) Em LINK DO SEU BLOG ponha o link do seu blog (atenção que o http já está inserido) mas deixe estar a parte seguinte (/feeds/posts/default?)
10) Seleccione "Publicar" ou "Actualizar".

1 comentário:

  1. I do not even know how I ended up here, but I thought this post was great.
    I don't know who you are but certainly you are going to a famous blogger if you are not already ;) Cheers!



    Also visit my page: lawyers downtown toronto - http://www.google.ca/,

    ResponderEliminar

1 comentário:

  1. I do not even know how I ended up here, but I thought this post was great.
    I don't know who you are but certainly you are going to a famous blogger if you are not already ;) Cheers!



    Also visit my page: lawyers downtown toronto - http://www.google.ca/,

    ResponderEliminar