<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Netlex Toolbox</title>
	<atom:link href="http://netlex.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://netlex.wordpress.com</link>
	<description>boîte à outils - tools and playground</description>
	<lastBuildDate>Fri, 30 Oct 2009 22:19:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='netlex.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d2b50cbaaa14cb5b2cea3bfef378d7f1?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Netlex Toolbox</title>
		<link>http://netlex.wordpress.com</link>
	</image>
			<item>
		<title>Snippets</title>
		<link>http://netlex.wordpress.com/2009/10/31/snippets/</link>
		<comments>http://netlex.wordpress.com/2009/10/31/snippets/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 22:19:20 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/?p=61</guid>
		<description><![CDATA[   1.
Popular Posts
   2.

   3. get_results(&#8220;SELECT comment_count,ID,post_title FROM $wpdb-&#62;posts ORDER BY comment_count DESC LIMIT 0 , 5&#8243;);
   4. foreach ($result as $post) {
   5. setup_postdata($post);
   6. $postid = $post-&#62;ID;
   7. $title = $post-&#62;post_title;
   8. $commentcount = $post-&#62;comment_count;
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=61&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2009/10/31/snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Show recent post by category</title>
		<link>http://netlex.wordpress.com/2009/10/08/show-recent-post-by-category/</link>
		<comments>http://netlex.wordpress.com/2009/10/08/show-recent-post-by-category/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 00:30:28 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2009/10/08/show-recent-post-by-category/</guid>
		<description><![CDATA[

- Show recent Posts

&#160;&#160;&#160; &#60;h2&#62;Recent Posts&#60;/h2&#62;
&#160;&#160;&#160; &#60;ul&#62;&#160;&#160;&#160; &#60;?php get_archives(&#8216;postbypost&#8217;, 6); ?&#62;&#160;&#160;&#160; &#60;/ul&#62;
- Show recent posts from specific category ?
&#160;&#160;&#160; &#60;ul&#62;&#160;&#160;&#160; &#60;?php $recent = new WP_Query(&#8220;cat=1&#38;showposts=5&#8243;); &#160;&#160;&#160; while($recent-&#62;have_posts()) : $recent-&#62;the_post();?&#62;&#160;&#160;&#160; &#60;li&#62;&#60;a href=&#8221;&#60;?php the_permalink() ?&#62;&#8221; rel=&#8221;bookmark&#8221;&#62;&#160;&#160;&#160; &#60;?php the_title(); ?&#62;&#160;&#160;&#160; &#60;/a&#62;&#60;/li&#62;&#160;&#160;&#160; &#60;?php endwhile; ?&#62;&#160;&#160;&#160; &#60;/ul&#62;




  Posted via email   from Netlex&#8217;s codebox  
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=58&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2009/10/08/show-recent-post-by-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>WP : loop full article + excerpt</title>
		<link>http://netlex.wordpress.com/2009/10/08/wp-loop-full-article-excerpt/</link>
		<comments>http://netlex.wordpress.com/2009/10/08/wp-loop-full-article-excerpt/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 23:36:55 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[loop]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2009/10/08/wp-loop-full-article-excerpt/</guid>
		<description><![CDATA[


&#60;?php if (have_posts()) : ?&#62;&#160;&#160;&#160; &#60;?php $count = 0; ?&#62;
&#160;&#160;&#160;
&#160;&#160;&#160; &#60;?php while (have_posts()) : the_post(); ?&#62;&#160;&#160;&#160; &#160;&#160;&#160; &#60;?php $count++; ?&#62;
&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;h3&#62;Title: &#60;/h3&#62;&#160;&#160;&#160; &#160;&#160;&#160; &#60;h4&#62;Date: &#60;?php echo date(&#8220;l, F d, Y&#8221;); ?&#62; &#124; &#60;?php comments_number(); ?&#62;&#60;/h4&#62;
&#160;&#160;&#160; &#160;&#160;&#160; &#60;?php if ($count == 1) : ?&#62;
&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#60;?php the_content(); ?&#62; // display the full [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=54&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2009/10/08/wp-loop-full-article-excerpt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Hacks 4 WordPress</title>
		<link>http://netlex.wordpress.com/2009/06/15/hacks-4-wordpress/</link>
		<comments>http://netlex.wordpress.com/2009/06/15/hacks-4-wordpress/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 14:12:25 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2009/06/15/hacks-4-wordpress/</guid>
		<description><![CDATA[1.
Popular Posts
   2.

   3. get_results(&#8220;SELECT comment_count,ID,post_title FROM $wpdb-&#62;posts ORDER BY comment_count DESC LIMIT 0 , 5&#8243;);
   4. foreach ($result as $post) {
   5. setup_postdata($post);
   6. $postid = $post-&#62;ID;
   7. $title = $post-&#62;post_title;
   8. $commentcount = $post-&#62;comment_count;
   9. if ($commentcount [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=46&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2009/06/15/hacks-4-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Post thumbnails with WordPress 2.5</title>
		<link>http://netlex.wordpress.com/2008/04/13/post-thumbnails-with-wordpress-25/</link>
		<comments>http://netlex.wordpress.com/2008/04/13/post-thumbnails-with-wordpress-25/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 20:13:43 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/?p=45</guid>
		<description><![CDATA[Adding Post Thumbnails in WordPress 2.5
Thumbnail For Your WordPress 2.5 Posts
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=45&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2008/04/13/post-thumbnails-with-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Mysql + tableaux</title>
		<link>http://netlex.wordpress.com/2006/10/18/mysql-tableaux/</link>
		<comments>http://netlex.wordpress.com/2006/10/18/mysql-tableaux/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 19:26:25 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2006/10/18/mysql-tableaux/</guid>
		<description><![CDATA[Compteur

  if (count($TABLEAU)&#62;0):
       ksort($TABLEAU);
       While (List($KEY,$VALUE)=each($TABLEAU)):
             echo (&#8220;$KEY -&#62; $VALUE&#8221;);
       EndWhile;
   Endif;
Les tableaux php
_______________________
# connection SQL et ouverture de la base
mysql_connect(&#8220;localhost&#8221;,&#8221;root&#8221;,&#8221;");
mysql_select_db(&#8220;test&#8221;);
$res  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=42&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2006/10/18/mysql-tableaux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Bash script and cron (Cgi + Perl + Cron)</title>
		<link>http://netlex.wordpress.com/2006/10/18/bash-script-and-cron-cgi-perl-cron/</link>
		<comments>http://netlex.wordpress.com/2006/10/18/bash-script-and-cron-cgi-perl-cron/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 19:14:15 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[Perl-Cgi]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2006/10/18/bash-script-and-cron-cgi-perl-cron/</guid>
		<description><![CDATA[&#8220;TUTORIAL / www.cgi-interactive-uk.com
Bash Shell Script (mysqlbackup)
#!/bin/sh
mysqldump -uroot -ppwd &#8211;opt db1 &#62; /sqldata/db1.sql
mysqldump -uroot -ppwd &#8211;opt db2 &#62; /sqldata/db2.sql
cd /sqldata/
tar -zcvf sqldata.tgz *.sql
cd /scripts/
perl emailsql.cgi
The first mysqldump statement has 4 parameters passed to it :-
    *  -u = your MySQL username. (substitute root with your username)
    *  -p [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=41&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2006/10/18/bash-script-and-cron-cgi-perl-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Client-side and Server-side encoding</title>
		<link>http://netlex.wordpress.com/2006/10/15/client-side-and-server-side-encoding/</link>
		<comments>http://netlex.wordpress.com/2006/10/15/client-side-and-server-side-encoding/#comments</comments>
		<pubDate>Sun, 15 Oct 2006 20:08:15 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2006/10/15/client-side-and-server-side-encoding/</guid>
		<description><![CDATA[Récupérer les accents français quand MySql parle latin&#8230; au lieu de UTF-8
Apache Server 2.0.54
PHP 5.0.4
MySQL 4.1.12
and WordPress 1.5.1.3
The problem all originates from MySQL 4.1
version 4.1 MySQL supports different language encodings
problem : &#8220;Client&#8221; encoding language and the &#8220;Server&#8221; encoding language.
The &#8220;Client&#8221; was set to Latin-1 encoding
The &#8220;Server&#8221; was set to UTF-8
&#8220;MySQL tries to translate from one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=40&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2006/10/15/client-side-and-server-side-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>Character Encoding + Transformation</title>
		<link>http://netlex.wordpress.com/2006/10/09/character-encoding-transformation/</link>
		<comments>http://netlex.wordpress.com/2006/10/09/character-encoding-transformation/#comments</comments>
		<pubDate>Mon, 09 Oct 2006 11:24:30 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2006/10/09/character-encoding-transformation/</guid>
		<description><![CDATA[After the damage has occured, the best way, it seems, to clean this up is to run multiple SQL queries in the phpmyadmin console emulating find/replace on the wp_posts table:

    UPDATE wp_posts SET post_content = replace(post_content, “bad”, “good”)
Gestion des accents français
1/ exporter sous MySQL dans le bon encodage (sous wordpress, généralement UTF-8).
2/ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=38&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2006/10/09/character-encoding-transformation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAHT</title>
		<link>http://netlex.wordpress.com/2006/10/01/ajaht/</link>
		<comments>http://netlex.wordpress.com/2006/10/01/ajaht/#comments</comments>
		<pubDate>Sun, 01 Oct 2006 18:55:42 +0000</pubDate>
		<dc:creator>netlex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://netlex.wordpress.com/2006/10/01/ajaht/</guid>
		<description><![CDATA[&#8220;What&#8217;s in a name? That which we call a rose
By any other word would smell as sweet.&#8221;
                                       [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=netlex.wordpress.com&blog=158786&post=35&subd=netlex&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://netlex.wordpress.com/2006/10/01/ajaht/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c8cdaff53812fa840c3bae521722b0b3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netlex</media:title>
		</media:content>
	</item>
	</channel>
</rss>