Crear sitemap o tabla de contenido para Blogger – Email – Record – Accident

sitemap
Una de las limitaciones de un blog es no poder tener uníndice o sitemap del sitio que pueda facilitarle a los lectores poder encontrar el contenido que buscan.
Si bien el gadget deetiquetas yarchivos de blog tienen la información de todos los post publicados, estos no se presentan en una sola página de forma completa, por lo que buscar los posts no siempre es cosa fácil.

Por suerteAmanda creó un gadget que permite mostrar unatabla de contenido del blog con la cual todos los post se muestran separados por las etiquetas. Éste gadget que es bastante bueno ha sido optimizado y simplificado porAbu Farhan por lo que no tendremos que hacer otra cosa que copiar un código y pegarlo.

Como dije antes, se trata de un sitemap o tabla de contenido que muestra el índice de todos los posts que se han publicado separados por categorías, además de que los posts más recientes aparecen con un texto que diceNuevo!
Para que vean de qué les hablo pueden verlo funcionando haciendoclick aquí.

Para implementarlo en tu blog entra enPlantilla | Edición de HTML y antes de/head pega este script:

ATENCIÓN

En algunos casos este script ha sido identificado como "malicioso" por parte de los robots de Blogger y el blog que lo tenga podría ser eliminado. Aunque lo anterior no sucede en todos los casos, se recomienda utilizar otro método distinto a este. Úselo bajo su propio riesgo.

script
//![CDATA[
var postTitle=new Array();var postUrl=new Array();var postMp3=new Array();var postDate=new Array();var postLabels=new Array();var postBaru=new Array();var sortBy="titleasc";var tocLoaded=false;var numChars=250;var postFilter="";var numberfeed=0;function loadtoc(a){function b(){if("entry" in a.feed){var d=a.feed.entry.length;numberfeed=d;ii=0;for(var h=0;hd;h++){var n=a.feed.entry[h];var e=n.title.$t;var m=n.published.$t.substring(0,10);var j;for(var g=0;gn.link.length;g++){if(n.link[g].rel=="alternate"){j=n.link[g].href;break}}var o="";for(var g=0;gn.link.length;g++){if(n.link[g].rel=="enclosure"){o=n.link[g].href;break}}var c="";if("category" in n){for(var g=0;gn.category.length;g++){c=n.category[g].term;var f=c.lastIndexOf(";");if(f!=-1){c=c.substring(0,f)}postLabels[ii]=c;postTitle[ii]=e;postDate[ii]=m;postUrl[ii]=j;postMp3[ii]=o;if(h10){postBaru[ii]=true}else{postBaru[ii]=false}ii=ii+1}}}}}b();sortBy="titleasc";sortPosts(sortBy);sortlabel();tocLoaded=true;displayToc2();document.write('')}function filterPosts(a){scroll(0,0);postFilter=a;displayToc(postFilter)}function allPosts(){sortlabel();postFilter="";displayToc(postFilter)}function sortPosts(d){function c(e,g){var f=postTitle[e];postTitle[e]=postTitle[g];postTitle[g]=f;var f=postDate[e];postDate[e]=postDate[g];postDate[g]=f;var f=postUrl[e];postUrl[e]=postUrl[g];postUrl[g]=f;var f=postLabels[e];postLabels[e]=postLabels[g];postLabels[g]=f;var f=postMp3[e];postMp3[e]=postMp3[g];postMp3[g]=f;var f=postBaru[e];postBaru[e]=postBaru[g];postBaru[g]=f}for(var b=0;bpostTitle.length-1;b++){for(var a=b+1;apostTitle.length;a++){if(d=="titleasc"){if(postTitle[b]postTitle[a]){c(b,a)}}if(d=="titledesc"){if(postTitle[b]postTitle[a]){c(b,a)}}if(d=="dateoldest"){if(postDate[b]postDate[a]){c(b,a)}}if(d=="datenewest"){if(postDate[b]postDate[a]){c(b,a)}}if(d=="orderlabel"){if(postLabels[b]postLabels[a]){c(b,a)}}}}}function sortlabel(){sortBy="orderlabel";sortPosts(sortBy);var a=0;var b=0;while(bpostTitle.length){temp1=postLabels[b];firsti=a;do{a=a+1}while(postLabels[a]==temp1);b=a;sortPosts2(firsti,a);if(bpostTitle.length){break}}}function sortPosts2(d,c){function e(f,h){var g=postTitle[f];postTitle[f]=postTitle[h];postTitle[h]=g;var g=postDate[f];postDate[f]=postDate[h];postDate[h]=g;var g=postUrl[f];postUrl[f]=postUrl[h];postUrl[h]=g;var g=postLabels[f];postLabels[f]=postLabels[h];postLabels[h]=g;var g=postMp3[f];postMp3[f]=postMp3[h];postMp3[h]=g;var g=postBaru[f];postBaru[f]=postBaru[h];postBaru[h]=g}for(var b=d;bc-1;b++){for(var a=b+1;ac;a++){if(postTitle[b]postTitle[a]){e(b,a)}}}}function displayToc(a){var l=0;var h="";var e="Judul Artikel";var m="Klik untuk sortir berdasarkan judul";var d="Tanggal";var k="Klik untuk Sortir bedasarkan tanggal";var c="Kategori";var j="";if(sortBy=="titleasc"){m+=" (descending)";k+=" (newest first)"}if(sortBy=="titledesc"){m+=" (ascending)";k+=" (newest first)"}if(sortBy=="dateoldest"){m+=" (ascending)";k+=" (newest first)"}if(sortBy=="datenewest"){m+=" (ascending)";k+=" (oldest first)"}if(postFilter!=""){j="Klik untuk menampilkan semua"}h+="table";h+="tr";h+='td class="toc-header-col1"';h+='a href="javascript:toggleTitleSort();" title="'+m+'"'+e+"/a";h+="/td";h+='td class="toc-header-col2"';h+='a href="javascript:toggleDateSort();" title="'+k+'"'+d+"/a";h+="/td";h+='td class="toc-header-col3"';h+='a href="javascript:allPosts();" title="'+j+'"'+c+"/a";h+="/td";h+='td class="toc-header-col4"';h+="Download MP3";h+="/td";h+="/tr";for(var g=0;gpostTitle.length;g++){if(a==""){h+='trtd class="toc-entry-col1"a href="'+postUrl[g]+'"'+postTitle[g]+'/a/tdtd class="toc-entry-col2"'+postDate[g]+'/tdtd class="toc-entry-col3"'+postLabels[g]+'/tdtd class="toc-entry-col4"a href="'+postMp3[g]+'"Download/a/td/tr';l++}else{z=postLabels[g].lastIndexOf(a);if(z!=-1){h+='trtd class="toc-entry-col1"a href="'+postUrl[g]+'"'+postTitle[g]+'/a/tdtd class="toc-entry-col2"'+postDate[g]+'/tdtd class="toc-entry-col3"'+postLabels[g]+'/tdtd class="toc-entry-col4"a href="'+postMp3[g]+'"Download/a/td/tr';l++}}}h+="/table";if(l==postTitle.length){var f='span class="toc-note"Menampilkan Semua '+postTitle.length+" Artikelbr//span"}else{var f='span class="toc-note"Menampilkan '+l+" artikel dengan kategori '";f+=postFilter+"' dari "+postTitle.length+" Total Artikelbr//span"}var b=document.getElementById("toc");b.innerHTML=f+h}function displayToc2(){var a=0;var b=0;while(bpostTitle.length){temp1=postLabels[b];document.write("p/");document.write('pa href="/search/label/'+temp1+'"'+temp1+"/a/pol");firsti=a;do{document.write("li");document.write('a href="'+postUrl[a]+'"'+postTitle[a]+"/a");if(postBaru[a]==true){document.write(' - strongemspan style="color: rgb(255, 0, 0);"Nuevo!/span /em/strong')}document.write("/li");a=a+1}while(postLabels[a]==temp1);b=a;document.write("/ol");sortPosts2(firsti,a);if(bpostTitle.length){break}}}function toggleTitleSort(){if(sortBy=="titleasc"){sortBy="titledesc"}else{sortBy="titleasc"}sortPosts(sortBy);displayToc(postFilter)}function toggleDateSort(){if(sortBy=="datenewest"){sortBy="dateoldest"}else{sortBy="datenewest"}sortPosts(sortBy);displayToc(postFilter)}function showToc(){if(tocLoaded){displayToc(postFilter);var a=document.getElementById("toclink")}else{alert("Just wait... TOC is loading")}}function hideToc(){var a=document.getElementById("toc");a.innerHTML="";var b=document.getElementById("toclink");b.innerHTML='a href="#" onclick="scroll(0,0); showToc(); Effect.toggle(\'toc-result\',\'blind\');"?? Menampilkan Daftar Isi/a img src="http://radiorodja.googlepages.com/new_1.gif"/'}function looptemp2(){for(var a=0;anumberfeed;a++){document.write("br");document.write('Post Link : a href="'+postUrl[a]+'"'+postTitle[a]+"/abr");document.write('Download mp3 : a href="'+postMp3[a]+'"'+postTitle[a]+"/abr");document.write("br")}};
//
/script
Luego crea una nueva entrada o una nueva página y ahí pega esto:
script src="http://nombre-de-mi-blog.blogspot.com/feeds/posts/default?max-results=9999&alt=json-in-script&callback=loadtoc"/script

Cambia la URL de tu blog donde se indica y listo.

Así de fácil podrás tener un sitemap en tu blog. El índice de los post se ordena alfabéticamente y se actualiza de modo automático cada vez que publicas una nueva entrada.

canada personals yahoo Cheap Car Insurance in Virginia donating used cars to charity Personal Injury Lawyers Online casino Annuity Settlements Casino DONATE YOUR CAR FOR MONEY motorcycle lawyer los angeles Business management software mesotheolima how to donate a car in california Holland Michigan College Make money online Australia New social media platforms Mobile casino Criminal defense lawyer illinois mesothelioma lawyer Car Insurance Quotes MN mesothelioma cases seattle mesothelioma lawyer Php programmers for hire st louis mesothelioma attorney HOW TO DONATE A CAR IN CALIFORNIA PAPERPORT PROMOTIONAL CODE CAR INSURANCE QUOTES COLORADO miami personal injury attorney verizon sip insurance medical temporary PHD IN COUNSELING EDUCATION Life Insurance Co Lincoln buyer of structured settlement annuity bus accident attorneys Business finance group accident attorney in los angeles DONATING USED CARS TO CHARITY harddrive data recovery services mesothelioma attorney illinois Donate Cars in MA Dwi lawyer Car Insurance Quotes PA Php programmers motorcycle accident lawyer san francisco Live casino accident car florida lawyer Insurance buy structured settlements Casino reviews low credit line credit cards EMAIL BULK SERVICE Photo Christmas cards Bankruptcy lawyer mesothelioma settlements michigan motorcycle accident lawyer mesothelioma survival rates Motor Insurance Quotes DUI lawyer ONLINECLASSES Donate cars Illinois DONATE OLD CARS TO CHARITY mesothelioma care Service business software structured settlement blog Social media examiner Best Seo company Hire php developers Car Insurance in South Dakota Best social media platforms for business Insurance Companies Hire php programmers Forex Trading Platform Car Accident Lawyers Criminal lawyer semi truck accident lawyers purchase structured settlements Online College Course Personal Injury Law Firm mesothelioma lawsuits Donate Car for Tax Credit Christmas cards DONATE CAR FOR TAX CREDIT Html email Hire php developer Social media platforms world trade center footage car donate Computer science classes online VIRTUAL DATA ROOMS Donating a Car in Maryland Sell Annuity Payment dui lawyer scottsdale paperport promotional code car insurance quotes mn structured settlement buyer asbestos mesothelioma lawsuit mesothelioma drug Learning adobe illustrator mesothelioma settlement amounts Nunavut Culture Best social media platforms Online Classes Seo companies Structures Annuity Settlement mesothelioma settlements amounts best mesothelioma lawyers CAR INSURANCE QUOTES MN best consolidation loan student mesothelioma charities Donate your Car for Money CAR INSURANCE QUOTES UTAH sell my structured settlement peritoneal mesothelioma mesothelioma lawyer houston Car insurance quotes MN mesothelioma lawsuit

Share: