<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>davidalfonso.es &#187; wordpress</title>
	<atom:link href="http://www.davidalfonso.es/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.davidalfonso.es</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 19:18:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cómo usar la fuente que quieras en tu web</title>
		<link>http://www.davidalfonso.es/desarrollo-software/como-usar-la-fuente-que-quieras-en-tu-web</link>
		<comments>http://www.davidalfonso.es/desarrollo-software/como-usar-la-fuente-que-quieras-en-tu-web#comments</comments>
		<pubDate>Fri, 05 Feb 2010 15:29:46 +0000</pubDate>
		<dc:creator>David Alfonso</dc:creator>
				<category><![CDATA[Desarrollo de Software]]></category>
		<category><![CDATA[cufon]]></category>
		<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[scenic sanity]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.davidalfonso.es/?p=130</guid>
		<description><![CDATA[A raíz del tema de WordPress que utilizo en esta web (Scenic Sanity), he descubierto un nuevo invento que permite transformar tu fuente de toda la vida (y que sólo tienes tú en tu pc) en un fichero javascript que &#8230; <a href="http://www.davidalfonso.es/desarrollo-software/como-usar-la-fuente-que-quieras-en-tu-web">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A raíz del tema de WordPress que utilizo en esta web (Scenic Sanity), he descubierto un nuevo invento que permite transformar tu fuente de toda la vida (y que sólo tienes tú en tu pc) en un fichero javascript que podrás incluir en tu web. Es un milagro.</p>
<p>La idea de mezclar estas tecnologías ha sido del señor <a href="http://cufon.shoqolate.com/generate/">Cufón</a>. Con su ayuda podrás generar fuentes y descargarte el renderer para incluirlo en tu web. Si quieres ver cómo queda, échale un ojo al código fuente de esta página.</p>
<p>Si estás usando el tema Scenic Sanity y <strong>no te salen los acentos</strong>, tranquilo, todo tiene arreglo. Como yo ya me las he apañado para buscar la fuente y volver a generarla con los parámetros adecuados, ¿para qué lo vas a volver a hacer tú? Mejor <a href="http://www.davidalfonso.es/wp-content/themes/scenic-sanity/js/TitilliumText14L_300.font.js">déscargate mi fichero</a> y súbelo a tu web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidalfonso.es/desarrollo-software/como-usar-la-fuente-que-quieras-en-tu-web/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to select which albums to display using Flickr Photo Album</title>
		<link>http://www.davidalfonso.es/desarrollo-software/how-to-select-which-albums-to-display-using-flickr-photo-album</link>
		<comments>http://www.davidalfonso.es/desarrollo-software/how-to-select-which-albums-to-display-using-flickr-photo-album#comments</comments>
		<pubDate>Sun, 08 Mar 2009 17:23:57 +0000</pubDate>
		<dc:creator>David Alfonso</dc:creator>
				<category><![CDATA[Desarrollo de Software]]></category>
		<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://davidalfonso.es/?p=57</guid>
		<description><![CDATA[I&#8217;m using the Flickr Photo Album plugin for WordPress in another web page which I&#8217;ve recently had to update to WP2.7.1.  So I decided to update also the mentioned plugin to version 1.1. The updating process was smooth, but I &#8230; <a href="http://www.davidalfonso.es/desarrollo-software/how-to-select-which-albums-to-display-using-flickr-photo-album">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using the <a href="http://tantannoodles.com/toolkit/photo-album/">Flickr Photo Album</a> plugin for <a href="http://www.wordpress.org">WordPress</a> in another web page which I&#8217;ve recently <strong>had to update to WP2.7.1</strong>.  So I decided to update also the mentioned plugin to <strong>version 1.1</strong>. The updating process was smooth, but I realized <strong>there was a set (album) I didn&#8217;t want to show</strong> in my web&#8230; so I asked myself:</p>
<p><a href="http://www.flickr.com/groups/tantannoodles/discuss/72057594101590571/?search=select+albums">Can you select which albums to display?</a></p>
<p>The answer was neither clear nor clean, that&#8217;s why I decided to explore the plugin code in order to find the exact point where I could filter which albums to show. And I found it. Of course there were other points, but this one satisfied both requirements:</p>
<ul>
<li>To affect every place where albums were used.</li>
<li>Not to modify the internal code which connects to Flickr.</li>
</ul>
<p>The file where this could be done was <strong>flickr/lib.flickr.php</strong>, exactly in the <strong>getAlbums()</strong> method:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"> <span style="color: #000000; font-weight: bold;">function</span> getAlbums<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$albums</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>photosets_getList<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$visible_albums</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'123456789'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'123456789'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'123456789'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'123456789'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$return</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$albums</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'photoset'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$albums</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'photoset'</span><span style="color: #009900;">&#93;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$album</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">in_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$visible_albums</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'description'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'description'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'primary'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'primary'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'photos'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'photos'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pagename2'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>_sanitizeTitle<span style="color: #009900;">&#40;</span><span style="color: #000088;">$album</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pagename'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pagename2'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'.html'</span><span style="color: #339933;">;</span>
                <span style="color: #000088;">$return</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$row</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$return</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span></pre></div></div>

<p>It&#8217;s as easy as fill the <strong>visible_albums</strong> array with the ids of the albums you want to show. If in doubt just comment on this post and I&#8217;ll try to help you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidalfonso.es/desarrollo-software/how-to-select-which-albums-to-display-using-flickr-photo-album/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading from Contact Form ][ to Contact Form 7</title>
		<link>http://www.davidalfonso.es/desarrollo-software/upgrading-from-contact-form-to-contact-form-7</link>
		<comments>http://www.davidalfonso.es/desarrollo-software/upgrading-from-contact-form-to-contact-form-7#comments</comments>
		<pubDate>Mon, 16 Feb 2009 19:34:59 +0000</pubDate>
		<dc:creator>David Alfonso</dc:creator>
				<category><![CDATA[Desarrollo de Software]]></category>
		<category><![CDATA[meta-post]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://davidalfonso.es/?p=35</guid>
		<description><![CDATA[I was updating my wordpress installation due to my host&#8217;s &#8220;suggestion&#8221; of doing it, when I realized that the plugins I was using were not in the list of supported plugins &#8230; I gave them up and downloaded some new &#8230; <a href="http://www.davidalfonso.es/desarrollo-software/upgrading-from-contact-form-to-contact-form-7">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was updating my wordpress installation due to <a href="http://www.dreamhost.com">my host&#8217;s </a> &#8220;suggestion&#8221; of doing it, when I realized that the plugins I was using were not in the <a href="http://codex.wordpress.org/Plugins/Plugin_Compatibility/2.7">list of supported plugins</a> &#8230; I gave them up and downloaded some new plugins which had the same features. Nevertheless, after finding Contact Form 7 really unusable for a neophyte (if I don&#8217;t fancy spending two hours configuring something, then I&#8217;m a neophyte) I decided to try my old/unsupported/exile plugin: <a href="http://chip.cuccio.us/projects/contact-form-ii/">Contact Form ][</a> . It turned out that it worked smoothly!</p>
<p>Conclusion: Sometimes it&#8217;s better not to follow <a href="http://codex.wordpress.org/Upgrading_WordPress_Extended">the rules</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidalfonso.es/desarrollo-software/upgrading-from-contact-form-to-contact-form-7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

