<?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>N47</title>
	<atom:link href="http://www.n47.fr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.n47.fr</link>
	<description>Street-art, musique, graphisme, wear et web</description>
	<lastBuildDate>Wed, 16 May 2012 21:55:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Ne jamais dire non au Panda et à son fromage !</title>
		<link>http://www.n47.fr/2012/05/16/ne-jamais-dire-non-au-panda-et-a-son-fromage/</link>
		<comments>http://www.n47.fr/2012/05/16/ne-jamais-dire-non-au-panda-et-a-son-fromage/#comments</comments>
		<pubDate>Wed, 16 May 2012 21:55:55 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Perles du net]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=398</guid>
		<description><![CDATA[Bon délire la pub ! Je vous laisse méditer !]]></description>
			<content:encoded><![CDATA[<p>Bon délire la pub ! Je vous laisse méditer !</p>
<p><iframe src="http://www.youtube.com/embed/BoIJUApLKOg" frameborder="0" width="620" height="388"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/05/16/ne-jamais-dire-non-au-panda-et-a-son-fromage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coupon/code de réduction/Parrainage VistaPrint</title>
		<link>http://www.n47.fr/2012/05/16/couponcode-de-reductionparainage-vistaprint/</link>
		<comments>http://www.n47.fr/2012/05/16/couponcode-de-reductionparainage-vistaprint/#comments</comments>
		<pubDate>Wed, 16 May 2012 07:46:33 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Coupons réduction - Codes promo]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=390</guid>
		<description><![CDATA[Grâce à ce lien de parrainage, je vous propose de bénéficier de promotions spéciales sur votre première commande sur VistaPrint]]></description>
			<content:encoded><![CDATA[<p>Grâce à ce lien de parrainage, je vous propose de bénéficier de promotions spéciales sur votre première commande sur VistaPrint</p>
    	    <div class="coupon_box">
	
					<span class="coupon_name">-25% sur VistaPrint</span>
							<div class="coupon_description"></div>
							<div class="coupon_date"><span>Expires: </span><span>Never Expires</span></div>
					
        <div id="coupon-container-3-249194077" class="coupon_container">
            <div unselectable="on" onselectstart="return false;" ondragstart="return false;"  id="coupon-3-249194077"  class="coupon" href="http://www.vistaprint.fr/frffr?frf=980421828042">
				<span>Bénéficiez de promotions parrainages</span>
				<div class="hover-message">
					Click To Open/Copy
				</div>
			</div>
        </div>
		
		    </div>
    
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/05/16/couponcode-de-reductionparainage-vistaprint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coupon/réduction 10€ sur tout Priceminister</title>
		<link>http://www.n47.fr/2012/05/16/couponreduction-10e-sur-tout-priceminister/</link>
		<comments>http://www.n47.fr/2012/05/16/couponreduction-10e-sur-tout-priceminister/#comments</comments>
		<pubDate>Wed, 16 May 2012 07:30:07 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Coupons réduction - Codes promo]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=386</guid>
		<description><![CDATA[10€ offert sur tout Priceminister, réservé aux 2000 premiers utilisateurs et pour 60€ d&#8217;achat minimum.]]></description>
			<content:encoded><![CDATA[<p>10€ offert sur tout Priceminister, réservé aux 2000 premiers utilisateurs et pour 60€ d&#8217;achat minimum.</p>
    	    <div class="coupon_box">
	
					<span class="coupon_name">10€ offert sur Priceminister</span>
							<div class="coupon_description"></div>
							<div class="coupon_date"><span>Expires: </span><span>05/18/2012</span></div>
					
        <div id="coupon-container-2-1339745767" class="coupon_container">
            <div unselectable="on" onselectstart="return false;" ondragstart="return false;"  id="coupon-2-1339745767"  class="coupon" href="http://www.priceminister.com">
				<span>FFANMA10</span>
				<div class="hover-message">
					Click To Open/Copy
				</div>
			</div>
        </div>
		
					<div class="coupon_message">
				Cette offre est terminée.			</div>
		    </div>
    
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/05/16/couponreduction-10e-sur-tout-priceminister/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coupon/code promo pour RueDuCommerce</title>
		<link>http://www.n47.fr/2012/05/09/couponcode-promo-pour-rueducommerce/</link>
		<comments>http://www.n47.fr/2012/05/09/couponcode-promo-pour-rueducommerce/#comments</comments>
		<pubDate>Wed, 09 May 2012 07:51:00 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Coupons réduction - Codes promo]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=370</guid>
		<description><![CDATA[Voici un code promo qui vous permettra de bénéficier de la livraison offerte sur votre prochaine commande High-Tech, soit 9€ offerts pour toute commande d’un montant supérieur à 180€. Valable jusqu’au 04/06/2012.]]></description>
			<content:encoded><![CDATA[<p>Voici un code promo qui vous permettra de bénéficier de la livraison offerte sur votre prochaine commande High-Tech, soit 9€ offerts pour toute commande d’un montant supérieur à 180€. Valable jusqu’au 04/06/2012.</p>
    	    <div class="coupon_box">
	
									
        <div id="coupon-container-1-1164615072" class="coupon_container">
            <div unselectable="on" onselectstart="return false;" ondragstart="return false;"  id="coupon-1-1164615072"  class="coupon" href="http://neotr.rueducommerce.fr/r/?id=h2f52d050,19e54f17,19e54f26&p1=RFM6MONO">
				<span>ACT6MONO-434458391-407607022</span>
				<div class="hover-message">
					Click To Open/Copy
				</div>
			</div>
        </div>
		
		    </div>
    
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/05/09/couponcode-promo-pour-rueducommerce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Organisez vos contenus sous Joomla avec le CCK Flexicontent</title>
		<link>http://www.n47.fr/2012/05/07/organisez-vos-contenus-sous-joomla-avec-le-cck-flexicontent/</link>
		<comments>http://www.n47.fr/2012/05/07/organisez-vos-contenus-sous-joomla-avec-le-cck-flexicontent/#comments</comments>
		<pubDate>Mon, 07 May 2012 08:37:40 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[CCK]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=319</guid>
		<description><![CDATA[J&#8217;ai suivi il y a quelques jours un webinar/tutoriel en ligne qui parlait de l&#8217;utilisation de CCK sous Joomla. Je n&#8217;avais pas connaissance de ce type de composants jusqu&#8217;à aujourd&#8217;hui, et je dois avouer que j&#8217;en ai appris vraiment beaucoup tant sur l&#8217;utilisation, que sur la manière de réaliser et d&#8217;organiser ses contenus. Venez en &#8230; </p><p><a class="more-link block-button" href="http://www.n47.fr/2012/05/07/organisez-vos-contenus-sous-joomla-avec-le-cck-flexicontent/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.n47.fr/wp-content/uploads/2012/05/flexicontent.jpeg" rel="lightbox[319]" title="flexicontent"><img class="alignleft  wp-image-359" title="flexicontent" src="http://www.n47.fr/wp-content/uploads/2012/05/flexicontent.jpeg" alt="FlexiContent - Kit de création de contenu" width="81" height="81" /></a>J&#8217;ai suivi il y a quelques jours un webinar<strong>/tutoriel en ligne</strong> qui parlait de l&#8217;utilisation de <strong>CCK sous Joomla</strong>. Je n&#8217;avais pas connaissance de ce type de composants jusqu&#8217;à aujourd&#8217;hui, et je dois avouer que j&#8217;en ai appris vraiment beaucoup tant sur l&#8217;utilisation, que sur la manière de réaliser et d&#8217;organiser ses contenus. Venez en apprendre donc plus sur CCK grâce à ce<strong> tutoriel vidéo</strong> réalisé par Laurent Brière.<span id="more-319"></span></p>
<p>Mais alors, qu&#8217;est ce qu&#8217;un CCK ? <strong>CCK</strong> en anglais signifie Content Construction Kit (<strong>Kit de construction de contenus</strong>) et permet entre autre d&#8217;organiser ses contenus sous forme de <strong>champs personnalisés</strong> et pré-définis. Par exemple, pour construire une base de données de livres, on pourra choisir de créer les champs suivants pour faciliter l&#8217;intégration des contenus au responsable éditorial :</p>
<ul>
<li>Titre du livre</li>
<li>Description du livre</li>
<li>Année</li>
<li>Auteur</li>
<li>&#8230;</li>
</ul>
<div>On à ainsi  des champs personnalisés et non plus un simple champs &laquo;&nbsp;texte de l&#8217;article&nbsp;&raquo; dans la page de création d&#8217;articles. L&#8217;utilisation de champs personnalisés à non seulement l&#8217;avantage de ne plus se prendre la tête sur le formatage de la page pour respecter la charte graphique, mais aussi de favoriser les recherches avancées et même de lier certain champs entre eux : un livre possède un ou plusieurs auteurs et un auteur peut avoir écrit un ou plusieurs livres (c&#8217;est le thème de ce tutoriel vidéo).</div>
<div></div>
<div>De ce que j&#8217;ai pu apercevoir, il existe 2 CCK sous Joomla aujourd&#8217;hui : <a href="www.flexicontent.org">Flexicontent</a> et <a href=" http://www.seblod.com">JSeblod</a>.</div>
<div></div>
<div>Ne connaissant pas JSeblod, je ne vous en parlerai pas. En revanche je vous invite à découvrir ce tutoriel très instructif qui pourra vous servir dans d&#8217;autres cas et/ou dans d&#8217;autres circonstances.</div>
<p><object id="swf12904666161" width="620" height="388" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="menu" value="false" /><param name="quality" value="autohigh" /><param name="wmode" value="opaque" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="base" value="http://videos.elephorm.com" /><param name="src" value="http://statics.elephorm.com/vod/VoDPlayer.swf" /><param name="flashvars" value="nid=146556&amp;enSavoirPlus=http://tuto.elephorm.com/acheter/146556&amp;shareButtons=true&amp;labelTop=&amp;duration=50:58 min&amp;title=Webinar Joomla!2.5&amp;URLformation=http://tuto.elephorm.com/tuto-joomla-2-5-les-fondamentaux/webinar-joomla2-5.html&amp;next=&amp;previous=&amp;external=true&amp;source=http://videos.elephorm.com/formations/Master-Joomla25/videos/Webinar-export-joomla_44766.mp4?external&amp;tid=&amp;tag=" /><embed id="swf12904666161" width="620" height="388" type="application/x-shockwave-flash" src="http://statics.elephorm.com/vod/VoDPlayer.swf" menu="false" quality="autohigh" wmode="opaque" allowfullscreen="true" allowscriptaccess="always" base="http://videos.elephorm.com" flashvars="nid=146556&amp;enSavoirPlus=http://tuto.elephorm.com/acheter/146556&amp;shareButtons=true&amp;labelTop=&amp;duration=50:58 min&amp;title=Webinar Joomla!2.5&amp;URLformation=http://tuto.elephorm.com/tuto-joomla-2-5-les-fondamentaux/webinar-joomla2-5.html&amp;next=&amp;previous=&amp;external=true&amp;source=http://videos.elephorm.com/formations/Master-Joomla25/videos/Webinar-export-joomla_44766.mp4?external&amp;tid=&amp;tag=" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/05/07/organisez-vos-contenus-sous-joomla-avec-le-cck-flexicontent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://videos.elephorm.com/formations/Master-Joomla25/videos/Webinar-export-joomla_44766.mp4?external&amp;amp" length="0" type="video/mp4" />
		</item>
		<item>
		<title>Street art joke</title>
		<link>http://www.n47.fr/2012/04/23/street-art-joke/</link>
		<comments>http://www.n47.fr/2012/04/23/street-art-joke/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 21:31:48 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Général]]></category>
		<category><![CDATA[Perles du net]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=313</guid>
		<description><![CDATA[Un petit peu d&#8217;humour dans le monde de l&#8217;art urbain ne fait pas de mal! (Via fatcap)]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.n47.fr/wp-content/uploads/2012/04/20120423-232957.jpg" rel="lightbox[313]" title="Street art joke"><img src="http://www.n47.fr/wp-content/uploads/2012/04/20120423-232957.jpg" alt="20120423-232957.jpg" class="alignnone size-full" /></a></p>
<p>Un petit peu d&#8217;humour dans le monde de l&#8217;art urbain ne fait pas de mal! (Via fatcap)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/04/23/street-art-joke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sauvegardes automatiques de son serveur et emails de notification</title>
		<link>http://www.n47.fr/2012/04/17/sauvegardes-automatiques-de-son-serveur-et-emails-de-notification/</link>
		<comments>http://www.n47.fr/2012/04/17/sauvegardes-automatiques-de-son-serveur-et-emails-de-notification/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 08:50:13 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[back-res]]></category>
		<category><![CDATA[email de notification]]></category>
		<category><![CDATA[ispconfig]]></category>
		<category><![CDATA[sauvegardes automatiques]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=300</guid>
		<description><![CDATA[Je vous parlais dans un précédent billet de comment sauvegarder son serveur dédié automatiquement (fichiers et bases de données). J&#8217;ai été confronté un à une petite interrogation après plusieurs jours sans recevoir d&#8217;email de notification de sauvegarde. Et il semblerait que le script de back-res de go0ogl3 ne gère par les notifications si tout s&#8217;est bien déroulé&#8230; &#8230; </p><p><a class="more-link block-button" href="http://www.n47.fr/2012/04/17/sauvegardes-automatiques-de-son-serveur-et-emails-de-notification/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_202" class="wp-caption alignleft" style="width: 190px"><a href="http://www.n47.fr/wp-content/uploads/2012/03/sauvegarde_min.jpeg" rel="lightbox[300]" title="Sauvegarde / backup ISPCONFIG"><img class="" title="Sauvegarde / backup ISPCONFIG" src="http://www.n47.fr/wp-content/uploads/2012/03/sauvegarde_min.jpeg" alt="Sauvegarder automatiquement son serveur dédié" width="180" height="180" /></a><p class="wp-caption-text">Sauvegarde / backup ISPCONFIG</p></div>
<p>Je vous parlais dans un précédent billet de <a title="Sauvegarder automatiquement son serveur dédié web" href="http://www.n47.fr/2012/03/26/sauvegarder-automatiquement-son-serveur-dedie-web/">comment sauvegarder son serveur dédié automatiquement (fichiers et bases de données)</a>.</p>
<p>J&#8217;ai été confronté un à une petite interrogation après plusieurs jours sans recevoir d&#8217;email de notification de sauvegarde. Et il semblerait que le script de <strong>back-res</strong> de <strong>go0ogl3</strong> ne gère par les notifications si tout s&#8217;est bien déroulé&#8230;</p>
<p><span id="more-300"></span></p>
<p>Pour pallier ce souci, j&#8217;ai rajouté après la ligne</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code source</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.n47.fr/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="php-brief" style="font-family:monospace;"><ol><li class="li1"><div class="de1">log <span class="st0">&quot;All backup jobs done. Exiting script!&quot;</span></div></li></ol></pre></div></div>
<p>&nbsp;</p>
<p>cette commande</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code source</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.n47.fr/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><ol><li class="li1"><div class="de1">mail <span class="re5">-s</span> <span class="st0">&quot;Daily backup of <span class="es2">$COMPUTER</span> <span class="es5">`date +'%F'`</span>&quot;</span> <span class="st0">&quot;<span class="es2">$email</span>&quot;</span> <span class="sy0">&lt;</span> <span class="re1">$tmpdir</span><span class="sy0">/</span>maildata</div></li></ol></pre></div></div>
<p>Téléchargez le <a href="http://www.n47.fr/wp-content/uploads/2012/04/back-res.zip" target="_blank">script back-res modifié et prêt à l&#8217;emploi</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/04/17/sauvegardes-automatiques-de-son-serveur-et-emails-de-notification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fumulubudu VS Usual Suspect &#8211; Remix</title>
		<link>http://www.n47.fr/2012/04/12/fumulubudu-vs-usual-suspect-remix/</link>
		<comments>http://www.n47.fr/2012/04/12/fumulubudu-vs-usual-suspect-remix/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 21:55:21 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Mes mix - ma zik]]></category>
		<category><![CDATA[Musique]]></category>
		<category><![CDATA[drum'n bass]]></category>
		<category><![CDATA[Fumulubudu]]></category>
		<category><![CDATA[jungle]]></category>
		<category><![CDATA[Rap]]></category>
		<category><![CDATA[sam fait marrer]]></category>
		<category><![CDATA[therapy]]></category>
		<category><![CDATA[usual suspect]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=289</guid>
		<description><![CDATA[Voici un petit remix de Jungle que j&#8217;ai concocté ce soir sur un coup de tête : Fumulubudu &#8211; sam fait marrer  VS Usual Suspect &#8211; Therapy. Bonne écoute ! Suivez l&#8217;actualité de mes sons sur Cultureesy]]></description>
			<content:encoded><![CDATA[<p>Voici un petit remix de Jungle que j&#8217;ai concocté ce soir sur un coup de tête : Fumulubudu &#8211; sam fait marrer  VS Usual Suspect &#8211; Therapy. Bonne écoute !</p>
<p><object style="display: block;" width="100%" height="350" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="base" value="http://www.cultureesy.com/flash/modules/mp3/" /><param name="wmode" value="opaque" /><param name="flashVars" value="url=http://www.cultureesy.com/flash/XML.php&amp;module=mp3&amp;app=player&amp;id=18&amp;user=&amp;password=" /><param name="src" value="http://www.cultureesy.com/flash/modules/global/app/holder_as3.swf" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="flashvars" value="url=http://www.cultureesy.com/flash/XML.php&amp;module=mp3&amp;app=player&amp;id=18&amp;user=&amp;password=" /><embed style="display: block;" width="100%" height="350" type="application/x-shockwave-flash" src="http://www.cultureesy.com/flash/modules/global/app/holder_as3.swf" allowScriptAccess="always" allowFullScreen="true" base="http://www.cultureesy.com/flash/modules/mp3/" wmode="opaque" flashVars="url=http://www.cultureesy.com/flash/XML.php&amp;module=mp3&amp;app=player&amp;id=18&amp;user=&amp;password=" allowscriptaccess="always" allowfullscreen="true" flashvars="url=http://www.cultureesy.com/flash/XML.php&amp;module=mp3&amp;app=player&amp;id=18&amp;user=&amp;password=" /></object></p>
<p>Suivez l&#8217;actualité de <a href="http://www.cultureesy.com/N_47">mes sons sur Cultureesy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/04/12/fumulubudu-vs-usual-suspect-remix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporter les données d&#8217;une table MySQL vers Excel avec CodeIgniter</title>
		<link>http://www.n47.fr/2012/04/06/exporter-les-donnees-dune-table-mysql-vers-excel-avec-codeigniter/</link>
		<comments>http://www.n47.fr/2012/04/06/exporter-les-donnees-dune-table-mysql-vers-excel-avec-codeigniter/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 15:18:11 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Export table SQL vers xls]]></category>
		<category><![CDATA[PHPExcel]]></category>
		<category><![CDATA[SQL vers XLS]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=268</guid>
		<description><![CDATA[Vous travaillez avec CodeIgniter et vous devez réaliser un script qui exporte les données d&#8217;une table SQL vers un fichier Excel (oui j&#8217;ai bien dit Excel au format XLS et non pas CSV comme l&#8217;a bien précisé votre client ou votre patron!). Ce billet est alors fait pour vous ! Découvrez comment implémenter la librairie &#8230; </p><p><a class="more-link block-button" href="http://www.n47.fr/2012/04/06/exporter-les-donnees-dune-table-mysql-vers-excel-avec-codeigniter/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_286" class="wp-caption alignleft" style="width: 220px"><a href="http://www.n47.fr/wp-content/uploads/2012/04/phpexcel.png" rel="lightbox[268]" title="PHPExcel pour CodeIgniter"><img class="wp-image-286" title="PHPExcel pour CodeIgniter" src="http://www.n47.fr/wp-content/uploads/2012/04/phpexcel-300x152.png" alt="PHPExcel pour CodeIgniter - Exportez vos tables SQL vers un fichier Excel XLS" width="210" height="106" /></a><p class="wp-caption-text">PHPExcel pour CodeIgniter - Exportez vos tables SQL vers un fichier Excel XLS</p></div>
<p>Vous travaillez avec <strong>CodeIgniter</strong> et vous devez réaliser un script qui exporte les données d&#8217;une table SQL vers un fichier Excel (oui j&#8217;ai bien dit <strong>Excel</strong> au <strong>format XLS</strong> et non pas <strong>CSV</strong> comme l&#8217;a bien précisé votre client ou votre patron!). Ce billet est alors fait pour vous ! Découvrez comment implémenter la librairie <strong>PHPExcel</strong> à l&#8217;intérieur de CodeIgniter et générer un fichier excel avec seulement quelques lignes de code &#8230;<span id="more-268"></span></p>
<p>Tout d’abord, télécharger la version modifiée de <a href="http://www.n47.fr/2012/04/06/exporter-les-donnees-dune-table-mysql-vers-excel-avec-codeigniter/phpexcel-pour-codeigniter/" rel="attachment wp-att-270">PHPExcel pour CodeIgniter</a>.</p>
<p>Envoyez le contenu du dossier PHPExcel dans le dossier system/libraries du framework.</p>
<p>Vous pouvez ensuite prendre modèle sur le contrôleur suivant pour l’utilisation de cette classe et rendre ainsi téléchargeable le contenu de votre table au format Excel :</p>
<p>&nbsp;</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code source</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.n47.fr/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.n47.fr/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="php" style="font-family:monospace;"><ol><li class="li1"><div class="de1"><span class="kw2">class</span> Table_export <span class="kw2">extends</span> Controller <span class="br0">&#123;</span></div></li><li class="li1"><div class="de1"><span class="kw2">function</span> __construct<span class="br0">&#40;</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#123;</span></div></li><li class="li1"><div class="de1">parent<span class="sy0">::</span><span class="me2">Controller</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="co1">// Here you should add some sort of user validation</span></div></li><li class="li1"><div class="de1"><span class="co1">// to prevent strangers from pulling your table data</span></div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="kw2">function</span> index<span class="br0">&#40;</span><span class="re0">$table_name</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#123;</span></div></li><li class="li1"><div class="de1"><span class="re0">$query</span> <span class="sy0">=</span> <span class="re0">$this</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>db<span class="sy0">-&amp;</span>gt<span class="sy0">;</span>get<span class="br0">&#40;</span><span class="re0">$table_name</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">if</span><span class="br0">&#40;</span><span class="sy0">!</span><span class="re0">$query</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="kw1">return</span> <span class="kw4">false</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="co1">// Starting the PHPExcel library</span></div></li><li class="li1"><div class="de1"><span class="re0">$this</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>load<span class="sy0">-&amp;</span>gt<span class="sy0">;</span>library<span class="br0">&#40;</span><span class="st_h">'PHPExcel'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$this</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>load<span class="sy0">-&amp;</span>gt<span class="sy0">;</span>library<span class="br0">&#40;</span><span class="st_h">'PHPExcel/IOFactory'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objPHPExcel</span> <span class="sy0">=</span> <span class="kw2">new</span> PHPExcel<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objPHPExcel</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>getProperties<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>setTitle<span class="br0">&#40;</span><span class="st0">&quot;export&quot;</span><span class="br0">&#41;</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>setDescription<span class="br0">&#40;</span><span class="st0">&quot;none&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objPHPExcel</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>setActiveSheetIndex<span class="br0">&#40;</span>0<span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="co1">// Field names in the first row</span></div></li><li class="li1"><div class="de1"><span class="re0">$fields</span> <span class="sy0">=</span> <span class="re0">$query</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>list_fields<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$col</span> <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">$fields</span> <span class="kw1">as</span> <span class="re0">$field</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#123;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objPHPExcel</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>getActiveSheet<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>setCellValueByColumnAndRow<span class="br0">&#40;</span><span class="re0">$col</span><span class="sy0">,</span> 1<span class="sy0">,</span> <span class="re0">$field</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$col</span><span class="sy0">++;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="co1">// Fetching the table data</span></div></li><li class="li1"><div class="de1"><span class="re0">$row</span> <span class="sy0">=</span> <span class="nu0">2</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">foreach</span><span class="br0">&#40;</span><span class="re0">$query</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>result<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw1">as</span> <span class="re0">$data</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#123;</span></div></li><li class="li1"><div class="de1"><span class="re0">$col</span> <span class="sy0">=</span> <span class="nu0">0</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">$fields</span> <span class="kw1">as</span> <span class="re0">$field</span><span class="br0">&#41;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#123;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objPHPExcel</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>getActiveSheet<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>setCellValueByColumnAndRow<span class="br0">&#40;</span><span class="re0">$col</span><span class="sy0">,</span> <span class="re0">$row</span><span class="sy0">,</span> <span class="re0">$data</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span><span class="re0">$field</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$col</span><span class="sy0">++;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="re0">$row</span><span class="sy0">++;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objPHPExcel</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>setActiveSheetIndex<span class="br0">&#40;</span>0<span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objWriter</span> <span class="sy0">=</span> IOFactory<span class="sy0">::</span><span class="me2">createWriter</span><span class="br0">&#40;</span><span class="re0">$objPHPExcel</span><span class="sy0">,</span> <span class="st_h">'Excel5'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="co1">// Sending headers to force the user to download the file</span></div></li><li class="li1"><div class="de1"><a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st_h">'Content-Type: application/vnd.ms-excel'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st_h">'Content-Disposition: attachment;filename=&quot;Products_'</span><span class="sy0">.</span><a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span><span class="st_h">'dMy'</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="st_h">'.xls&quot;'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st_h">'Cache-Control: max-age=0'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="re0">$objWriter</span><span class="sy0">-&amp;</span>gt<span class="sy0">;</span>save<span class="br0">&#40;</span><span class="st_h">'php://output'</span><span class="br0">&#41;</span><span class="sy0">;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li><li class="li1"><div class="de1"><span class="br0">&#125;</span></div></li></ol></pre></div></div>
<p>&nbsp;</p>
<p>Indiquer la table à dumper (ligne 10) et le nom du fichier généré (ligne 43)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/04/06/exporter-les-donnees-dune-table-mysql-vers-excel-avec-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diore, J&#8217;adore &#8230; Pas tant que ça !</title>
		<link>http://www.n47.fr/2012/04/05/diore-jadore-pas-tant-que-ca/</link>
		<comments>http://www.n47.fr/2012/04/05/diore-jadore-pas-tant-que-ca/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 10:13:06 +0000</pubDate>
		<dc:creator>N47</dc:creator>
				<category><![CDATA[Perles du net]]></category>
		<category><![CDATA[badbuzz]]></category>
		<category><![CDATA[Dior hémorroïdes]]></category>

		<guid isPermaLink="false">http://www.n47.fr/?p=254</guid>
		<description><![CDATA[La photo parle d&#8217;elle même (via L&#8217;humour de geek).  Un oubli des créatifs ou un message subliminal voulu ? Quoi qu&#8217;il en soit, ça fait mal au *** !]]></description>
			<content:encoded><![CDATA[<p>La photo parle d&#8217;elle même (via <a id="js_2" href="http://www.facebook.com/lhumourdegeek" data-hovercard="/ajax/hovercard/page.php?id=169331423103518">L&#8217;humour de geek</a>).  Un oubli des créatifs ou un message subliminal voulu ? Quoi qu&#8217;il en soit, ça fait mal au *** !<a href="http://www.n47.fr/wp-content/uploads/2012/04/531425_353548531348472_169331423103518_932065_1775752520_n.jpeg" rel="lightbox[254]" title="Dior et ses effets hémorroïdes"><img class="alignnone size-full wp-image-255" title="Dior et ses effets hémorroïdes" src="http://www.n47.fr/wp-content/uploads/2012/04/531425_353548531348472_169331423103518_932065_1775752520_n.jpeg" alt="" width="960" height="329" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.n47.fr/2012/04/05/diore-jadore-pas-tant-que-ca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

