jueves, 14 de febrero de 2008

PONER ÚLTIMOS POST EN TU BLOG

Con esta pequeña herramienta que colocaremos en nuestra sidebar (o donde nos dé la gana,jajaja) podremos hacer que nuestros lectores vean las últimas entradas o post que hemos añadido al blog.

Para ello, vamos a la plantilla y elementos de página (edición html/javascript) escribimos el siguiente código:

<script src="http://lejaniaimposible.googlepages.com/ultimospost.js "></script>
<script language="javascript">
var numposts = 10;
var numchars = 120;
var showpostdate = false;
var showpostsummary = true;
var standardstyling = true;
</script>
<script src="http://NOMBRE_DEL_BLOG.blogspot.com/feeds/posts/default?
orderby=published&alt=json-in-script&callback=showrecentposts"></script>



A continuación os explico cómo va el código, os lo descifro,jejeje:

- var numposts es el número de post que queremos que se muestren
- var numchars muestra la cantidad de letras que se verán.
- var showpostdate muestra la fecha si ponemos true (para no mostrarla escribimos false)
- var showpostsummary si queremos poner un famoso "leer más" (poniendo true se muestra, poniendo false no)
- var standardstyling son diferentes tipos de texto, normal o cursiva.

Y esto quedaría tal que así:





NOTA: Este post os lo puedo enseñar gracias al blog El escaparate de Rosa

9 comentarios:

Anónimo dijo...

Escribo para decirles que descubri una forma mas facil de hacer simplemente compias la dire "http://NOMBRE_DEL_BLOG.blogspot.com/feeds/posts/default?
orderby=published&alt=json-in-script&callback=showrecentposts"

reemplazas por el nombre de tu blog "NOMBRE_DE_TU_BLOG" una vez que copiaste vas al panel "aderir elemento a la pagina" o "add a page elemet" y elegiomos "feed" agregamos esta url y listo mucho mas facil

JaG OfouR dijo...

buena entrada, gracias me sirvio de mucho.

aqui te dejo mi blog para que lo visites:http://usuarionet.blogspot.com/

Anónimo dijo...

I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!

Sorry for offtopic

Anónimo dijo...

[url=http://tinyurl.com/getvpn][b]Click here to get VPN service![/b][/url]

[b]Anonymous surfing[/b]
Using our service you'll be fully anonymous in the Internet. Hide your IP address, and nobody will know that strange visitor from Germany ( Great Britain, Estonia and so ), is you.

[b]Full access to network[/b]
You can use any services, access any sites and use any software with us. BitTorrent, Skype, Facebook, MySpace, Twitter, Pocker .. we have no restrictions.

[b]Traffic protection[/b]
Don't worry, from this moment all you data will be protected using 256 bit Blowfish encryption algorithm. Nobody can access your internet data.

[b]Wide variety of countries[/b]
You can choose one of over twenty high speed servers located in different parts of the world, from South America coast to islands in Indian Ocean.

Related keywords:
anonymous surfing review
proxy server vpn
anonymous secure surfing
proxy vpn
anonymous vpn free
internet explorer vpn
vpn dial up
ssl vpn
Traffic protection
anonymous surfing freeware
anonymous surfing software
vtunnel
anonymous surfing vpn
best anonymous browser
surf the web anonymous
best anonymous surfing
anonymizer anonymous surfing review
firefox anonymous surfing
Virtual Private Networks
Free Vpn Client Software
anonymous surfing software
[url=http://dasbmw.ru] anonymous surfing software[/url]
[url=http://seobraincenter.ru] anonymous proxy[/url]
[url=http://carlwebster.com/members/Alexander-Pwnz.aspx]Buy Cheap Zoloft[/url]

Anónimo dijo...

Greetings from Amiens, France.My name's Christine and I want to ask: do you have a spam problem on this page? I too am a blogger, and I was wondering about your condition. A group of us has used the time to formulate some techniques and we'd like to share ideas with fellow bloggers.
If you'd be interested, please get in touch with me via email.

Take a look at my blog connu

Anónimo dijo...

I'm a writer from Lake Placid, United States just sent this onto a colleague who is conducting some research on this. And she actually ordered me lunch only because I discovered it for her... lol. So allow me to paraphrase this.... Thanks for the meal... But anyhow, thanks for spending some time to write about this subject here on your site.

Visit my web page ... Helgoland

Anónimo dijo...

I just wanted to say that I found your blog on
and while I really liked checking out your entry, it seems your blog acts up
in a couple browsers. Whenever I have a look at
your site in Chrome, it looks fine however, when opening in IE, it has some overlapping problems.
I simply wanted to offer you with a quick bit of info, that's all.

My webpage :: http://esusalliance.Com/

Anónimo dijo...

Is it alright if I repost a few of your posts if I give credit and sources back to blogger.
com? My blog is on the exact same topic as yours and my readers could easily gain from some of the
knowledge you offer here. Please let me know if this would be fine.
Cheers

Feel free to visit my web site; www.ideiasdanessa.com.br

Anónimo dijo...

It's great that you took the time to write this, as it's an issue that is very
important to me. Where are your contact details though?
My name's Bridgette Ramey and I'd get into this more deeply.


Feel free to visit my webpage; thecreatorof.net