<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Quite Random</title><link>http://quiterandom.com</link><description>Coding services, Blogger tutorials, free and premade templates, and much more!</description><language>en</language><lastBuildDate>Thu, 03 Sep 2009 01:23:05 PDT</lastBuildDate><generator>http://wordpress.org/?v=2.8.5</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><image><link>http://quiterandom.com</link><url>http://quiterandom.com/quiterandom.gif</url><title>Quite Random</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/qrandom" type="application/rss+xml" /><feedburner:emailServiceId>qrandom</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>We heart Blogger.</title><link>http://feedproxy.google.com/~r/qrandom/~3/S35M74LXtqk/</link><category>Updates</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Sun, 07 Jun 2009 19:57:56 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=987</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<table align="center" style="margin-top:10px;margin-bottom:10px;">
<tbody>
<tr>
<td><a title="BTemplates" href="http://btemplates.com"><img src="http://quiterandom.com/wp-content/uploads/2009/06/btemplates.png" alt="BTemplates" border="0"></a></td>
<td><a title="The Cutest Blog on the Block" href="http://www.thecutestblogontheblock.com/"><img src="http://quiterandom.com/wp-content/uploads/2009/06/cutestblogontheblock.png" alt="The Cutest Blog on the Block" border="0"></a></td>
<td><a title="Blogger Styles" href="http://bloggerstyles.com"><img src="http://quiterandom.com/wp-content/uploads/2009/06/bloggerstyles.png" alt="Blogger Styles" border="0"></a></td>
</tr>
<tr>
<td><a title="Falcon Hive" href="http://falconhive.com"><img src="http://quiterandom.com/wp-content/uploads/2009/06/falconhive.png" alt="Falcon Hive" border="0"></a></td>
<td><a title="All Blogspot Templates" href="http://all-blogspot-templates.blogspot.com/"><img src="http://quiterandom.com/wp-content/uploads/2009/06/bloggertemplates.png" alt="All Blogspot Templates" border="0"></a></td>
<td><a title="Zona Cerebral" href="http://zonacerebral.com"><img src="http://quiterandom.com/wp-content/uploads/2009/06/zonacerebral.png" alt="Zona Cerebral" border="0"></a></td>
</tr>
<tr>
<td><a title="Quite Random" href="http://quiterandom.com"><img src="http://quiterandom.com/wp-content/uploads/2009/06/quiterandom.png" alt="Quite Random" border="0"></a></td>
<td><a title="Yo" href="http://chicablogger.com"><img src="http://quiterandom.com/wp-content/uploads/2009/06/chicablogger.png" alt="ChicaBlogger" border="0"></a></td>
<td><a title="Deluxe Templates" href="http://deluxetemplates.net"><img src="http://quiterandom.com/wp-content/uploads/2009/06/deluxtemplates.png" alt="Deluxe Templates" border="0"></a></td>
</tr>
<tr>
<td><a title="Pyzam" href="http://www.pyzam.com/bloggertemplates"><img src="http://quiterandom.com/wp-content/uploads/2009/06/pyzam.png" alt="Pyzam" border="0"></a></td>
<td><a title="Our Blog Templates" href="http://www.ourblogtemplates.com/"><img src="http://quiterandom.com/wp-content/uploads/2009/06/ourbloggertemplates.png" alt="Our Blogger Templates" border="0"></a></td>
<td><a title="eBlog Templates" href="http://www.eblogtemplates.com/blogger/"><img src="http://quiterandom.com/wp-content/uploads/2009/06/eblogtemplates.png" alt="eBlog Templates" border="0"></a></td>
</tr>
</tbody>
</table>
<p>Me paso por el blog de <a href="http://chicablogger.com/los-12-mejores-lugares-para-encontrar-plantillas-blogger-segun-blogger/">Claudia</a>, y el de <a href="http://zonacerebral.com/2009/06/blogger-buzz-mejores-plantillas-blogger.html">Iván</a> y me entero que <a href="http://tins.rklau.com/2009/06/blogger-templates-favorite-sources.html">Rick Klau</a>, de Blogger, publicó recientemente una lista con los <a href="http://buzz.blogger.com/2009/06/spruce-up-your-blog.html">12 sitios más recomendados</a> por los usuarios para descargar <a href="http://quiterandom.com/freebies">plantillas para Blogger</a>.</p>
<p>Me alegra mucho haber que <a href="http://quiterandom.com">Quite Random</a> sido mencionado, junto con otros blogs (que en lo personal considero excelentes, y amigos más que nada), como lo son <a href="http://btemplates.com">BTemplates</a>, <a href="http://zonacerebral.com">Zona Cerebral</a>, <a href="http://deluxetemplates.com">Deluxe Templates</a>, y <a href="http://chicablogger.com">Chica Blogger</a>, quien recomendó asimismo este blog a <strong>Blogger</strong>.</p>
<p>¡Gracias!</p>
<p>//</p>
<p>I just came by <a href="http://chicablogger.com/los-12-mejores-lugares-para-encontrar-plantillas-blogger-segun-blogger/">Claudia</a>&#8217;s and <a href="http://zonacerebral.com/2009/06/blogger-buzz-mejores-plantillas-blogger.html">Ivan</a>&#8217;s blogs and found out that <a href="http://tins.rklau.com/2009/06/blogger-templates-favorite-sources.html">Rick Klau</a>, from Blogger, recently published a list with <a href="http://buzz.blogger.com/2009/06/spruce-up-your-blog.html">the 12 most recommended sites</a> for downloading <a href="http://quiterandom.com/freebies">Blogger templates</a>.</p>
<p>I am happy to share this mention with blogs I consider not just good, but excellent&#8230; and also close friends, like: <a href="http://btemplates.com">Btemplates</a>, <a href="http://zonacerebral.com">Zona Cerebral</a>, <a href="http://deluxetemplates.net">Deluxe Templates</a>, and <a href="http://chicablogger.com">Chica Blogger</a>, who actually recommended this site to Rick.</p>
<p>Thank you!<br />
<br/><br/></p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Fupdates%2Fwe-heart-blogger%2F', 'We+heart+Blogger.')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Fupdates%2Fwe-heart-blogger%2F', title: 'We+heart+Blogger.' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/S35M74LXtqk" height="1" width="1"/>]]></content:encoded><description>Me paso por el blog de Claudia, y el de Iván y me entero que Rick Klau, de Blogger, publicó recientemente una lista con los 12 sitios más recomendados por los usuarios para descargar plantillas para Blogger.
Me alegra mucho haber que Quite Random sido mencionado, junto con otros blogs (que en lo personal considero excelentes, [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/updates/we-heart-blogger/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><feedburner:origLink>http://quiterandom.com/updates/we-heart-blogger/</feedburner:origLink></item><item><title>Pequeños cambios…</title><link>http://feedproxy.google.com/~r/qrandom/~3/r1dWmXFcC6c/</link><category>Updates</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Sun, 26 Apr 2009 18:28:44 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=980</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Estas semanas he estado y estaré en las próximas dos más que ocupado. Para compensar mi ausencia, he decidido darle otro aire (un poco más organizado quizás) al blog. ¡Espero les guste!</p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Fupdates%2Fpequenos-cambios%2F', 'Peque%C3%B1os+cambios%26%238230%3B')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Fupdates%2Fpequenos-cambios%2F', title: 'Peque%C3%B1os+cambios%26%238230%3B' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/r1dWmXFcC6c" height="1" width="1"/>]]></content:encoded><description>Estas semanas he estado y estaré en las próximas dos más que ocupado. Para compensar mi ausencia, he decidido darle otro aire (un poco más organizado quizás) al blog. ¡Espero les guste!</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/updates/pequenos-cambios/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">7</slash:comments><feedburner:origLink>http://quiterandom.com/updates/pequenos-cambios/</feedburner:origLink></item><item><title>Solutions for JavaScript hosting in Blogger</title><link>http://feedproxy.google.com/~r/qrandom/~3/ITstVIYl9nA/</link><category>Blogger Tutorials</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Thu, 09 Apr 2009 17:20:25 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=914</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>There are lots of things that can’t easily be achieved in Blogger without the usage of special ‘scripts.’ As they are a <strong>growing</strong> solution for most of the features we’d like our Blogger blogs to have, we deal with a huge setback: ‘where to host them.’ We know Blogger only allows users to upload images and videos, but not other type of files.</p>
<p>As Blogger users, we like two things about it: it’s easy, and it’s free. But hosting isn’t, and the famous ‘free hosting services’ always have their own tricky terms related to the bandwidth consume and/or available space. Many of them are even just for ‘sharing’, and we’re not able to get from them valid, direct URLs to our hosted files.</p>
<p>I&#8217;ve listed some of the solutions we can apply until <strong>Google decides to give us the option of uploading other types of files.</strong></p>
<h3>1. Changing .js for .txt</h3>
<p>What we call &#8217;scripts&#8217; are only files with plain text. They have a <strong>.js</strong> extension, which is <strong>not</strong> exactly obligatory, and it&#8217;s the reason why many hosting services won&#8217;t let us upload them.</p>
<p>What we can do, then, is simply changing the .js extension for a .txt extension and upload these files to <a href="http://www.fileden.com/">Fileden</a>, for example; then, using the provided URLs like always.</p>
<pre>
&lt;script type="text/javascript" src="<strong style="color:red;">SCRIPT_URL.TXT</strong>" /&gt;
</pre>
<h3>2. Using Google&#8217;s AJAX Libraries API</h3>
<p>Many of the scripts we use in our blogs usually <strong>only</strong> work with certain libraries, ie. <a href="http://www.prototypejs.org/">Prototype</a> or <a href="http://jquery.com/">jQuery</a>. These, and other general libraries can be loaded in our blogs with Google&#8217;s AJAX Libraries API, adding the following code before <code>&lt;/head&gt;</code> in our templates:</p>
<pre>
&lt;script src='http://www.google.com/jsapi'/&gt;
&lt;script&gt;
google.load(&quot;<strong style="color:green">library if available</strong>&quot;, &quot;<strong style="color:green">version</strong>&quot;);
&lt;/script&gt;
</pre>
<p>Here&#8217;s <a href="http://code.google.com/intl/es-AR/apis/ajaxlibs/documentation/index.html#AjaxLibraries">a complete list of the available libraries, and their installation</a>.</p>
<h3>3. Adding scripts directly to our templates</h3>
<p>These kinds of code:</p>
<pre>
&lt;script src='<strong style="color:red;">SCRIPT_URL</strong>' type='text/javascript'&gt;&lt;/script&gt;
</pre>
<p>Would be replaced by:</p>
<pre>
&lt;script type='text/javascript'&gt;
<strong>//&lt;![CDATA[</strong>
<strong style="color:red;">SCRIPT_CONTENT</strong>
<strong>//]]&gt;</strong>
&lt;/script&gt;
</pre>
<p>We must take in consideration that adding <strong>long</strong> scripts directly to our templates can make it a little messy and confusing; this doesn&#8217;t mean that long scripts won&#8217;t work.</p>
<h3>4. Using Blogger&#8217;s &#8220;HTML/JavaScript&#8221; gadget</h3>
<p>Adding this type of scripts to our templates might result impractical. Also, changing its .js extension for a .txt one, because of its volume, would make it consume a lot of bandwidth. Here&#8217;s a good solution for that.</p>
<p>In our templates, we create a new Blogger gadget section adding the following code after <code>&lt;body&gt;</code>:</p>
<pre>
&lt;b:section class='<strong style="color:purple;">scripts-container</strong>' id='<strong style="color:purple;">scripts-container</strong>' /&gt;
</pre>
<p>Once this is done, from our Dashboards, in the &#8216;Elements Page,&#8217; we will see a new section above our template layout. We add a &#8220;HTML/JavaScript&#8221; gadget from there, with something like this:</p>
<pre>
&lt;script type='text/javascript'&gt;
<strong style="color:red;">SCRIPT_CONTENT</strong>
&lt;/script&gt;
</pre>
<p>We must avoid adding <strong>titles</strong> to these gadgets; however, if we&#8217;re going to add several scripts in different gadgets, we might&#8230; after adding this line before <code>&lt;/b:skin&gt;</code>:</p>
<pre>.scripts-container .widget h2 {display: none; visibility: hidden;}</pre>
<p>Also, it seems Blogger interprets all &#8220;&lt;&#8221; and &#8220;&gt;&#8221; appearing in the scripts not as expected. To solve this, look for these symbols and add a space before and after each of them. Here&#8217;s an example:</p>
<p><strong>Before</strong>: <code>for(var i=0;i&lt;a_rc;i++) {</code><br />
<strong>After</strong>: <code>for(var i=0;i &lt; a_rc;i++) {</code></p>
<h3> *** </h3>
<p><strong><a href="http://pages.google.com">Google Pages</a></strong> was kind of the perfect solution for all of this; however, this beta service is soon coming to an end. Google says they will merge both Google Pages and <a href="http://sites.google.com">Google Sites</a> so we can create sites in one second; but just imagine a good and trendy site with NO JavaScript at all&#8230; I wonder why Google never merged Blogger with Google Pages, as it did with Google Adsense and Google Friends.</p>
<p>I <em>could</em> have listed some of the free services we could use, but considering what has happened with <a href="http://hostfile.org">HostFile</a> (dead already), Google Pages (dying), and lately <a href="http://skydrive.live.com/">Skydrive</a> (not recommended), we can easily conclude that unless it is isn’t our own host, we will always have limitations.</p>
<h4>Reference</h4>
<p><strong>Vagabundia</strong> [<a href="http://vagabundia.blogspot.com/2009/03/repasando-alternativas-para-alojar.html">1</a>, <a href="http://vagabundia.blogspot.com/2009/03/solucionando-cosas-de-una-en-una.html">2</a>, <a href="http://vagabundia.blogspot.com/2009/03/solucionando-scripts-ultimos.html">3</a>]</p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ftutorials%2Fsolutions-for-js-hosting%2F', 'Solutions+for+JavaScript+hosting+in+Blogger')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ftutorials%2Fsolutions-for-js-hosting%2F', title: 'Solutions+for+JavaScript+hosting+in+Blogger' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/ITstVIYl9nA" height="1" width="1"/>]]></content:encoded><description>There are lots of things that can’t easily be achieved in Blogger without the usage of special ‘scripts.’ As they are a growing solution for most of the features we’d like our Blogger blogs to have, we deal with a huge setback: ‘where to host them.’ We know Blogger only allows users to upload images [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/tutorials/solutions-for-js-hosting/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">22</slash:comments><feedburner:origLink>http://quiterandom.com/tutorials/solutions-for-js-hosting/</feedburner:origLink></item><item><title>Automatic post summaries (Read More hack)</title><link>http://feedproxy.google.com/~r/qrandom/~3/HfS2gwVym6w/</link><category>Blogger Tutorials</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Tue, 31 Mar 2009 00:19:09 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=886</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img src="http://quiterandom.com/wp-content/uploads/2009/03/readmore.gif" alt="Read More hack" title="Read More hack" width="500" height="223" class="aligncenter size-full wp-image-890" /></p>
<p>There are plenty of &#8216;Read More&#8217; hacks for Blogger on the web; however, not all of them create <strong>automatic</strong> post summaries with thumbnails for each post. This type of hacks I used in my latest template, <a href="http://quiterandom.com/freebies/whiteness/">Whiteness</a>. Since the template has had quite a good reception for its simplicity, usability AND the automatic &#8216;Read More&#8217; hack, I thought it would be a good idea to explain the script used: how to install it and customize it.</p>
<p><strong>Important:</strong> I saw this hack in a post from <a href="http://www.bloggersphera.com/2009/01/resumo-do-post-hack-leia-mais.html">BloggerSphera</a>.</p>
<h2>Installation and Customization</h2>
<p>There are two main HTML codes we need to add in our templates, so the hack can work properly. These should be added from &#8216;Edit HTML,&#8217; in our Blogger Dashboards, <strong>with the widget templates expanded</strong>.</p>
<p>&mdash; The first code we need to insert is the <strong>script</strong> itself, and it should be located before <code>&lt;/head&gt;</code>.</p>
<p>(I&#8217;ve uploaded the script file to my own server; you can, though, download it and upload it to your own, then replace URLs.)</p>
<pre>
&lt;script src='<a href="http://quiterandom.com/js/summary/summary-posts.js">http://quiterandom.com/js/summary/summary-posts.js</a>' type='text/javascript'/&gt;
&lt;script type='text/javascript'&gt;
<strong style="color:blue;font-size:110%;">var thumbnail_mode = &quot;float&quot; ;
summary_noimg = 250;
summary_img = 250;
img_thumb_height = 120;
img_thumb_width = 120;</strong>
&lt;/script&gt;
</pre>
<p>We can (and must, actually <img src='http://quiterandom.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) use the variables that are highlighted in the code above. Here&#8217;s the explanation:</p>
<p><code>var thumbnail_mode = &quot;float&quot; ;</code> &mdash; With this you can decide if you want the thumbnail to float to the left (<code>float</code>), or just display it unformatted (<code>no-float</code>).<br />
<code>summary_noimg = 250;</code> &mdash; Defines how many characters will be displayed in posts with <strong>no</strong> images/thumbnail.<br />
<code>summary_img = 250;</code> &mdash; Defines how many characters will be displayed in posts <strong>with</strong> images/thumbnail.<br />
<code>img_thumb_height = 120;</code> &mdash; Thumbnails&#8217; height in pixels.<br />
<code>img_thumb_width = 120;</code> &mdash; Thumbnails&#8217; width in pixels.</p>
<p>&mdash; The second code we will add, will replace the &#8216;default&#8217; post body for the post summary and thumbnail, in pages different than individual posts.</p>
<p>Simply look for this tag:</p>
<pre>&lt;data:post.body/&gt;</pre>
<p>and change it for this:</p>
<pre>
    &lt;b:if cond='data:blog.pageType != &quot;item&quot;'&gt;
      &lt;div expr:id='&quot;summary-&quot; + data:post.id'&gt;&lt;data:post.body/&gt;&lt;/div&gt;
      &lt;script type='text/javascript'&gt;createSummaryAndThumb(&quot;summary-&lt;data:post.id/&gt;&quot;);&lt;/script&gt;
      &lt;a class='readmore' expr:href='data:post.url'&gt;<strong style="color:red;">Read more &#187;</strong>&lt;/a&gt;
    &lt;/b:if&gt;
    &lt;b:if cond='data:blog.pageType == &quot;item&quot;'&gt;&lt;data:post.body/&gt;&lt;/b:if&gt;
</pre>
<p>The highlighted text in red is the one appearing in the <strong>link</strong> next to the summaries. </p>
<p>&#8216;Read More&#8217; is the most common, but we can always change it for &#8216;View full post,&#8217; &#8216;More,&#8217; or any other text. We can even use images, instead of text!</p>
<p>- If we&#8217;d like to <strong>style</strong> these &#8216;Read More&#8217; links, all we need to do is add the CSS properties to the following element:</p>
<pre>a.readmore {
/* CSS properties go here */
}</pre>
<p>(All of this, of course, before <code>&lt;/b:skin&gt;</code>.)</p>
<p>And that&#8217;s it, enjoy!</p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ftutorials%2Fautomatic-post-summaries%2F', 'Automatic+post+summaries+%28%3Cem%3ERead+More%3C%2Fem%3E+hack%29')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ftutorials%2Fautomatic-post-summaries%2F', title: 'Automatic+post+summaries+%28%3Cem%3ERead+More%3C%2Fem%3E+hack%29' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/HfS2gwVym6w" height="1" width="1"/>]]></content:encoded><description>There are plenty of &amp;#8216;Read More&amp;#8217; hacks for Blogger on the web; however, not all of them create automatic post summaries with thumbnails for each post. This type of hacks I used in my latest template, Whiteness. Since the template has had quite a good reception for its simplicity, usability AND the automatic &amp;#8216;Read More&amp;#8217; [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/tutorials/automatic-post-summaries/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">50</slash:comments><feedburner:origLink>http://quiterandom.com/tutorials/automatic-post-summaries/</feedburner:origLink></item><item><title>Template :: Whiteness</title><link>http://feedproxy.google.com/~r/qrandom/~3/nMgYUZILwiU/</link><category>Freebies</category><category>Quite Random</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Mon, 23 Mar 2009 04:00:03 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=823</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://randomness-whiteness.blogspot.com"><img class="alignleft" src="http://quiterandom.com/images/previews/whiteness.gif" alt="" /></a></p>
<h2>Author</h2>
<p>— <a href="http://quiterandom.com/">Quite Random</a></p>
<h2>Compatibility</h2>
<p>IE 7 &#8211; Firefox &#8211; Chrome<br />
<strong>Platform:</strong> Blogger Beta</p>
<h2>Demo</h2>
<p>— <a href="http://randomness-whiteness.blogspot.com">http://randomness-whiteness.blogspot.com</a></p>
<h2>Download</h2>
Note: There is a file embedded within this post, please visit this post to download the file.
<div class="clearimage"></div>
<h2>Instructions</h2>
<p>Desde el panel de Blogger, en Configuración&gt; Formato&gt; Formato de cabecera de fecha, elegimos la penúltima opción (Día Mes Año :: 08 Mayo 2008).<br />
— From our Blogger Dashboard, in Settings&gt; Formatting&gt; Date Header Format, we pick the option before last (Day Month Year :: 08 May 2008).</p>
<p><img class="aligncenter bordernone" src="http://quiterandom.com/images/dateformat.gif" alt="" /></p>
<p>Para agregar un minipost, creamos un post, agregándole la etiqueta &#8216;<strong>minipost</strong>&#8216;.<br />
— To add a minipost, we simply create a post with the tag  &#8216;<strong>minipost</strong>.&#8217;</p>
<p><img class="aligncenter bordernone" src="http://quiterandom.com/images/minipost.gif" alt="" /></p>
<p>La edición de fuentes y colores está habilitada desde el Panel.<br />
— Fonts &amp; Colors edition is enable from the Dashboard.</p>
<p><img class="aligncenter bordernone" src="http://quiterandom.com/images/fontscolors.jpg" alt="" /></p>
<h3>&#8216;Read More&#8217; Hack</h3>
<p>Para cambiar el número de caracteres a mostrarse en el resumen automártico, desde nuestro Panel Blogger (Edición de HTML), buscamos las siguientes líneas en el código JavaScript antes de <code>&lt;/head&gt;</code>, y cambiamos los valores:<br />
— To change the number of characters to be shown in the automatic post summary, from our Blogger Dashboard (Edit HTML), we look for the following lines in the JavaScript code before <code>&lt;/head&gt;</code>, and change the values:</p>
<pre>
summary_noimg = <strong style="color:red;">250</strong>;
summary_img = <strong style="color:red;">250</strong>;
</pre>
<p>Para cambiar las dimensiones de las imágenes mostradas en el resumen, cambiamos los valores resaltados en el código mostrado aquí abajo:<br />
&mdash; To change the dimensions of the thumbnails shown in the summary, we have to change the highlighted values in the code shown below:</p>
<pre>
.post .post-body img.post-thumbnail {float: left; height: <strong style="color:blue;">120px</strong>; margin: 0 5px 10px 0; width: <strong style="color:blue;">120px</strong>;}
</pre>
<p>También podemos cambiar el texto &#8216;Read More&#8217; que aparece en los links de los resúmenes. Sencillamente buscamos en nuestra plantilla, con los artilugios expandidos, el siguiente código y cambiamos lo resaltado en rojo:<br />
&mdash; We can also change the &#8216;Read More&#8217; text that appears in the links next to the summaries. We should look for the following code in our template, with the widget templates expanded, and change what&#8217;s highlighted in red:</p>
<pre>
&lt;a class='readmore' expr:href='data:post.url'&gt;<strong style="color: red;">Read more</strong> &amp;#187;&lt;/a&gt;
</pre>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ffreebies%2Fwhiteness%2F', 'Template+%3A%3A+Whiteness')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ffreebies%2Fwhiteness%2F', title: 'Template+%3A%3A+Whiteness' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/nMgYUZILwiU" height="1" width="1"/>]]></content:encoded><description>Author
— Quite Random
Compatibility
IE 7 &amp;#8211; Firefox &amp;#8211; Chrome
Platform: Blogger Beta
Demo
— http://randomness-whiteness.blogspot.com
Download

Instructions
Desde el panel de Blogger, en Configuración&amp;#62; Formato&amp;#62; Formato de cabecera de fecha, elegimos la penúltima opción (Día Mes Año :: 08 Mayo 2008).
— From our Blogger Dashboard, in Settings&amp;#62; Formatting&amp;#62; Date Header Format, we pick the option before last (Day Month Year :: 08 [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/freebies/whiteness/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">184</slash:comments><feedburner:origLink>http://quiterandom.com/freebies/whiteness/</feedburner:origLink></item><item><title>Sidebars condicionales</title><link>http://feedproxy.google.com/~r/qrandom/~3/F3a2shDs9W4/</link><category>Tutoriales Blogger</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Mon, 16 Mar 2009 03:10:14 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=842</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Hace poco <a href="http://castrobirdelo.blogspot.com">Birdelo</a> me preguntaba cómo lograr un efecto que usé en una plantilla (<a href="http://quiterandom.com/freebies/template-randomnesstheme/">Randomness</a>): ocultar la sidebar en <em>posts</em> individuales (de modo que sólo se mostrará el contenido).</p>
<p>El procedimiento es sencillo; basta con agregar una etiqueta condicional, y listo. Pero al escribir este tutorial, pensé en presentar otra posibilidad; más <strong>concretamente</strong> cómo mostrar dos diferentes sidebars: una en los <em>posts individuales</em>, y otra en el resto de páginas (incluyendo la principal).</p>
<h2>Instalación</h2>
<p>1. Desde nuestro Panel/Escritorio Blogger, nos dirigimos a <strong>Edición de HTML</strong>.</p>
<p>2. <strong>SIN expandir artilugios</strong>, buscamos la sección de nuestra sidebar, que debería verse algo así:</p>
<pre>
<strong style='color:red;'>&lt;div id="sidebar-wrapper"&gt;</strong>
  &lt;b:section class='sidebar' id='sidebar' preferred='yes'&gt;
  Widgets
  &lt;/b:section&gt;
<strong style='color:red;'>&lt;/div&gt;</strong>
</pre>
<p>3. Arrriba de la primera línea en rojo, agregamos la siguiente etiqueta <strong>condicional</strong>:</p>
<pre>
&lt;b:if cond='data:blog.pageType != "<strong style='color:green;'>item</strong>"'&gt;
</pre>
<p>4. Si <strong>solamente</strong> queremos &#8216;quitar&#8217; la sidebar de los posts individuales, agregamos la siguiente línea debajo de la segunda línea en rojo, y aquí terminamos:</p>
<pre>
&lt;/b:if&gt;
</pre>
<p>Si no, agregamos el siguiente código, y continuamos:</p>
<pre>
&lt;b:else/&gt;
  &lt;div id="<strong style='color:purple'>sidebar-posts</strong>"&gt;
    &lt;b:section class='sidebar' id='sidebarposts' preferred='yes'/&gt;
  &lt;/div&gt;
&lt;/b:if&gt;
</pre>
<h2>Estilos</h2>
<p>Generalmente los estilos de nuestra sidebar (en general) suelen darse al contenedor de la sección (que tiene un <strong>ID específico</strong>; suele ser <code>sidebar-wrapper</code>). Los atributos para los widgets, encabezados, listas y demás se dan a la <strong>clase</strong> de la sección.</p>
<pre>
#sidebar-wrapper {
/* Atributos para el contenedor de la sidebar */
}

.sidebar h2 {
/* Encabezados */
}

.sidebar .widget {
/* Widgets */
}

.sidebar .widget-content {
/* Contenido del widget */
}
</pre>
<p>Es por esta razón que no he cambiado las clases de las secciones, sino sólamente el ID del contenedor (<code>sidebar-posts</code>). Esto significa que nuestros widgets y sus encabezados tendrán la misma configuración, sin necesidad de añadir nada más. Lo que sí podemos (y debemos) estilizar el contenedor de la sidebar de los <em>posts</em> individuales.</p>
<p>Una vez más, los estilos CSS, son todo lo que se encuentra antes de <code>]]&lt;/b:skin&gt;</code>.</p>
<pre>
#sidebar-posts {
/* Atributos para el contenedor de la sidebar en posts individuales */
}
</pre>
<h2>Uso</h2>
<p><img src="http://quiterandom.com/wp-content/uploads/2009/03/editicon.gif" alt="" class="alignright bordernone"/>El único &#8216;problema&#8217; (relativo de todos modos) que hay es que desde nuestro Panel <strong>solamente</strong> podemos editar y mover los wigets de la sidebar en la página principal. Para los <em>posts</em> individuales, debemos agregarlos y ordenarlos directamente desde Edición de HTML. Ya en las páginas individuales, podemos editarlos con el ícono de Edición que Blogger proporciona.</p>
<h2>Demo</h2>
<p>Como siempre <img src='http://quiterandom.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  &#8230; <a href="http://randomness-tests.blogspot.com">acá un demo en funcionamiento</a>.</p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ftutoriales%2Fsidebars-condicionales%2F', 'Sidebars+condicionales')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ftutoriales%2Fsidebars-condicionales%2F', title: 'Sidebars+condicionales' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/F3a2shDs9W4" height="1" width="1"/>]]></content:encoded><description>Hace poco Birdelo me preguntaba cómo lograr un efecto que usé en una plantilla (Randomness): ocultar la sidebar en posts individuales (de modo que sólo se mostrará el contenido).
El procedimiento es sencillo; basta con agregar una etiqueta condicional, y listo. Pero al escribir este tutorial, pensé en presentar otra posibilidad; más concretamente cómo mostrar dos [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/tutoriales/sidebars-condicionales/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">6</slash:comments><feedburner:origLink>http://quiterandom.com/tutoriales/sidebars-condicionales/</feedburner:origLink></item><item><title>Template :: Tuut</title><link>http://feedproxy.google.com/~r/qrandom/~3/Zylt957w3Qw/</link><category>Freebies</category><category>Tutorial Blog</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Mon, 09 Mar 2009 08:25:22 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=819</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://randomness-tuut.blogspot.com"><img class="alignleft" src="http://quiterandom.com/images/previews/tuut.gif" alt="" /></a></p>
<h2>Authors</h2>
<p><span class="em">Designed by:</span> <a href="http://tutorialblog.org">Tutorial Blog</a><br />
<span class="code">Coded by:</span> <a href="http://quiterandom.com/">Quite Random</a></p>
<h2>Compatibility</h2>
<p>IE 7 &#8211; Firefox &#8211; Chrome<br />
<strong>Platform:</strong> Blogger Beta</p>
<h2>Demo</h2>
<p>— <a href="http://randomness-tuut.blogspot.com">http://randomness-tuut.blogspot.com</a></p>
<h2>Download</h2>
Note: There is a file embedded within this post, please visit this post to download the file.
<div class="clearimage"> </div>
<h2>Instructions</h2>
<p>Desde el panel de Blogger, en Configuración&gt; Formato&gt; Formato de cabecera de fecha, elegimos la penúltima opción (Día Mes Año :: 08 Mayo 2008).<br />
&mdash; From our Blogger Dashboard, in Settings&gt; Formatting&gt; Date Header Format, we pick the option before last (Day Month Year :: 08 May 2008).</p>
<p><img class="aligncenter bordernone" src="http://quiterandom.com/images/dateformat.gif" alt="" /></p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ffreebies%2Ftuut%2F', 'Template+%3A%3A+Tuut')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ffreebies%2Ftuut%2F', title: 'Template+%3A%3A+Tuut' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/Zylt957w3Qw" height="1" width="1"/>]]></content:encoded><description>Authors
Designed by: Tutorial Blog
Coded by: Quite Random
Compatibility
IE 7 &amp;#8211; Firefox &amp;#8211; Chrome
Platform: Blogger Beta
Demo
— http://randomness-tuut.blogspot.com
Download
 
Instructions
Desde el panel de Blogger, en Configuración&amp;#62; Formato&amp;#62; Formato de cabecera de fecha, elegimos la penúltima opción (Día Mes Año :: 08 Mayo 2008).
&amp;#8212; From our Blogger Dashboard, in Settings&amp;#62; Formatting&amp;#62; Date Header Format, we pick the option before last [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/freebies/tuut/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">9</slash:comments><feedburner:origLink>http://quiterandom.com/freebies/tuut/</feedburner:origLink></item><item><title>Mini posts en Blogger</title><link>http://feedproxy.google.com/~r/qrandom/~3/Tmr_IvYzh9U/</link><category>Tutoriales Blogger</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Mon, 09 Mar 2009 01:00:42 PDT</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=751</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img class="aligncenter size-full wp-image-754" title="Minipost" src="http://quiterandom.com/wp-content/uploads/2009/03/minipost.gif" alt="Minipost" width="500" height="238" /></p>
<p>En <strong>breves</strong> rasgos, estos <em>posts</em> versión miniatura <img src='http://quiterandom.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  suelen utilizarse como &#8216;notas rápidas&#8217;, pequeñas, referenciales, de aviso, notificación, etc. que no <strong>necesariamente</strong> requieren de un <em>post tradicional</em>. Se caracterizan por tener un diseño y estructura distinta, aunque son técnicamente sólo <em>posts</em> con una categoría diferente (ej. Notas rápidas, Actualizaciones, Mini posts, etc.). En la imagen de arriba, vemos cómo Francisco los ha diseñado para <a href="http://blogandweb.com">Blog and Web</a>.</p>
<p>Hasta hace poco creía que lograr esto en <strong>Blogger</strong> era difícilmente posible, pero una vez que me topé con este post en Blogger Buster, y más recientemente <a href="http://vagabundia.blogspot.com/2009/03/el-loop-de-blogger-agregando-miniposts.html">éste</a> de Vagabundia, me puse a jugar con los códigos. (Suene o no <em>geek</em>, es divertido <img src='http://quiterandom.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ). En <a href="http://vagabundia.blogspot.com">Vagabundia</a>, lo que muestra JMiur es básicamente cómo utilizar estos <em>mini posts</em> fuera de la secuencia cronológica de los posts tradicionales; yo, en cambio, me he enfocado más en cómo cambiar su estructura (y diseño) <strong>dentro</strong> de dicha secuencia (más como se usa en Blog and Web, digamos).</p>
<h2>Instalación</h2>
<p>1. Creamos un post con la categoría <strong style="color: red;">minipost</strong>.</p>
<p>2. Desde Edición de HTML (Panel &raquo; Diseño), expandimos artilugios.</p>
<p>3. En el siguiente código, agregamos lo que está resaltado. </p>
<pre>
    &lt;b:loop values='data:posts' var='post'&gt;

      <strong style="color: #000099">&lt;b:loop values='data:post.labels' var='label'&gt;
        &lt;b:if cond='data:label.isLast == &amp;quot;true&amp;quot;'&gt;
        &lt;b:if cond='data:label.name != &amp;quot;<span style="color: red;">minipost</span>&amp;quot;'&gt;</strong>

        &lt;b:if cond='data:post.dateHeader'&gt;
          &lt;h2 class='date-header'&gt;&lt;data:post.dateHeader/&gt;&lt;/h2&gt;
        &lt;/b:if&gt;
          &lt;b:include data='post' name='post'/&gt;

        <strong style="color: #000099">&lt;b:else/&gt;
          <span style="color: red;">&lt;b:include data='post' name='minipost'/&gt;</span>
        &lt;/b:if&gt;
        &lt;/b:if&gt;
      &lt;/b:loop&gt;</strong>

      &lt;b:if cond='data:blog.pageType == &amp;quot;item&amp;quot;'&gt;
        &lt;b:include data='post' name='comments'/&gt;
      &lt;/b:if&gt;
      &lt;b:if cond='data:post.includeAd'&gt;
        &lt;data:adEnd/&gt;
        &lt;data:adCode/&gt;
        &lt;data:adStart/&gt;
      &lt;/b:if&gt;
      &lt;b:if cond='data:post.trackLatency'&gt;
        &lt;data:post.latencyJs/&gt;
      &lt;/b:if&gt;
    &lt;/b:loop&gt;
</pre>
<p>4. Buscamos la siguiente línea:</p>
<pre>&lt;b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'&gt;</pre>
<p>y debajo de ella, pegamos el siguiente código:</p>
<pre>
&lt;b:includable id='minipost' var='top'&gt;

<strong>&lt;b:if cond='data:blog.pageType != &amp;quot;item&amp;quot;'&gt;</strong>
  &lt;div class='minipost home'&gt;
    &lt;div class='<strong style="color:purple">date</strong>'&gt;&lt;data:post.dateHeader/&gt;&lt;/div&gt;
    &lt;div class='<strong style="color:purple">body</strong>'&gt;
      &lt;data:post.body/&gt;
      &lt;div class='clear'/&gt;
    &lt;/div&gt;
    &lt;div class='<strong style="color:purple">meta</strong>'&gt;
      &lt;a expr:href='data:post.url'&gt;permalink&lt;/a&gt; |
      &lt;a expr:href='data:post.url + &amp;quot;#comments&amp;quot;'&gt;comments&lt;/a&gt;
      &lt;b:include data='post' name='postQuickEdit'/&gt;
    &lt;/div&gt;
  &lt;/div&gt;

<strong>&lt;b:else/&gt;</strong>

  &lt;div class='minipost item'&gt;
    &lt;div class='<strong style="color:green">date</strong>'&gt;&lt;data:post.dateHeader/&gt;&lt;/div&gt;
    &lt;div class='<strong style="color:green">title</strong>'&gt;
      &lt;a expr:href='data:post.url'&gt;
        &lt;data:post.title/&gt;
      &lt;/a&gt;
    &lt;/div&gt;
    &lt;div class='<strong style="color:green">body</strong>'&gt;
      &lt;data:post.body/&gt;
      &lt;div class='clear'/&gt;
    &lt;/div&gt;
    &lt;b:include data='post' name='postQuickEdit'/&gt;
  &lt;/div&gt;
<strong>&lt;/b:if&gt;</strong>

&lt;/b:includable&gt;
</pre>
<p>De esta forma habremos definido cómo será la <strong>estructura</strong> de los <em>mini posts</em> en las páginas del blog, y los posts individuales. </p>
<p>En este ejemplo, en los miniposts que se verán en la página principal, archivos y categorías, se mostrará solamente la fecha, el contenido, y dos enlaces (el enlace permanente al minipost, y el enlace a los comentarios). En los miniposts individuales, se mostrará la fecha, el título y el contenido. </p>
<p>&mdash; Podemos usar Vista Previa para tener una idea de cómo se verán los miniposts ahora.</p>
<h2>Estilos</h2>
<p>Los estilos (colores, tamaños, fondos, fuentes, etc.) los definimos con CSS (el código antes de <code>]]&lt;/b:skin&gt;</code>, utilizando las clases de cada contenedor:</p>
<pre>
.minipost.home { /* Miniposts en la página principal, archivos, y categorías */ }
  .minipost.home .<strong style="color:purple">date</strong> { /* Estilos para la fecha */ }
  .minipost.home .<strong style="color:purple">body</strong> { /* Estilos para el cuerpo del minipost */ }
  .minipost.home .<strong style="color:purple">meta</strong> { /* Estilos para el 'footer' del minipost */ }

.minipost.item { /* Estilos para los miniposts individuales */ }
  .minipost.item .<strong style="color:green">date</strong> { /* Estilos para la fecha del minipost individual */ }
  .minipost.item .<strong style="color:green">title</strong> { /* Estilos para el título del minipost individual  */ }
  .minipost.item .<strong style="color:green">body</strong> { /* Estilos para el cuerpo del minipost individual */ }
</pre>
<h2>Demo</h2>
<p><a href="http://randomness-tests.blogspot.com/">Acá un demo en funcionamiento</a>.</p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ftutoriales%2Fminiposts-en-blogger%2F', '%3Cem%3EMini+posts%3C%2Fem%3E+en+Blogger')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ftutoriales%2Fminiposts-en-blogger%2F', title: '%3Cem%3EMini+posts%3C%2Fem%3E+en+Blogger' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/Tmr_IvYzh9U" height="1" width="1"/>]]></content:encoded><description>En breves rasgos, estos posts versión miniatura   suelen utilizarse como &amp;#8216;notas rápidas&amp;#8217;, pequeñas, referenciales, de aviso, notificación, etc. que no necesariamente requieren de un post tradicional. Se caracterizan por tener un diseño y estructura distinta, aunque son técnicamente sólo posts con una categoría diferente (ej. Notas rápidas, Actualizaciones, Mini posts, etc.). En la [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/tutoriales/miniposts-en-blogger/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">2</slash:comments><feedburner:origLink>http://quiterandom.com/tutoriales/miniposts-en-blogger/</feedburner:origLink></item><item><title>Tabbed Navigation System</title><link>http://feedproxy.google.com/~r/qrandom/~3/JJgDKoNE_dk/</link><category>Blogger Tutorials</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Mon, 02 Mar 2009 22:09:48 PST</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=103</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><img class="alignleft bordernone size-full wp-image-675" title="Tabbed system" src="http://quiterandom.com/wp-content/uploads/2009/03/tabs.gif" alt="Tabbed system" width="227" height="219" /><br />
A tabbed navigation system is always good for organization; especially when the space is very reduced. In this post, we will learn how to implement the easiest script I&#8217;ve found for this (via <a href="http://www.bloggerbuster.com/2008/08/tabbed-sidebar-navigation-for-recent.html">Blogger Buster</a>), <strong>anywhere</strong> in our blogs and even use it with Blogger&#8217;s Feed, Labels and Blog Archive widgets in our sidebars, as explained in <a href="http://www.bloggerbuster.com">Amanda</a>&#8217;s original post.</p>
<p>I had tried three different scripts before this one: <a href="http://livepipe.net/projects/control_tabs/">Control.Tabs</a>, <a href="http://tetlaw.id.au/view/blog/fabtabulous-simple-tabs-using-prototype/">Fabtabulous</a>, and <a href="http://www.sunsean.com/idTabs/">idTabs</a>. The first two needed the Prototype library, and idTabs worked with jQuery. I was satisfied with the results; however, they were either too heavy or they worked with other external JS libraries. Differently, this script is relatively fast and does not requires any external JavaScript library. <img src='http://quiterandom.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Note:</strong> I strongly recommend you to backup your template, before adding anything.</p>
<h2>Installation</h2>
<p>We first need to <strong>install</strong> the script. To do this, we must add the following code, before <code>&lt;/head&gt;</code>:</p>
<pre>
&lt;script src='<span style="color: red;">http://quiterandom.com/js/domtab/domtab.js</span>' type='text/javascript'&gt; &lt;/script&gt;
</pre>
<p>I&#8217;ve uploaded the script to my server, but we can always download it (from <a href="http://bloggerbuster.com/scripts/domtab/domtab.js">Blogger Buster</a>) and upload it to our own host, or free hosting service.</p>
<h2>Customization</h2>
<h4>General</h4>
<p>In order to style the tabs, we need to copy and customize the following code, right before <code>]]&lt;/b:skin&gt;</code>.</p>
<p>Note that the following styling includes basically: background, border and text colors; margin and padding measures; as well as floating and aligning properties. All other styling will match with the one <strong>already set</strong> in your current template, so you should not worry about how your headings, links, images, text, etc. would look inside the containers.</p>
<pre><strong>/*main container*/</strong>
div.domtab {margin: 0; padding: 0;}

<strong>/*tabs*/</strong>
ul.domtabs {float: left; margin: 0; padding: 0;}

ul.domtabs li {
background: #999;
float: left;
margin: 0 2px 0 0;
padding: 2px 3px;
text-align: center;
}

ul.domtabs li:hover, ul.domtabs li.active {background: #CCC;}
  ul.domtabs li a {color: #333; font-weight: bold; text-decoration: none;}

<strong>/*tabs containers*/</strong>
div.domtab div.tab-container {
border: 3px solid #ccc;
clear: both;
display: block;
padding: 10px;
}</pre>
<h4>Colors</h4>
<p>We can, of course, change the following colors, based on our needs. <img src='http://quiterandom.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><img class="bordernone" src="http://quiterandom.com/wp-content/uploads/2009/03/ccc.gif" alt="" /> #CCC — Used as background when the tabs are hovered and/or active, and as the border color for the containers.<br />
<img class="bordernone" src="http://quiterandom.com/wp-content/uploads/2009/03/999.gif" alt="" /> #999 — Used as the default tab background color.<br />
<img class="bordernone" src="http://quiterandom.com/wp-content/uploads/2009/03/333.gif" alt="" /> #333 — Used as the default tab text color.</p>
<h4>Widths</h4>
<p><strong>DO</strong> keep in mind, that if the tabs appear on top of each other, it&#8217;s probably due to the width of the sidebar, or container, since the individual tabs do <strong>NOT</strong> have a fixed width. In this example, three tabs fit perfectly in a 220px-wide sidebar, but we can&#8217;t, for example, expect six tabs to appear in the same line.</p>
<h2>Usage</h2>
<h4>General explanation</h4>
<p>This script requires the following to work properly. A main container which will <em>contain</em> (a) a list with the tabs, and (b) a container for <strong>each</strong> tab, where the content will <em>obviously</em> be displayed.</p>
<pre>
&lt;div class='<span style="color: purple;">domtab</span>'&gt;

&lt;ul class='<span style="color: purple;">domtabs</span>'&gt;
  &lt;li&gt;&lt;a href='#<strong>tab1</strong>'&gt;<span style="color: red;">TAB 1</span>&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='#<strong>tab2</strong>'&gt;<span style="color: green;">TAB 2</span>&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='#<strong>tab3</strong>'&gt;<span style="color: blue;">TAB 3</span>&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class='<span style="color: purple;">tab-container</span>'&gt;
  <strong>&lt;a id='tab1' name='tab1'&gt;&lt;/a&gt;</strong>
<span style="color: red;">Content for TAB 1.</span>
&lt;/div&gt;

&lt;div class='<span style="color: purple;">tab-container</span>'&gt;
  <strong>&lt;a id='tab2' name='tab2'&gt;&lt;/a&gt;</strong>
<span style="color: green;">Content for TAB 2.</span>
&lt;/div&gt;

&lt;div class='<span style="color: purple;">tab-container</span>'&gt;
  <strong>&lt;a id='tab3' name='tab4'&gt;&lt;/a&gt;</strong>
<span style="color: blue;">Content for TAB 3.</span>
&lt;/div&gt;

&lt;/div&gt;
</pre>
<p>1. The main container (<code>&lt;div&gt;</code>) should have the class <strong>domtab</strong>.<br />
2. The list (<code>&lt;ul&gt;</code>) with the tabs should have the class <strong>domtabs</strong>, and each link (<code>&lt;a&gt;</code>) in the list should point to the ID of each tab container.<br />
3. Each container should have the class <strong>tab-container</strong> and an identifier (anchor) inside of it, with a <strong>unique</strong> name and ID.</p>
<h3>Recent Posts, Labels and Archives Widget</h3>
<p>Based on the explanation above, the things we must change to make this widget work, are basically the unique IDs and the <strong>content</strong> for each tab (which in this case will be replace for Blogger sections and widgets).</p>
<p>1. Look for the following line:</p>
<pre>&lt;b:section class='sidebar' id='sidebar' preferred='yes'&gt;</pre>
<p>2. Right before it, paste the code below:</p>
<pre>
&lt;div class='<span style="color: purple;">domtab</span>'&gt;

&lt;ul class='<span style="color: purple;">domtabs</span>'&gt;
  &lt;li&gt;&lt;a href='#<strong>recent</strong>'&gt;<span style="color: red;">Recent</span>&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='#<strong>cat</strong>'&gt;<span style="color: green;">Categories</span>&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href='#<strong>arc</strong>'&gt;<span style="color: blue;">Archives</span>&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class='<span style="color: purple;">tab-container</span>'&gt;
  <strong>&lt;a id='recent' name='recent'&gt;&lt;/a&gt;</strong>
  <span style="color: red;">&lt;b:section class='sidebar-tab' id='sidebar-tabs-1' preferred='yes'&gt;
    <em>&lt;b:widget id='Feed99' locked='false' title='' type='Feed'/&gt;</em>
  &lt;/b:section&gt;</span>
&lt;/div&gt;

&lt;div class='<span style="color: purple;">tab-container</span>'&gt;
  <strong>&lt;a id='cat' name='cat'&gt;&lt;/a&gt;</strong>
  <span style="color: green;">&lt;b:section class='sidebar-tab' id='sidebar-tabs-2' preferred='yes'&gt;
    <em>&lt;b:widget id='Label99' locked='false' title='' type='Label'/&gt;</em>
  &lt;/b:section&gt;</span>
&lt;/div&gt;

&lt;div class='<span style="color: purple;">tab-container</span>'&gt;
  <strong>&lt;a id='arc' name='arc'&gt;&lt;/a&gt;</strong>
  <span style="color: blue;">&lt;b:section class='sidebar-tab' id='sidebar-tabs-3' preferred='yes'&gt;
    <em>&lt;b:widget id='BlogArchive99' locked='false' title='' type='BlogArchive'/&gt;</em>
  &lt;/b:section&gt;</span>
&lt;/div&gt;

&lt;/div&gt;
</pre>
<p>3. Save your template.</p>
<p>4. Go to the <strong>Elements Page</strong>. Once there, you should see something like this:</p>
<p><img src="http://quiterandom.com/wp-content/uploads/2009/03/tabswidget.gif" alt="Tabs Widget" title="Tabs Widget" width="231" height="127" class="aligncenter bordernone size-full wp-image-721" /></p>
<p>Edit the Feed widget with your Feed URL, and you&#8217;re done.</p>
<p><img src="http://quiterandom.com/wp-content/uploads/2009/03/feedwidget.gif" alt="Feed Widget" title="Feed Widget" width="523" height="145" class="aligncenter bordernone size-full wp-image-720" /></p>
<p><strong>Note:</strong> If you can&#8217;t edit this widget, feel free to delete it and add it again from there.</p>
<h2>Demo</h2>
<p><a href="http://randomness-tests.blogspot.com">You can take a look at the result right here.</a></p>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ftutorials%2Ftabbed-navigation-system%2F', 'Tabbed+Navigation+System')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ftutorials%2Ftabbed-navigation-system%2F', title: 'Tabbed+Navigation+System' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/JJgDKoNE_dk" height="1" width="1"/>]]></content:encoded><description>A tabbed navigation system is always good for organization; especially when the space is very reduced. In this post, we will learn how to implement the easiest script I&amp;#8217;ve found for this (via Blogger Buster), anywhere in our blogs and even use it with Blogger&amp;#8217;s Feed, Labels and Blog Archive widgets in our sidebars, as [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/tutorials/tabbed-navigation-system/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">19</slash:comments><feedburner:origLink>http://quiterandom.com/tutorials/tabbed-navigation-system/</feedburner:origLink></item><item><title>Template :: Randomness Theme</title><link>http://feedproxy.google.com/~r/qrandom/~3/704-xgpN5i4/</link><category>Freebies</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">FernandoC</dc:creator><pubDate>Fri, 20 Feb 2009 22:11:22 PST</pubDate><guid isPermaLink="false">http://quiterandom.com/?p=605</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p><a href="http://randomness-theme.blogspot.com"><img class="aligncenter" src="http://quiterandom.com/images/previews/Randomness.gif" alt=""/></a></p>
<h2>Info</h2>
<p><strong>randomness*theme</strong><br />
Designer: <a href="http://quiterandom.com/">Randomness</a><br />
IE 7 | Firefox | Safari | G.Chrome @ Blogger Beta</p>
<h2>Download</h2>
Note: There is a file embedded within this post, please visit this post to download the file.
<h2>Other instructions</h2>
<p>Para cambiar el <strong>favicon</strong> de la plantilla por el tuyo, simplemente cambia la URL de la imagen en el siguiente código.<br />
To change the template&#8217;s <strong>favicon</strong> with yours, simply change the image&#8217;s URL in the following code.</p>
<pre>
&lt;link href='<strong><span style="color: #000099;">http://img3.imageshack.us/img3/3094/favicon.gif</span></strong>' rel='shortcut icon' type='image/x-icon'/&gt;
</pre>
<p>Para configurar el área de <a href="http://twitter.com">Twitter</a>, busca el siguiente código y cambia &#8220;<strong>fernandooo1</strong>&#8220;, por tu nombre de usuario.<br />
To display your twitter updates, simply look for this code and change &#8220;<strong>fernandooo1</strong>&#8221; with your <a href="http://twitter.com">Twitter</a> username.</p>
<pre>
&lt;script src='http://twitter.com/statuses/user_timeline/<strong><span style="color: red;">fernandooo1</span></strong>.json?callback=twitterCallback2&amp;amp;count=1' type='text/javascript'/&gt;
</pre>
<script type="text/javascript" src="http://cdn.socialtwist.com/200902119847/script.js"></script><a href="http://tellafriend.socialtwist.com:80" onclick="return false;" class="st-taf" style="border:0;padding:0;margin:0;"><img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/200902119847/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '200902119847', 'http%3A%2F%2Fquiterandom.com%2Ffreebies%2Ftemplate-randomnesstheme%2F', 'Template+%3A%3A+Randomness+Theme')" onclick="cw(this, {id:'200902119847', link: 'http%3A%2F%2Fquiterandom.com%2Ffreebies%2Ftemplate-randomnesstheme%2F', title: 'Template+%3A%3A+Randomness+Theme' });"/></a><img src="http://feeds.feedburner.com/~r/qrandom/~4/704-xgpN5i4" height="1" width="1"/>]]></content:encoded><description>Info
randomness*theme
Designer: Randomness
IE 7 &amp;#124; Firefox 2 &amp;#038; 3 &amp;#124; Safari &amp;#124; G.Chrome @ Blogger Beta
Download
Other instructions
Para configurar el área de Twitter, busca el siguiente código y cambia “fernandooo1“, por tu nombre de usuario.</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://quiterandom.com/freebies/template-randomnesstheme/feed/</wfw:commentRss><slash:comments xmlns:slash="http://purl.org/rss/1.0/modules/slash/">19</slash:comments><feedburner:origLink>http://quiterandom.com/freebies/template-randomnesstheme/</feedburner:origLink></item></channel></rss>
