<?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:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Latest posts from “UG PicandoCódigo - Foro de programación y software libre” board.</title>
	<description>Latest posts from “UG PicandoCódigo - Foro de programación y software libre” board.</description>
	<link>http://foro.picandocodigo.net/index.php</link>
	
	<lastBuildDate>Sat, 12 Sep 2009 11:48:37 -0500</lastBuildDate>

			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/foropicandocodigo" type="application/rss+xml" /><feedburner:emailServiceId>foropicandocodigo</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>
			<dc:creator>Fernando</dc:creator>
			<pubDate>Thu, 05 Nov 2009 20:40:36 -0600</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1055#p1055</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/FLLo61aIKY4/viewtopic.php</link>
			<title>Re: List Category Posts WordPress Plugin support</title>
			<description>Levi:&lt;br /&gt;
Thanks a lot for your code.  &lt;img src="http://foro.picandocodigo.net/images/smilies/005.gif" alt=":pene:" title="Pene, pero feliz" /&gt; &lt;br /&gt;
&lt;br /&gt;
I'll add this on a future release of List Category Posts.&lt;br /&gt;
&lt;br /&gt;
Regards!&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/FLLo61aIKY4" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1055#p1055</feedburner:origLink></item>
			<item>
			<dc:creator>leviv</dc:creator>
			<pubDate>Thu, 05 Nov 2009 19:35:10 -0600</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1054#p1054</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/m4yrDu-DxIg/viewtopic.php</link>
			<title>Re: List Category Posts WordPress Plugin support</title>
			<description>Hey yo Glassy and Nando...&lt;br /&gt;
&lt;br /&gt;
Here is the fix for the offset that Glassy is asking about...&lt;br /&gt;
&lt;br /&gt;
Glassy, what you really mean is that the posts that are listed are those which are already been showed, so in order to avoid that I reprogrammed the plugin to use the offset function of the :&lt;br /&gt;
&lt;br /&gt;
Offset Parameter&lt;br /&gt;
&lt;br /&gt;
You can displace or pass over one or more initial posts which would normally be collected by your query through the use of the offset parameter.&lt;br /&gt;
&lt;br /&gt;
The following will display the 5 posts which follow the most recent (1): &lt;br /&gt;
&lt;br /&gt;
&lt;div class="codewrapper"&gt;&lt;div class="codetitle"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;&lt;div class="codecontent"&gt;query_posts('posts_per_page=5&amp;amp;offset=1');&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
as stated in the wp CODEX site:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://codex.wordpress.org/Template_Tags/query_posts#Parameters" class="postlink"&gt;http://codex.wordpress.org/Template_Tags/query_posts#Parameters&lt;/a&gt;&lt;br /&gt;
Scroll all the way down to offset..&lt;br /&gt;
&lt;br /&gt;
So the fix is to add a new parameter:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="codewrapper"&gt;&lt;div class="codetitle"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;&lt;div class="codecontent"&gt;'offset' =&amp;gt; '4',&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
and to send that parameter to the query_post():&lt;br /&gt;
&lt;div class="codewrapper"&gt;&lt;div class="codetitle"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;&lt;div class="codecontent"&gt;&amp;nbsp; &amp;nbsp;'&amp;amp;offset=' . $atts&amp;#91;'offset'&amp;#93; );&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
and to add that parameter to the code:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="codewrapper"&gt;&lt;div class="codetitle"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;&lt;div class="codecontent"&gt;&amp;#91;catlist ID=1 numberposts=5 excerpt=yes date=yes offset=4&amp;#93;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
This will list all the post starting at the 4th post on the cat id 1, all you need to do is.. can you count?&lt;br /&gt;
&lt;br /&gt;
The final fix to the plugin shows as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="codewrapper"&gt;&lt;div class="codetitle"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;&lt;div class="codecontent"&gt;function catlist_func($atts, $content=null) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp;$atts=shortcode_atts(array(&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'id' =&amp;gt; '0',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'name' =&amp;gt; 'default',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'orderby' =&amp;gt; 'date',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'order' =&amp;gt; 'desc',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'offset' =&amp;gt; '4', //Permite especificar un offset para comensar a listar los posts, contribucion por Levi Vasquez&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'numberposts' =&amp;gt; '5',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'date' =&amp;gt; 'no',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'author' =&amp;gt; 'no',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'dateformat' =&amp;gt; get_option('date_format'), //By Verex&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'template' =&amp;gt; 'default',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'excerpt' =&amp;gt; 'no',&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'exclude' =&amp;gt; '0'&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;), $atts);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;return list_category_posts($atts);&lt;br /&gt;
}&lt;br /&gt;
add_shortcode('catlist', 'catlist_func');&lt;br /&gt;
&lt;br /&gt;
function list_category_posts($atts){&lt;br /&gt;
&amp;nbsp; &amp;nbsp;if($atts&amp;#91;'name'&amp;#93;!='default' &amp;amp;&amp;amp; $atts&amp;#91;'id'&amp;#93;!='0'){&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;$category = 'category_name=' . $atts&amp;#91;'name'&amp;#93;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}else{&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;$category = 'cat=' . $atts&amp;#91;'id'&amp;#93;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp; &amp;nbsp;//Build the query for get_posts()&lt;br /&gt;
&amp;nbsp; &amp;nbsp;$catposts = get_posts($category.'&amp;amp;numberposts=' . $atts&amp;#91;'numberposts'&amp;#93; .&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'&amp;amp;orderby=' . $atts&amp;#91;'orderby'&amp;#93; .&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'&amp;amp;order=' . $atts&amp;#91;'order'&amp;#93; .&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;'&amp;amp;offset=' . $atts&amp;#91;'offset'&amp;#93; ); //Permite especificar un offset para comensar a listar los posts, contribucion por Levi Vasquez&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Cheers mates!!!!&lt;br /&gt;
&lt;br /&gt;
Levi.&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/m4yrDu-DxIg" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1054#p1054</feedburner:origLink></item>
			<item>
			<dc:creator>Glass4242</dc:creator>
			<pubDate>Mon, 02 Nov 2009 06:31:47 -0600</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1053#p1053</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/whtnidYkRZU/viewtopic.php</link>
			<title>Re: List Category Posts WordPress Plugin support</title>
			<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I had been looking for an answer to a question I had and the answer WAS in the comments but since they were removed, I can't find the answer now.&lt;br /&gt;
&lt;br /&gt;
The problem I am having is that when the plugin generates the list, it also puts the pages that the list is on IN the list. Can this be disabled or removed?&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/whtnidYkRZU" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1053#p1053</feedburner:origLink></item>
			<item>
			<dc:creator>vivazzii</dc:creator>
			<pubDate>Sun, 01 Nov 2009 10:50:12 -0600</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=22&amp;p=1052#p1052</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/P31uFWV_Jfk/viewtopic.php</link>
			<title>Se busca programador / a Web</title>
			<description>Para proyecyo web. Necesitarás amplios conocimientos en php y Mysql, quizá javascript.  Si vives en Madrid mejor, aunque no excluyente.&lt;br /&gt;
&lt;br /&gt;
Escribe contando brevemente experiencia y aportando algunas urls de trabajos a&lt;br /&gt;
&lt;br /&gt;
jbcvip arroba gmail punto com&lt;br /&gt;
&lt;br /&gt;
Anuncio serio. Saludos&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/P31uFWV_Jfk" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=22&amp;p=1052#p1052</feedburner:origLink></item>
			<item>
			<dc:creator>Fernando</dc:creator>
			<pubDate>Tue, 27 Oct 2009 22:28:45 -0500</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1051#p1051</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/W1oGwdfwMk8/viewtopic.php</link>
			<title>List Category Posts WordPress Plugin new features request</title>
			<description>This is a topic for users of &lt;span style="font-weight: bold"&gt;&lt;a href="http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/" class="postlink"&gt;List Category Posts&lt;/a&gt;&lt;/span&gt; to post their feature requests for the plugin.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=fernandobt" class="postlink"&gt;&lt;img src="http://www.hostgator.com/affiliates/banners/hostgator2-220x240.gif" alt="Imagen" /&gt;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/W1oGwdfwMk8" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1051#p1051</feedburner:origLink></item>
			<item>
			<dc:creator>Fernando</dc:creator>
			<pubDate>Tue, 27 Oct 2009 22:26:48 -0500</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1050#p1050</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/9VeUo1A-EzM/viewtopic.php</link>
			<title>List Category Posts WordPress Plugin support</title>
			<description>This is a topic for users of &lt;span style="font-weight: bold"&gt;&lt;a href="http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/" class="postlink"&gt;List Category Posts&lt;/a&gt;&lt;/span&gt; to post their questions on how to use, hack or acheive new workarounds on the plugin. &lt;br /&gt;
&lt;br /&gt;
If you consider it necessary, feel free to open a new topic on the WordPress forum about List Category Posts.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=fernandobt" class="postlink"&gt;&lt;img src="http://www.hostgator.com/affiliates/banners/hostgator2-220x240.gif" alt="Imagen" /&gt;&lt;/a&gt;&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/9VeUo1A-EzM" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=27&amp;p=1050#p1050</feedburner:origLink></item>
			<item>
			<dc:creator>traveler</dc:creator>
			<pubDate>Tue, 20 Oct 2009 13:17:08 -0500</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=24&amp;p=1049#p1049</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/mJ0huz12tUc/viewtopic.php</link>
			<title>Re: ¿Qué notebook conviene?</title>
			<description>Mira las HP hoy en dia estan levantando abundante &lt;img src="http://foro.picandocodigo.net/images/smilies/ani_smb3_raccoonmario.gif" alt=":mario2:" title="Mario" /&gt; ... de todas formas no dejo de opinar que SONY es marca lider a mi parecer... hay un local en montevideo que es importador y tiene sony hp dell gateway toshiba.... todo.. y un respaldo espectacular... googlealo.... zona laptop... los mejores precios tienen yo ya compre 2 laptops ahi entra a su web! &lt;img src="http://foro.picandocodigo.net/images/smilies/guitarra.gif" alt=":punk:" title="Punk" /&gt;&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/mJ0huz12tUc" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=24&amp;p=1049#p1049</feedburner:origLink></item>
			<item>
			<dc:creator>Esgrimidor</dc:creator>
			<pubDate>Fri, 25 Sep 2009 19:25:36 -0500</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=20&amp;p=1048#p1048</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/PJREeoki7eM/viewtopic.php</link>
			<title>Variable en un archivo de texto</title>
			<description>Variable en un archivo de texto&lt;br /&gt;
&lt;br /&gt;
Tengo un archivo de texto : micontrol.txt&lt;br /&gt;
&lt;br /&gt;
que tiene en la primera línea : 125.09&lt;br /&gt;
&lt;br /&gt;
ese es el valor de una variable.&lt;br /&gt;
&lt;br /&gt;
Esa variable va en una ruta : X:\Mis documentos\125.09\125.09.proyecto.doc&lt;br /&gt;
&lt;br /&gt;
Tengo que lanzar un programita bat o vbs desde varios sitios y me gustaría saber cómo puedo &amp;quot;sacar&amp;quot; la variable con el script y proponerla en la ruta.....&lt;br /&gt;
&lt;br /&gt;
Gracias&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/PJREeoki7eM" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=20&amp;p=1048#p1048</feedburner:origLink></item>
			<item>
			<dc:creator>HacKreatorz</dc:creator>
			<pubDate>Sat, 12 Sep 2009 14:42:28 -0500</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=18&amp;p=1047#p1047</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/K8nRUlgHsCs/viewtopic.php</link>
			<title>Re: Encuesta: ¿Le cambiamos el nombre a Case Else?</title>
			<description>Ami me encanta lo de Case Else, me parece un nombre muy ingenioso. No lo quites!! &lt;img src="http://foro.picandocodigo.net/images/smilies/icon_e_biggrin.gif" alt=":D" title="Muy Feliz" /&gt;&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/K8nRUlgHsCs" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=18&amp;p=1047#p1047</feedburner:origLink></item>
			<item>
			<dc:creator>andrescanavesi</dc:creator>
			<pubDate>Sat, 12 Sep 2009 11:48:37 -0500</pubDate>
			<guid isPermaLink="false">http://foro.picandocodigo.net/viewtopic.php?f=24&amp;p=1046#p1046</guid>
			<link>http://feedproxy.google.com/~r/foropicandocodigo/~3/IrjnfLxrwRs/viewtopic.php</link>
			<title>Vendo Notebook a 399 dólares</title>
			<description>Pueden  ver mas detalles en el siguiente link: &lt;!-- m --&gt;&lt;a class="postlink" href="http://andrescanavesi.com.uy/blog/vendo-notebook-olidata-399-dolares/"&gt;http://andrescanavesi.com.uy/blog/vendo ... 9-dolares/&lt;/a&gt;&lt;!-- m --&gt;&lt;img src="http://feeds.feedburner.com/~r/foropicandocodigo/~4/IrjnfLxrwRs" height="1" width="1"/&gt;</description>
		<feedburner:origLink>http://foro.picandocodigo.net/viewtopic.php?f=24&amp;p=1046#p1046</feedburner:origLink></item>
	</channel>
</rss>
