<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feedproxy.google.com/~d/styles/rss2spanishfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feedproxy.google.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Pecesama.Net [weblog]</title>
	
	<link>http://blog.pecesama.net</link>
	<description>Programación web y TI</description>
	<pubDate>Wed, 03 Dec 2008 05:38:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<geo:lat>31.866</geo:lat><geo:long>-116.595</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><image><link>http://www.pecesama.net/weblog/</link><url>http://www.feedburner.com/fb/images/pub/fb_pwrd.gif</url><title>Pecesama.Net [weblog]</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feedproxy.google.com/pecesama_blog" type="application/rss+xml" /><feedburner:emailServiceId>pecesama_blog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feedproxy.google.com/pecesama_blog" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeedproxy.google.com%2Fpecesama_blog" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeedproxy.google.com%2Fpecesama_blog" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><item>
		<title>LOST temporada 5 - Sneak Peek</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/cXyKjaAggoI/</link>
		<comments>http://blog.pecesama.net/lost-temporada-5-sneak-peek/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 05:38:47 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284733</guid>
		<description><![CDATA[Disfrutenlo mientras dure

Copyright &#169; 2008 Pecesama.Net [weblog]. El contenido de este feed pertenece a Pedro Santana   .]]></description>
			<content:encoded><![CDATA[<p>Disfrutenlo mientras dure</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Sn3wtOAgfYg&#038;hl=es&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Sn3wtOAgfYg&#038;hl=es&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/a35i2TRtqVk_wzjcr9_zcVHU6us/a"><img src="http://feedads.googleadservices.com/~a/a35i2TRtqVk_wzjcr9_zcVHU6us/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=SGzKZUW5"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=otVHlUAW"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=CMwAwXut"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=ertKYEYw"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/cXyKjaAggoI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/lost-temporada-5-sneak-peek/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/lost-temporada-5-sneak-peek/</feedburner:origLink></item>
		<item>
		<title>Reportes en Crystal Reports con VB.Net</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/5zojp9C2H1U/</link>
		<comments>http://blog.pecesama.net/reportes-en-crystal-reports-con-vb-net/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 07:24:32 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[Programacion]]></category>

		<category><![CDATA[VB.Net]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284731</guid>
		<description><![CDATA[Frago ha creado un tutorial muy bueno y sencillo sobre como realizar reportes usando Crystal Reports y VB.Net
Reportes en visual basic.net con Crystal Reports
Copyright &#169; 2008 Pecesama.Net [weblog]. El contenido de este feed pertenece a Pedro Santana   .]]></description>
			<content:encoded><![CDATA[<p>Frago ha creado un tutorial muy bueno y sencillo sobre como realizar reportes usando Crystal Reports y VB.Net</p>
<p><a href="http://kodrs.com/reportes-en-visual-basicnet-con-crystal-reports/">Reportes en visual basic.net con Crystal Reports</a></p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/Yfg_zKjkLl_7r2tuebjXgG1lfQM/a"><img src="http://feedads.googleadservices.com/~a/Yfg_zKjkLl_7r2tuebjXgG1lfQM/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=8ehkGkgJ"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=3g62RYC5"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=uJKdzQhC"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=opPsTjFc"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/5zojp9C2H1U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/reportes-en-crystal-reports-con-vb-net/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/reportes-en-crystal-reports-con-vb-net/</feedburner:origLink></item>
		<item>
		<title>Avances en estacionamientos para discapacitados</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/3fzGAOFci9c/</link>
		<comments>http://blog.pecesama.net/avances-en-estacionamientos-para-discapacitados/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 06:00:26 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284724</guid>
		<description><![CDATA[Esto es digno del Fail blog y del WTF? Microsiervos  
El otro día al pasar por el Starbucks Colima me di cuenta de que aquí ya se puede atravesar árboles  
Ya fuera de broma, que mal!
Copyright &#169; 2008 Pecesama.Net [weblog]. El contenido de este feed pertenece a Pedro Santana   .]]></description>
			<content:encoded><![CDATA[<p>Esto es digno del <a href="http://failblog.org/">Fail blog</a> y del <a href="http://wtf.microsiervos.com/">WTF? Microsiervos</a> <img src='http://blog.pecesama.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>El otro día al pasar por el Starbucks Colima me di cuenta de que aquí ya se puede atravesar árboles <img src='http://blog.pecesama.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<a href="http://blog.pecesama.net/wp-content/uploads/2008/11/cafe.jpg"  rel="lightbox"><img src="http://blog.pecesama.net/wp-content/uploads/2008/11/cafe-300x221.jpg" alt="Starbucks Colima" title="Starbucks Colima" width="300" height="221" class="size-medium wp-image-725284725" /></a>
<p>Ya fuera de broma, <strong>que mal</strong>!</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/dbsmcET9L19Jh9wZCJpWPHMTBy0/a"><img src="http://feedads.googleadservices.com/~a/dbsmcET9L19Jh9wZCJpWPHMTBy0/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=aeR56gqC"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=hknRvLjB"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=SpArAorN"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=H5HSpZEd"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/3fzGAOFci9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/avances-en-estacionamientos-para-discapacitados/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/avances-en-estacionamientos-para-discapacitados/</feedburner:origLink></item>
		<item>
		<title>¿Qué es la IPTV?</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/sqMBdP8hTZc/</link>
		<comments>http://blog.pecesama.net/que-es-la-iptv/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 20:51:28 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[iDTV]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284721</guid>
		<description><![CDATA[Continuando con la serie sobre Televisión Interactiva, ahora aprenderemos sobre ese otro termino conocido como IPTV.

La situación en México es que Telmex TV lanzará un servicio de IPTV a finales del 2008 aprovechando sus lineas telefónicas.
Como dato curioso que aquí en México no conocemos lo de Telmex TV siendo que en otros países tiene operaciones, [...]]]></description>
			<content:encoded><![CDATA[<p>Continuando con la serie sobre <a href="http://blog.pecesama.net/category/idtv/">Televisión Interactiva</a>, ahora aprenderemos sobre ese otro termino conocido como <a href="http://es.wikipedia.org/wiki/IPTV">IPTV</a>.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/pNvL0mFMGSo&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/pNvL0mFMGSo&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>La situación en México es que <a href="http://es.wikipedia.org/wiki/Telmex_TV">Telmex TV</a> lanzará un servicio de IPTV a finales del 2008 aprovechando sus lineas telefónicas.</p>
<p>Como dato curioso que aquí en México no conocemos lo de Telmex TV siendo que en otros países tiene operaciones, esos gracias a lo que les comenté en un post anterior sobre el <a href="http://blog.pecesama.net/television-digital-interactiva-idtv/">retraso en la convergencia de tecnologías</a>.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/5fEBaZAuhBGuuG1YaUIeHrBUA2A/a"><img src="http://feedads.googleadservices.com/~a/5fEBaZAuhBGuuG1YaUIeHrBUA2A/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=tXdoMYj8"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=DKihJogT"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=b8c1ScwM"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=TyEhXjGC"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/sqMBdP8hTZc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/que-es-la-iptv/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/que-es-la-iptv/</feedburner:origLink></item>
		<item>
		<title>Did you know?</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/ZUdrGTR056A/</link>
		<comments>http://blog.pecesama.net/did-you-know/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 06:52:54 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284719</guid>
		<description><![CDATA[
Lo había visto hace mucho tiempo, pero hoy lo encontré en el blog de Frago
Copyright &#169; 2008 Pecesama.Net [weblog]. El contenido de este feed pertenece a Pedro Santana   .]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/cL9Wu2kWwSY&#038;hl=es&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/cL9Wu2kWwSY&#038;hl=es&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Lo había visto hace mucho tiempo, pero hoy lo encontré en el <a href="http://fragowb.wordpress.com/2008/11/20/did-you-know/">blog de Frago</a></p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/Q3kZxNoq_NBEGtXLbTx3gAsGP4k/a"><img src="http://feedads.googleadservices.com/~a/Q3kZxNoq_NBEGtXLbTx3gAsGP4k/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=zvC5PH2M"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=06ZrvLGQ"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=Xkr7gWXJ"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=6k0V4ojp"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/ZUdrGTR056A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/did-you-know/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/did-you-know/</feedburner:origLink></item>
		<item>
		<title>Tequilla Valley Colima</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/hxXFffB2yWI/</link>
		<comments>http://blog.pecesama.net/tequilla-valley-colima/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 06:22:08 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[tequila-valley]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284715</guid>
		<description><![CDATA[Los organizadores de MW2 se han dado a la tarea de iniciar una comunidad llamada Tequila Valley en la cual reunir a todos los interesados en las tecnologías web en México, siguiendo la línea de diferentes comunidades de este tipo en diferentes partes del planeta (por ejemplo Palermo Valley en Argentina).
Si les interesa todo lo [...]]]></description>
			<content:encoded><![CDATA[<p>Los organizadores de <a href="http://mexicoweb2.com/">MW2</a> se han dado a la tarea de <a href="http://www.tequilavalley.com/2008/11/14/bienvenidos-a-tequila-valley/">iniciar una comunidad</a> llamada <a href="http://www.tequilavalley.com/">Tequila Valley</a> en la cual reunir a todos los interesados en las tecnologías web en México, siguiendo la línea de diferentes comunidades de este tipo en diferentes partes del planeta (por ejemplo <a href="http://palermovalley.com/">Palermo Valley</a> en Argentina).</p>
<p>Si les interesa todo lo relacionado a la web los invito a unirse, no importa que no vivas en México si eres Mexicano serás bienvenido, y si eres extranjero tus experiencias en esta área y en la organización de otros grupos similares también nos serán de mucha utilidad.</p>
<p>Por el momento he tomado la iniciativa de Sosa de iniciar con las reuniones en diferentes partes del país y proponer la <a href="http://foro.tequilavalley.com/topic/68/tequilla-valley-colima/">primera reunión en Colima</a>, si estas en Colima, registraste <a href="http://foro.tequilavalley.com/">al foro</a> y comenta.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/MxJIYMHPRMi_wIOZL7Y-QlylDtE/a"><img src="http://feedads.googleadservices.com/~a/MxJIYMHPRMi_wIOZL7Y-QlylDtE/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=BzxZ8DdA"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=1VyuGI95"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=wb7NecoP"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=tXrUWP8o"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/hxXFffB2yWI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/tequilla-valley-colima/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/tequilla-valley-colima/</feedburner:origLink></item>
		<item>
		<title>Patrón singleton en PHP4</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/lrAG-XIXUsA/</link>
		<comments>http://blog.pecesama.net/patron-singleton-en-php4/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 01:50:18 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Programacion]]></category>

		<category><![CDATA[patrones de diseño]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284709</guid>
		<description><![CDATA[Después de mucho tiempo, aquí estoy con la siguiente entrega de la serie sobre patrones de diseño con PHP, la siguiente entrega que estaba planeada era sobre el patrón factory (fábrica o factoría), pero en estos días programé un plugin engine para gelato el cual esta versión aún debe contar con soporte para PHP4 y [...]]]></description>
			<content:encoded><![CDATA[<p>Después de mucho tiempo, aquí estoy con la siguiente entrega de la serie sobre <a href="http://blog.pecesama.net/category/design-patterns/">patrones de diseño</a> con <a href="http://blog.pecesama.net/category/php/">PHP</a>, la siguiente entrega que estaba planeada era sobre el <a href="http://en.wikipedia.org/wiki/Factory_method_pattern">patrón factory</a> (fábrica o factoría), pero en estos días programé un plugin engine para <a href="http://www.gelatocms.com">gelato</a> el cual esta versión aún debe contar con soporte para PHP4 y me topé con que una vez terminado y probado no funcionaba correctamente en PHP4, por dos detalles:</p>
<p>1.- PHP4 no soporta propiedades estáticas (soporta métodos estáticos y variables estáticas dentro de estos métodos, pero NO propiedades),la solución a esto vendrá en otro post.<br />
2.- La implementación del patrón singleton más difundida no funciona como debería.</p>
<p>Veamoslo en bits.</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5a367a">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5a367a').style.display='block';document.getElementById('plain_synthi_4936b3c5a367a').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
class Singleton{
    var $accion;	

    function &#038;instancia(){
        static $_instancia;
        if(!isset($_instancia)){
            $_instancia =&#038; new Singleton();
        }
        return $_instancia;
    }
}
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5a367a">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5a367a').style.display='block';document.getElementById('styled_synthi_4936b3c5a367a').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">class</span> Singleton<span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0000ff;">$accion</span>;&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> &amp;instancia<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/static"><span style="color: #000066;">static</span></a> <span style="color: #0000ff;">$_instancia</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>!<a href="http://www.php.net/isset"><span style="color: #000066;">isset</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_instancia</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">$_instancia</span> =&amp; <span style="color: #000000; font-weight: bold;">new</span> Singleton<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$_instancia</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span>&nbsp; &nbsp;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
<p>La clase anterior implementa el código de singleton en PHP4 más encontrado en los ejemplos sobre el tema.</p>
<p>Si la probamos creando el objeto <code>obj1</code>:</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5aae6a">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5aae6a').style.display='block';document.getElementById('plain_synthi_4936b3c5aae6a').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
$obj1 =&#038; Singleton::instancia();
$obj1->accion = &#034;Imprimir&#034;;
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5aae6a">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5aae6a').style.display='block';document.getElementById('styled_synthi_4936b3c5aae6a').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$obj1</span> =&amp; Singleton::<span style="color: #006600;">instancia</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$obj1</span>-&gt;<span style="color: #006600;">accion</span> = <span style="color: #ff0000;">&quot;Imprimir&quot;</span>; </div>
</li>
</ol>
</div>
</div>
<p>Si imprimimos su valor:</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5ae96f">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5ae96f').style.display='block';document.getElementById('plain_synthi_4936b3c5ae96f').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
var_dump($obj1->accion);
// imprime: string(8) &#034;Imprimir&#034;
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5ae96f">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5ae96f').style.display='block';document.getElementById('styled_synthi_4936b3c5ae96f').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/var_dump"><span style="color: #000066;">var_dump</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$obj1</span>-&gt;<span style="color: #006600;">accion</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// imprime: string(8) &quot;Imprimir&quot; </span></div>
</li>
</ol>
</div>
</div>
<p>Creamos el objeto <code>obj2</code>:</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5b233f">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5b233f').style.display='block';document.getElementById('plain_synthi_4936b3c5b233f').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
$obj2 =&#038; Singleton::instancia();
$obj2->accion = &#034;Borrar&#034;;
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5b233f">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5b233f').style.display='block';document.getElementById('styled_synthi_4936b3c5b233f').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$obj2</span> =&amp; Singleton::<span style="color: #006600;">instancia</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$obj2</span>-&gt;<span style="color: #006600;">accion</span> = <span style="color: #ff0000;">&quot;Borrar&quot;</span>; </div>
</li>
</ol>
</div>
</div>
<p>¿Qué contenido tiene?</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5b55d0">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5b55d0').style.display='block';document.getElementById('plain_synthi_4936b3c5b55d0').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
var_dump($obj2->accion);
// imprime: string(6) &#034;Borrar&#034;
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5b55d0">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5b55d0').style.display='block';document.getElementById('styled_synthi_4936b3c5b55d0').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/var_dump"><span style="color: #000066;">var_dump</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$obj2</span>-&gt;<span style="color: #006600;">accion</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// imprime: string(6) &quot;Borrar&quot; </span></div>
</li>
</ol>
</div>
</div>
<p>Entonces ya tenemos dos objetos derivados de la clase Singleton los cuales al implementar dicho patrón deberamos tener UNA sola instancia, ¿pero esto se cumple?</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5b834e">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5b834e').style.display='block';document.getElementById('plain_synthi_4936b3c5b834e').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
echo $obj1->accion;
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5b834e">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5b834e').style.display='block';document.getElementById('styled_synthi_4936b3c5b834e').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #0000ff;">$obj1</span>-&gt;<span style="color: #006600;">accion</span>; </div>
</li>
</ol>
</div>
</div>
<p>¿Qué nos devuelve?</p>
<p><code><strong>Imprimir</strong></code></p>
<p>Como vemos nos regresa el valor &#8220;Imprimir&#8221; cuando <strong>estamos esperando que imprima &#8220;Borrar&#8221;</strong>.</p>
<p>Para solucionarlo basta con tocar una sola línea de código de la clase y cambiar la línea 7 por lo siguiente:</p>
<div class="synthi_code" style="display:none;" id ="plain_synthi_4936b3c5bb754">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('styled_synthi_4936b3c5bb754').style.display='block';document.getElementById('plain_synthi_4936b3c5bb754').style.display='none';return false">Show Styled Code</a>]:</span></div>
<pre style="width:100%;overflow:auto;">
$_instancia = new Singleton();
</pre>
</div>
<div class="synthi_code" style="display:block;" id ="styled_synthi_4936b3c5bb754">
<div class="synthi_header" style="font-weight:bold;"> PHP <span  class="synthi_button"style="font-weight:lighter;font-size:smaller;">[<a href="#" onClick="javascript:document.getElementById('plain_synthi_4936b3c5bb754').style.display='block';document.getElementById('styled_synthi_4936b3c5bb754').style.display='none';return false">Show Plain Code</a>]:</span></div>
<div class="php" style="font-family: monospace;">
<ol>
<li style="font-weight: bold;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$_instancia</span> = <span style="color: #000000; font-weight: bold;">new</span> Singleton<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
<p>Ahora si, nuestras pruebas saldrán correctas.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/-MDfrTpZ_9R6MtAN6q_pizqSpuE/a"><img src="http://feedads.googleadservices.com/~a/-MDfrTpZ_9R6MtAN6q_pizqSpuE/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=YE4EMaVW"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=10yoULbN"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=6dkCkoPB"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=dR8vgQa9"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/lrAG-XIXUsA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/patron-singleton-en-php4/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/patron-singleton-en-php4/</feedburner:origLink></item>
		<item>
		<title>2012</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/0DGKpBYXC3A/</link>
		<comments>http://blog.pecesama.net/google-search-2012/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 04:51:41 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[Videos]]></category>

		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284704</guid>
		<description><![CDATA[Sencillamente no tengo palabras para describir el siguiente vídeo:

Google Search: 2012
Vía: gonzalog (aunque use tumblr  )
Copyright &#169; 2008 Pecesama.Net [weblog]. El contenido de este feed pertenece a Pedro Santana   .]]></description>
			<content:encoded><![CDATA[<p>Sencillamente no tengo palabras para describir el siguiente vídeo:</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/DGDcuEL1NQc&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/DGDcuEL1NQc&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Google Search: <a title="2012 - Google Search" href="http://www.google.com/search?q=2012">2012</a></p>
<p>Vía: <a href="http://gonzalog.com/post/60228686">gonzalog</a> (aunque use tumblr <img src='http://blog.pecesama.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/LE1H5a4Cv1KfeeVRmT_gUUtV1C8/a"><img src="http://feedads.googleadservices.com/~a/LE1H5a4Cv1KfeeVRmT_gUUtV1C8/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=LlJgeBe5"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=KhYmakf7"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=cyG81330"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=Jhi1GTtK"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/0DGKpBYXC3A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/google-search-2012/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/google-search-2012/</feedburner:origLink></item>
		<item>
		<title>Televisión Digital Terrestre</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/dcyGXjZsVhk/</link>
		<comments>http://blog.pecesama.net/television-digital-terrestre/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 06:07:00 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[iDTV]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284701</guid>
		<description><![CDATA[¿Qué es la Televisión Digital Terrestre o TDT?

Hay que recordar que aunque vamos muy atrasados, en México ya comenzó la transición de analógico a digital, teniendo programado el apagón analógico para el 2021.
Copyright &#169; 2008 Pecesama.Net [weblog]. El contenido de este feed pertenece a Pedro Santana   .]]></description>
			<content:encoded><![CDATA[<p>¿Qué es la <a href="http://es.wikipedia.org/wiki/Televisi%C3%B3n_Digital_Terrestre">Televisión Digital Terrestre</a> o TDT?</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/hYwJosRMt4E&#038;hl=es&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/hYwJosRMt4E&#038;hl=es&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Hay que recordar que aunque vamos muy atrasados, <a href="http://dgsrt.sct.gob.mx/index.php?id=535">en México ya comenzó la transición de analógico a digital</a>, teniendo programado el <a href="http://es.wikipedia.org/wiki/Apag%C3%B3n_anal%C3%B3.ico"  rel="lightbox">apagón analógico</a> para el 2021.</p>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/RzTXwAIXQLiwvglhi3MSrgPhNAc/a"><img src="http://feedads.googleadservices.com/~a/RzTXwAIXQLiwvglhi3MSrgPhNAc/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=jRmH4sra"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=SAdLzlTu"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=9I0y8epL"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=jq21KOfo"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/dcyGXjZsVhk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/television-digital-terrestre/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/television-digital-terrestre/</feedburner:origLink></item>
		<item>
		<title>Ocio en pecesama.net</title>
		<link>http://feedproxy.google.com/~r/pecesama_blog/~3/csHMv2FZcfM/</link>
		<comments>http://blog.pecesama.net/ocio-en-pecesamanet/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 20:53:06 +0000</pubDate>
		<dc:creator>pecesama</dc:creator>
		
		<category><![CDATA[Humor]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://blog.pecesama.net/?p=725284689</guid>
		<description><![CDATA[Hay ocasiones en las que uno de repente se encuentra que esta bloqueado de trabajar, estudiar&#8230; ponga aquí de lo que este bloqueado &#8230; que se le viene a la mente &#8220;quiero distraerme un rato&#8220;, así que a procrastinar se ha dicho, pero suele ser complicado seleccionar entre tantas opciones posibles con que comenzar, así [...]]]></description>
			<content:encoded><![CDATA[<p>Hay ocasiones en las que uno de repente se encuentra que esta bloqueado de trabajar, estudiar&#8230; <em>ponga aquí de lo que este bloqueado</em> &#8230; que se le viene a la mente &#8220;<em>quiero distraerme un rato</em>&#8220;, así que a <a href="http://es.wikipedia.org/wiki/Procrastinaci%C3%B3n">procrastinar</a> se ha dicho, pero suele ser complicado seleccionar entre tantas opciones posibles con que comenzar, así que durante momentos en los que &#8220;<em>queria distraerme un rato</em>&#8221; me puse a crear un pequeño script PHP, que obtiene desde diferentes fuentes de feeds (que considero adecuadas para esa tarea) sus elementos y de forma completamente aleatoria me regresa un solo elemento cada que lo ejecuto, ahorrandome la tarea de tomar la decisión de por donde comenzar.</p>
<p>Por lo que nace <a href="http://ocio.pecesama.net/">Ocio en Pecesama.Net</a> el cual te redireccionará al elemento seleccionado.</p>
<p>Pensando que teclear la dirección puede ser tedioso he creado un bookmarklet para que sólo lo arrastres a tu barra del navegador.</p>
<p><a href="javascript:location.href='http://ocio.pecesama.net/';">Hora del ocio!!</a> == arrastralo al navegador.</p>
<p>Pero como se de antemano que mis lectores son más geeks que un simple bookmarklet he creado un comando para <a href="http://labs.mozilla.com/projects/ubiquity/">ubiquity</a> (gracias a <a href="http://www.raven.com.ar/">Jorge Condomí</a> por la ayuda), así que si lo tienes instalado en tu firefox, solo pasa por <a href="http://www.pecesama.net/">mi home</a> y registralo. No olvides indicarle que <strong>se actualice automáticamente</strong> para que siempre tengas el comando actualizado.</p>
<p>La forma de uso es: <code>ocio [enter]</code> o bien: <code>ocio html [enter]</code> esta última opción te dará un enlace HTML</p>
<p>Recuerda que si tienes seleccionada la barra de direcciones del navegador automáticamente te la cambiará por la dirección obtenida.</p>
<p>Para tener las cosas mas sencillas con ubiquity cree una API simple, la cual si te interesa usarla desde cualquier otro lugar la encuentras en:</p>
<p><code>http://ocio.pecesama.net/api.php</code></p>
<p>Para que te regrese el enlace con formato HTML usa:</p>
<p><code>http://ocio.pecesama.net/api.php?type=html</code></p>
<p>Por último los feeds que esta usando esta sección son (si tienes más fuentes que recomiendes dejalas en los comentarios):</p>
<ul>
<li>digg popular images</li>
<li>digg comedy images</li>
<li>digg popular videos</li>
<li>Meneame ocio</li>
<li>Flickr explore</li>
<li>Popular PHP on delicious</li>
<li>Popular javascript on delicious</li>
<li>Popular jquery on delicious</li>
<li>Popular humor on delicious</li>
<li>Lolcats</li>
<li>HumorGeek</li>
<li>The fail blog</li>
<li>Gardfield</li>
<li>Montt</li>
<li>Youtube popular</li>
<li>Dilbert</li>
<li>WTF Microsiervos</li>
</ul>
<hr/>Copyright &copy; 2008 <strong><a href="http://blog.pecesama.net">Pecesama.Net [weblog]</a></strong>. El contenido de este feed pertenece a <a href="http://www.pecesama.net/weblog/">Pedro Santana</a>   .
<p><a href="http://feedads.googleadservices.com/~a/5qTHe_KLy61sXY12yhW8AHXpIuc/a"><img src="http://feedads.googleadservices.com/~a/5qTHe_KLy61sXY12yhW8AHXpIuc/i" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feedproxy.google.com/~f/pecesama_blog?a=0iUE8QRy"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=181" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=P1BESy8i"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=50" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=KEVH4oVj"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/pecesama_blog?a=I1b6CCV2"><img src="http://feedproxy.google.com/~f/pecesama_blog?d=52" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/pecesama_blog/~4/csHMv2FZcfM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.pecesama.net/ocio-en-pecesamanet/feed/</wfw:commentRss>
		<feedburner:origLink>http://blog.pecesama.net/ocio-en-pecesamanet/</feedburner:origLink></item>
	</channel>
</rss>
