<?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>blog.donax.ch &#187; Programmation</title>
	<atom:link href="http://blog.donax.ch/category/prog/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.donax.ch</link>
	<description>ça blogue et c&#039;est piquant...</description>
	<lastBuildDate>Wed, 21 Jul 2010 12:00:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>La météo sur votre site (PHP-XML)</title>
		<link>http://blog.donax.ch/2010/03/03/la-meteo-sur-votre-site-php-xml/</link>
		<comments>http://blog.donax.ch/2010/03/03/la-meteo-sur-votre-site-php-xml/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:00:07 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[météo]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=490</guid>
		<description><![CDATA[Il existe une multitude de sites proposant d&#8217;ajouter gratuitement une sorte de widget météo sur votre site. La plupart du temps ces widgets ne sont pas modifiable esthétiquement (taille, couleur, etc..) et c&#8217;est pas dis que ça colle parfaitement avec votre site..
En farfouillant un peu plus.. j&#8217;ai trouvé d&#8217;excellents outils sur weather.com. Les seules &#8220;exigences&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.weather.com" target="_blank"><img src="http://blog.donax.ch/wp-content/lockup.png" alt="" title="lockup" width="85" height="72" class="alignleft size-full wp-image-491" /></a>Il existe une multitude de sites proposant d&#8217;ajouter gratuitement une sorte de widget météo sur votre site. La plupart du temps ces widgets ne sont pas modifiable esthétiquement (taille, couleur, etc..) et c&#8217;est pas dis que ça colle parfaitement avec votre site..</p>
<p>En farfouillant un peu plus.. j&#8217;ai trouvé d&#8217;excellents outils sur <a href="http://www.weather.com/services/" target="_blank">weather.com</a>. Les seules &#8220;exigences&#8221; sont l&#8217;inscription obligatoire sur le site, de spécifier sur quel domaine sera affiché la météo (et quel genre de site c&#8217;est..), et bien sur de ne PAS faire payer ce service (ça serait le comble quand même <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).<br />
<span id="more-490"></span><br />
<a href="http://www.weather.com/services/oap.html" target="_blank">Une version simple, et &#8220;customisable&#8221;</a> existe avec même un formulaire de création&#8230;si vous voulez un résultat acceptable sans vous prendre la tête et pour autant que ça colle avec les différentes dimensions de votre site.. <a href="http://www.weather.com/services/oap.html" target="_blank">c&#8217;est par ici</a>.</p>
<p>Voilà ce que ça donne :<br />
<a href="http://blog.donax.ch/wp-content/widgetmeteo.jpg"><img src="http://blog.donax.ch/wp-content/widgetmeteo.jpg" alt="" title="widgetmeteo" width="298" height="248" class="aligncenter size-full wp-image-495" /></a></p>
<p>Nous voilà donc dans le vif du sujet <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tout d&#8217;abord, suivez <a href="https://registration.weather.com/ursa/xmloap/step1" target="_blank">les instructions sur cette page</a>. A la fin, vous recevrez un e-mail de confirmation avec le lien pour télécharger les icônes de météo, votre code &#8220;partner&#8221; et la clé associée. Noter les conditions générales d&#8217;utilisation&#8230; (logo weather.com à afficher par exemple:))</p>
<p>Voilà mon bout de code&#8230; j&#8217;ai plus trop l&#8217;habitude de bosser avec du XML, donc il est certainement possible de faire ça plus propre <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (aussi pour l&#8217;affichage, on peut faire une boucle PHP&#8230;mais bon par flemmardise..:P)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//Code permettant de récupérer la météo de Berne</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// paramètres d'instanciation</span>
<span style="color: #000088;">$array_param</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
	<span style="color: #0000ff;">'city'</span>	<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'SZXX0006'</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// code de la ville à récupérer sur weather.com</span>
	<span style="color: #0000ff;">'dayf'</span>	<span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// nombre de jours à récupérer (3 = aujourd'hui + 2 jours) MAX 5</span>
	<span style="color: #0000ff;">'partner'</span>	<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'0000000000'</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// votre code partner</span>
	<span style="color: #0000ff;">'key'</span>	<span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'0000000000000000'</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// votre clé associée</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// voilà l'url d'appel du XML, on y rajoute les différents paramètres qu'on a besoin</span>
<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://xoap.weather.com/weather/local/<span style="color: #006699; font-weight: bold;">{$array_param['city']}</span>?cc=*&amp;dayf=<span style="color: #006699; font-weight: bold;">{$array_param['dayf']}</span>&amp;link=xoap&amp;unit=m&amp;prod=xoap&amp;par=<span style="color: #006699; font-weight: bold;">{$array_param['partner']}</span>&amp;key=<span style="color: #006699; font-weight: bold;">{$array_param['key']}</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// on charge avec simplexml</span>
<span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_file</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// votre chemin jusqu'aux icônes météo</span>
<span style="color: #000088;">$image_url_path</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/public/images/meteo/icons/'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$meteo_info</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>
&nbsp;
<span style="color: #666666; font-style: italic;">// on parcours le xml et on stock ce qu'on a besoin dans un array php..</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dayf</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">day</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$val</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$val</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #000088;">$daykey</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$val</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// on montre la date à afficher</span>
		<span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$daykey</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'date'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'j M'</span><span style="color: #339933;">,</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'m'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'d'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #000088;">$daykey</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// on récupère les températures max / min (attention pas de temp max pour le jour actuel..)</span>
		<span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$daykey</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hi'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">hi</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$daykey</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'low'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">low</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #666666; font-style: italic;">// on récupère l'icône associée</span>
		<span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$daykey</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'icon'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$val</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">part</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">icon</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// petite subtilité pour le jour courant..</span>
<span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'icon'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">cc</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">icon</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
&lt;!-- Le html pour afficher la météo à modifier à votre sauce..--&gt;
&lt;div style=&quot;width:261px; background-color:#fff; text-align:center;&quot;&gt;
	&lt;h1 style='font-family:Trebuchet MS; color:#031a4e; font-size:30px; font-weight:normal; margin-bottom:5px;'&gt;Météo à Berne &amp;nbsp;&lt;a href=&quot;http://www.weather.com/weather/today/Bern+Switzerland+SZXX0006?refer=hugme&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;/public/images/meteo/twclogo.png&quot;&gt;&lt;/a&gt;&lt;/h1&gt;
	&lt;div style='float:left; width:33%; text-align:center;'&gt;
		&lt;h3 style='font-family:Trebuchet MS;font-size:1.3em; font-weight:normal; margin:5px 0; color:#031a4e;'&gt;Aujourd'hui&lt;/h3&gt;
		&lt;div&gt;
			&lt;div&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$image_url_path</span><span style="color: #339933;">.</span><span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'icon'</span><span style="color: #009900;">&#93;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>.png&quot;&gt;&lt;/div&gt;
			&lt;p style='font-size:11px; color:#031a4e;text-align:center;'&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'low'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;deg;C&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div style='float:left; width:33%; text-align:center;'&gt;
		&lt;h3 style='font-family:Trebuchet MS;font-size:1.3em; font-weight:normal; margin:5px 0; color:#031a4e;'&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #990000;">rtrim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'date'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h3&gt;
		&lt;div&gt;
			&lt;div&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$image_url_path</span><span style="color: #339933;">.</span><span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'icon'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>.png&quot;&gt;&lt;/div&gt;
			&lt;p style='font-size:11px; color:#031a4e;text-align:center;'&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'low'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> / <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hi'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;deg;C&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div style='float:left; width:33%; text-align:center;'&gt;
		&lt;h3 style='font-family:Trebuchet MS;font-size:1.3em; font-weight:normal; margin:5px 0; color:#031a4e;'&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #990000;">rtrim</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'date'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h3&gt;
		&lt;div&gt;
			&lt;div&gt;&lt;img src=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$image_url_path</span><span style="color: #339933;">.</span><span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'icon'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>.png&quot;&gt;&lt;/div&gt;
			&lt;p style='font-size:11px; color:#031a4e;text-align:center;'&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'low'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> / <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">print</span> <span style="color: #000088;">$meteo_info</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'hi'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span> &amp;deg;C&lt;/p&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;div style='clear:both;'&gt;&lt;/div&gt;
&lt;/div&gt;</pre></td></tr></table></div>

<p>A noter qu&#8217;il peut être judicieux d&#8217;utiliser un système de cache&#8230; en effet, l&#8217;accès fréquent aux données externe peut grandement ralentir votre site..</p>
<p>Voilà le résultat obtenu..</p>
<p><a href="http://blog.donax.ch/wp-content/meteoberne.png"><img src="http://blog.donax.ch/wp-content/meteoberne.png" alt="" title="meteoberne" width="241" height="153" class="aligncenter size-full wp-image-498" /></a></p>
<p>Pas trop mal non ? </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/03/03/la-meteo-sur-votre-site-php-xml/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Le triomphe de l&#8217;Unicode</title>
		<link>http://blog.donax.ch/2010/02/05/le-triomphe-de-lunicode/</link>
		<comments>http://blog.donax.ch/2010/02/05/le-triomphe-de-lunicode/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 09:20:17 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Programmation]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=415</guid>
		<description><![CDATA[Tous les développeurs vous le diront, l&#8217;encodage est un des nerfs de la guerre. L&#8217;échange des données client-serveur transitent par une multitude de support et autant d&#8217;encodages potentiels. Le mappage entre les différents encodages est fastidieux, d&#8217;autant plus qu&#8217;il n&#8217;est pas toujours possible. Pour parer à ces problèmes le Consortium Unicode a délivré une norme [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.donax.ch/wp-content/unicodelogo.gif"><img src="http://blog.donax.ch/wp-content/unicodelogo.gif" alt="" title="unicodelogo" width="100" height="100" class="alignleft size-full wp-image-433" /></a>Tous les développeurs vous le diront, l&#8217;encodage est un des nerfs de la guerre. L&#8217;échange des données client-serveur transitent par une multitude de support et autant d&#8217;encodages potentiels. Le mappage entre les différents encodages est fastidieux, d&#8217;autant plus qu&#8217;il n&#8217;est pas toujours possible. Pour parer à ces problèmes le Consortium Unicode a délivré une norme informatique qui donne a chaque caractère un identifiant unique, permettant par exemple à un encodage d&#8217;afficher aussi bien des caractères cyrilliques, japonais ou latin. Cette norme est l&#8217;<a href="http://fr.wikipedia.org/wiki/Unicode">Unicode</a>. <span id="more-415"></span><br/><br/><br />
<strong>La normalisation</strong><br/><br />
Le problème de la normalisation est son application. Qui, quand, comment&#8230; L&#8217;Unicode a été décrite en 1991, et son application est aujourd&#8217;hui enfin en train de s&#8217;imposer. Le 5 Mai 2008, Google avait publié un <a href="http://googleblog.blogspot.com/2008/05/moving-to-unicode-51.html">billet</a> sur la croissance de l&#8217;Unicode sur Internet, un bon moyen d&#8217;évaluer l&#8217;application de la norme:</p>
<p><a href="http://blog.donax.ch/wp-content/Unicode2.gif"><img src="http://blog.donax.ch/wp-content/Unicode2-282x300.gif" alt="Croissance de l&#039;unicode en 2008" title="Unicode 2008" width="282" height="300" class="aligncenter size-medium wp-image-416" /></a><br />
<br />
Mi-2008 fut donc le déclic pour l&#8217;Unicode, il arriva enfin à la hauteur de l&#8217;encodage ASCII et WESTERN.<br/><br/><br />
<strong>Situation de nos jours</strong><br/><br />
Aujourd&#8217;hui en 2010, l&#8217;Unicode s&#8217;est complètement imposé représentant près de 50% de l&#8217;encodage utilisé pour le web:<br/><br />
<a href="http://blog.donax.ch/wp-content/unicode.png"><img src="http://blog.donax.ch/wp-content/unicode-300x225.png" alt="Croissance de l&#039;unicode" title="Unicode 2010" width="300" height="225" class="aligncenter size-medium wp-image-423" /></a></p>
<p>C&#8217;est une excellente nouvelle et promet moins de problème d&#8217;encodage dans le futur ainsi qu&#8217;une facilitation d&#8217;échanges des données. L&#8217;abolition des autres encodages passera surement par l&#8217;UTF-16 puis l&#8217;UTF-32, mais probablement qu&#8217;on en reparlera dans 20 ans!<br />
<br/></p>
<p>Sources: [<a href="http://googleblog.blogspot.com/2010/01/unicode-nearing-50-of-web.html">Official Google Blog: Unicode nearing 50% of the web</a>][<a href="http://googleblog.blogspot.com/2008/05/moving-to-unicode-51.html">Official Google Blog: Moving to Unicode 5.1</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/02/05/le-triomphe-de-lunicode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sauvegarder le contenu d&#8217;un dossier IMAP en .eml et extraire les adresses email</title>
		<link>http://blog.donax.ch/2010/01/19/sauvegarder-le-contenu-dun-dossier-imap-en-eml/</link>
		<comments>http://blog.donax.ch/2010/01/19/sauvegarder-le-contenu-dun-dossier-imap-en-eml/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 06:00:54 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Firefox / Thunderbird]]></category>
		<category><![CDATA[Programmation]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=378</guid>
		<description><![CDATA[Ayant du pour des raisons professionnelles envoyer de grosses quantités d&#8217;email sur des mailing listes et du ensuite gérer le carnet d&#8217;adresse pour le garder à jour, je me suis retrouvé devant le dilemme suivant: comment faire pour extraire l&#8217;adresse de destination de plusieurs centaines d&#8217;email reçu en retour du style Undeliverable ou Failure:
Undeliverable: Delivery [...]]]></description>
			<content:encoded><![CDATA[<p>Ayant du pour des raisons professionnelles envoyer de grosses quantités d&#8217;email sur des mailing listes et du ensuite gérer le carnet d&#8217;adresse pour le garder à jour, je me suis retrouvé devant le dilemme suivant: <strong>comment faire pour extraire l&#8217;adresse de destination de plusieurs centaines d&#8217;email reçu en retour</strong> du style Undeliverable ou Failure<span id="more-378"></span>:</p>
<blockquote><p>Undeliverable: Delivery has failed to these recipients or distribution lists:<br />
bill.gate@microsoft.com<br />
The recipient&#8217;s e-mail address was not found in the recipient&#8217;s e-mail system. Microsoft Exchange will not try to redeliver this message for you. Please check the e-mail address and try resending this message, or provide the following diagnostic text to your system administrator.</p></blockquote>
<p> et</p>
<blockquote><p>delivrery failure: Hi. This is the qmail-send program at smtp.xxxxxx.com. I&#8217;m afraid I wasn&#8217;t able to deliver your message to the following addresses. This is a permanent error; I&#8217;ve given up. Sorry it didn&#8217;t work out.<bill.gate@microsoft.com>:<br />
207.46.197.32 does not like recipient.<br />
Remote host said: 550 #5.1.0 Address rejected bill.gate@microsoft.com<br />
Giving up on 207.46.197.32.</p></blockquote>
<p>La chose la plus évidente aurait été d&#8217;avoir accès au serveur de mail, puis au dossier de mail, afin d&#8217;effectuer la recherche d&#8217;email dans le dossier ad-hoc. Evidemment je n&#8217;est pas accès au serveur de mail&#8230;</p>
<h3>Trouver une extension Thunderbird</h3>
<p>Utilisant de préférence<a href="http://www.mozillamessaging.com"> Mozilla Thunderbird</a> comme client mail (<a href="http://blog.donax.ch/2010/01/13/thunderbird-3-et-ses-nouvelles-fonctionalites/">la version 3 est démente</a>) j&#8217;ai cherché une extension permettant d&#8217;extraire les emails dans des messages sans succès (si vous en connaissez, posez un commentaire). Je me suis donc tourné du côté des extensions de sauvegarde ou backup, pour avoir une copie des emails en format texte et enfin pouvoir effectuer ma recherche. L&#8217;extension qui ma permis cette prouesse s&#8217;appelle <strong>ImportExportTools (MboxImport enhanced)</strong> et est disponible grâce et chez <a href="http://nic-nac-project.de/~kaosmos/mboximport-en.html ">KAOSMOS</a>.</p>
<h3>ImportExportTools (MboxImport enhanced)</h3>
<p>Cette extension est bien pensée, elle permet d&#8217;exporter des dossiers (zip), une recherche, ou leur contenu en plusieurs format, HTML, EML, PLAIN TXT ou encore CSV via un menu contextuel ajouté à votre client préféré. Je choisi donc d&#8217;exporter tous les messages de mon dossier &#8220;failures&#8221; en <a href="http://en.wikipedia.org/wiki/E-mail#Filename_extensions">.eml</a> et le sauve. </p>
<h3>Extraction des emails</h3>
<p>Il ne reste plus qu&#8217;a extraire les emails concernés. Pour ce faire, un bon petit greppage de derrière les fagots:</p>
<p>Pour exchange<br />
<code>$ grep -hioP "<mailto\:[a-zA-Z0-9\-_]+[a-zA-Z0-9\.\-_]*@[a-zA-Z0-9\-_\.]+>" *.eml >> ouput.txt</code></p>
<p>Pour qmail<br />
<code>$ grep -hioP "^<[a-zA-Z0-9\-_]+[a-zA-Z0-9\.\-_]*@[a-zA-Z0-9\-_]+\.[a-zA-Z\.\-_]{1,}[a-zA-Z\-_]>" *.eml >> ouput.txt</code></p>
<p>Les options:<br />
-h : Suppress  the  prefixing  of file names on output.<br />
-i : Ignore case distinctions in both the PATTERN and the input files.<br />
-o : Print only the matched (non-empty) parts of a matching line, with each such part on a separate output line.<br />
-P : Interpret PATTERN as a Perl regular expression.<br />
>> : Redirect the output and append it to the file. </p>
<p>Ces deux commandes devraient suffire a extirper tous les emails dont vous avez besoin. Si vous avez besoin de tester vos <a href="http://en.wikipedia.org/wiki/Regexp">regexp</a> je vous conseil <a href="http://regexxer.sourceforge.net/">regexxer</a>, qui permet de voir le résultat de votre expression avant de l&#8217;exécuter. Toutes suggestions sont les bienvenues!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/01/19/sauvegarder-le-contenu-dun-dossier-imap-en-eml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation de Typo3</title>
		<link>http://blog.donax.ch/2008/03/07/installation-de-typo3/</link>
		<comments>http://blog.donax.ch/2008/03/07/installation-de-typo3/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 21:56:36 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Libre Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Open-Source]]></category>
		<category><![CDATA[typo3]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/2008/03/07/installation-de-typo3/</guid>
		<description><![CDATA[
Voici un guide rapide pour l&#8217;installation de Typo3 sur votre ordinateur / serveur. 
Tout d&#8217;abord, il nous faut un environnement apache / mysql / php (ex pour Windows : wamp, easyphp, etc&#8230;).
Les nouvelles versions de Typo3 sont proposées en téléchargement directement avec un installer windows qui inclut wampserver => http://typo3.org/download/installers/  (des packs sont également [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://blog.donax.ch/wp-content/logo-typo3.gif' title='Logo Typo3'><img src='http://blog.donax.ch/wp-content/logo-typo3.thumbnail.gif' alt='Logo Typo3' /></a></p>
<p>Voici un guide rapide pour l&#8217;installation de Typo3 sur votre ordinateur / serveur. </p>
<p>Tout d&#8217;abord, il nous faut un environnement apache / mysql / php (ex pour Windows : wamp, easyphp, etc&#8230;).</p>
<p>Les nouvelles versions de Typo3 sont proposées en téléchargement directement avec un installer windows qui inclut wampserver => <a href="http://typo3.org/download/installers/ ">http://typo3.org/download/installers/ </a> (des packs sont également disponible pour linux et mac&#8230;) ou uniquement le code => <a href="http://typo3.org/download/">http://typo3.org/download/</a>. Dans ce post je vais traiter uniquement de l&#8217;installation du code.. l&#8217;installation et la configuration de programmes tel que Wamp sont très bien expliquées sur le site de l&#8217;éditeur ou via de nombreuses marches à suivre disponible sur Internet..</p>
<p>Téléchargement de Typo3 : </p>
<p><a href='http://blog.donax.ch/wp-content/dummy.jpg' title='Download Typo3'><img src='http://blog.donax.ch/wp-content/dummy.thumbnail.jpg' alt='Download Typo3' /></a></p>
<p>Pour débuter un site sur Typo3, il est nécessaire de télécharger 2 packages : source + dummy.<br />
Source contient les fichiers &#8230;&#8230; source de Typo3 (commune à chaque site développé avec Typo3) alors que dummy contient les fichiers de base nécessaire à la création d&#8217;un site (plugin par défaut, etc&#8230;). A noter que l&#8217;upgrade d&#8217;une version de Typo3 se fait (en général..sauf grand changement de structure typo3) très simplement ; il suffit de récupérer le zip « source » et de le dézipper dans le bon répertoire (cela nécessite également qq manipulations dans le back-office)&#8230;</p>
<p>Après avoir dézipper les 2 archives dans un répertoire accessible par votre vhost (sous wamp, créer simplement un dossier sous www), vous devriez avoir une hiérarchie de fichiers proche à celle-ci :</p>
<p><a href='http://blog.donax.ch/wp-content/hierarchie.jpg' title='Typo3 hierarchie'><img src='http://blog.donax.ch/wp-content/hierarchie.thumbnail.jpg' alt='Typo3 hierarchie' /></a></p>
<p>Nous pouvons maintenant lancer « l&#8217;installeur » de Typo3. Pour ce faire, il suffit de lancer son navigateur et de le faire pointer sur le vhost créé&#8230; </p>
<p>Partie 1 : définir la connexion à la Db : par défaut sur Wamp l&#8217;admin mysql est : root sans mdp&#8230;</p>
<p><a href='http://blog.donax.ch/wp-content/install1.jpg' title='typo3 install 1'><img src='http://blog.donax.ch/wp-content/install1.thumbnail.jpg' alt='typo3 install 1' /></a></p>
<p>Partie 2 : choisir la base de données (une VIDE depuis le sélecteur ou alors laisser l&#8217;installeur en créer une en saisissant le nom)</p>
<p><a href='http://blog.donax.ch/wp-content/install2.jpg' title='typo3 install 2'><img src='http://blog.donax.ch/wp-content/install2.thumbnail.jpg' alt='typo3 install 2' /></a></p>
<p>Partie 3 : Puisqu&#8217;il s&#8217;agit d&#8217;un nouveau site cliquez sur import database => création des données nécessaire par défaut.</p>
<p><a href='http://blog.donax.ch/wp-content/install3.jpg' title='typo3 install 3'><img src='http://blog.donax.ch/wp-content/install3.thumbnail.jpg' alt='typo3 install 3' /></a></p>
<p>Partie 4 : Cliquez sur &#8220;continue to configure typo3&#8243;</p>
<p><a href='http://blog.donax.ch/wp-content/install4.jpg' title='typo3 install 4'><img src='http://blog.donax.ch/wp-content/install4.thumbnail.jpg' alt='typo3 install 4' /></a></p>
<p>Sous about > générer un nouveau mot de passe pour l&#8217;installer de Typo3.. une fois le mot de passe modifié, vous serez inviter à le saisir&#8230;</p>
<p>Sous Database Analyser > cliquer sur import > cocher la case Import the whole file « current_static » directly puis write database. Profitez pour créer un « admin user » </p>
<p>(Update wizard est utile en cas de mise à jour de Typo3 via les fichiers source&#8230;.)</p>
<p>Sous all configuration > consulter les paramètres qui vous semblent important.. et modifier si besoin est..</p>
<p>On peut maintenant accéder au Back-Office !</p>
<p><a href='http://blog.donax.ch/wp-content/backoffice.jpg' title='Typo3 back-office'><img src='http://blog.donax.ch/wp-content/backoffice.thumbnail.jpg' alt='Typo3 back-office' /></a></p>
<p>Sur la page d&#8217;accueil du Back-Office, une notice nous indique directement les éléments de sécurité à contrôler. Dans notre cas > user admin avec mot de passe password est encore existant + nous devons regénérer l&#8217;indexation de la DB, pour se faire il suffit d&#8217;aller sous tools DB check et de cliquer sur check and update global reference index et le tour est joué&#8230;</p>
<p><a href='http://blog.donax.ch/wp-content/important_notice.jpg' title='Typo3 notice'><img src='http://blog.donax.ch/wp-content/important_notice.thumbnail.jpg' alt='Typo3 notice' /></a></p>
<p>Pour conclure cette première partie, il est important de passer un certain à se familiariser avec le back-office&#8230; ne pas avoir peur de consulter les différentes parties, ceci permet d&#8217;avoir une étendue des différentes possibilités offerte par Typo3.</p>
<p>Dans mon prochain post, je créerai un site de base et expliquerai les manipulations de base.</p>
<p>bon we <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2008/03/07/installation-de-typo3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Présentation de CMS : Typo3</title>
		<link>http://blog.donax.ch/2007/12/09/presentation-de-cms-typo3/</link>
		<comments>http://blog.donax.ch/2007/12/09/presentation-de-cms-typo3/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 12:52:50 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Libre Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[cms-matrix]]></category>
		<category><![CDATA[content-managment-system]]></category>
		<category><![CDATA[gestion-de-site]]></category>
		<category><![CDATA[typo3]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/2007/12/09/presentation-de-cms-typo3/</guid>
		<description><![CDATA[Il existe une multitude d’outils qui facilitent la création et la gestion de site Web. Ces outils appelés CMS (Content Managment System) nécessitent certaines compétences ou temps d’adaptation.

Comment choisir son cms ? C’est bien connu, plus on a le choix, plus il est compliqué de choisir ! Heureusement il existe des sites qui aident à [...]]]></description>
			<content:encoded><![CDATA[<p>Il existe une multitude d’outils qui facilitent la création et la gestion de site Web. Ces outils appelés CMS (Content Managment System) nécessitent certaines compétences ou temps d’adaptation.</p>
<p><a href='http://www.cmsmatrix.org/' title='Cms matrix'><img src='http://blog.donax.ch/wp-content/cms_matrix.thumbnail.gif' alt='Cms matrix' /></a></p>
<p>Comment choisir son cms ? C’est bien connu, plus on a le choix, plus il est compliqué de choisir ! Heureusement il existe des sites qui aident à faire des comparaisons et donc des choix…<a href="http://www.cmsmatrix.org/">CMS MATRIX</a> permet de comparer entre eux les CMS et aide ainsi à effectuer un choix…MAIS rien ne vaut un simple test pour « être sûr » !</p>
<p><a href='http://www.typo3.org'><img src='http://blog.donax.ch/wp-content/logo-typo3.thumbnail.gif' alt='Logo Typo3' /></a></p>
<p>Je vais, dans un premier temps, vous présenter <a href="http://www.typo3.org">TYPO3</a> que j’ai été &#8220;contraint&#8221; d’utiliser pour des raisons professionnelles <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ) puis dans d’autres posts, vous expliquer l’installation et comment effectuer un site assez rapidement..<br />
Au début, très difficile à maîtriser (vu que je n’avais aucune notion, ni connaissance en matière de CMS), il s’est avéré, après un temps d’adaptation, très complet et performant.</p>
<p><strong>Voici qq plus qui caractérisent Typo3 :</strong></p>
<p>•	Multilinguisme<br />
•	Multisite<br />
•	Open Source<br />
•	Gratuit<br />
•	Nombreuses extensions existantes<br />
•	Documentation<br />
•	Support gratuit (forum) et en français également<br />
•	Backoffice complet<br />
•	CMS en php => possibilité de créer des plugins assez facilement<br />
•	Possibilité d’éditer en WYSIWYG<br />
•	Url rewriting<br />
•	De nombreuses institutions et entreprises l’utilisent ! (ex : état de vaud, Emil Frey, Airbus, etc..)</p>
<p><strong>Et.. les points négatifs :</strong></p>
<p>•	Ergonomie => pas super user friendly..<br />
•	Nécessite un temps d’adaptation relativement long si le site à faire est complexe<br />
•	Système de templating pas facile (en cours d’amélioration)<br />
•	Langage Typoscript propre à Typo3</p>
<p>Pour résumé, avant de se lancer dans une telle aventure, il est très important de lister les différentes fonctionnalités dont on a besoin…être sûr que ceux-ci sont pleinement repris par le cms de notre choix et de « peser » le rapport complexité / fonctionnalité !</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2007/12/09/presentation-de-cms-typo3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joomla! 1.5 RC3 — Codename Takriban</title>
		<link>http://blog.donax.ch/2007/10/06/joomla-15-rc3-%e2%80%94-codename-takriban/</link>
		<comments>http://blog.donax.ch/2007/10/06/joomla-15-rc3-%e2%80%94-codename-takriban/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 13:11:49 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Libre Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sur le web]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[Logiciels-Libres]]></category>
		<category><![CDATA[Open-Source]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/2007/10/06/joomla-15-rc3-%e2%80%94-codename-takriban/</guid>
		<description><![CDATA[La version finale de Joomla! 1.5 se précise avec cette Release Candidate 3. Pour rappel Joomla! a été créé par la société OpenSourceMatters le 17/08/2005 (rappel des faits 1 2) sur la base de Mambo (4.5.3). Depuis leur petit bébé a fait bien des progrès  

Un concours de template a été organisé, voila de [...]]]></description>
			<content:encoded><![CDATA[<p>La version finale de <a href="http://joomla.org/">Joomla!</a> 1.5 se précise avec cette <a href="http://joomlacode.org/gf/project/joomla/frs/?action=FrsReleaseBrowse&#038;frs_package_id=2892">Release Candidate 3</a>. Pour rappel <a href="http://joomla.org/">Joomla!</a> a été créé par la société <a href="http://www.opensourcematters.com/">OpenSourceMatters</a> le 17/08/2005 (rappel des faits <a href="http://forum.joomlafacile.com/showthread.php?p=8500">1</a> <a href="http://forum.joomlafacile.com/showthread.php?t=1894 ">2</a>) sur la base de Mambo (4.5.3). Depuis leur petit bébé a fait bien des progrès <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><center><a href='http://joomla.org/' title='Joomla! Because opens source matters'><img src='http://blog.donax.ch/wp-content/joomla-logo-horz-color-slogan.png' height='80px' alt='Joomla! Because opens source matters' /></a></center></p>
<p>Un concours de template a été organisé, voila de quoi trouver quelques petites perles: <a href="http://forum.joomla.org/index.php/board,479.0.html">http://forum.joomla.org/index.php/board,479.0.html<br />
</a></p>
<p>Les extensions sont aussi de un moyen simples d&#8217;ajouter des fonctionalités a ce puissant CMS: <a href="http://extensions.joomla.org/">http://extensions.joomla.org/<br />
</a></p>
<p>Pour soutenir Joomla! au &#8220;Open Source CMS Award 2007&#8243;:<br />
<a href='http://www.packtpub.com/article/overall-open-source-cms-award-final-joomla' title='2007 Open Source CMS Award Best PHP CMS Finalists'><img src='http://blog.donax.ch/wp-content/joomla-468x60.gif' alt='2007 Open Source CMS Award Best PHP CMS Finalists' /></a></p>
<p> + Votez pour Joomla! en tant que <a href="http://www.packtpub.com/article/overall-open-source-cms-award-final-joomla">vainqueur toutes catégories</a></p>
<p> + Votez pour Joomla! dans la catégorie <a href="http://www.packtpub.com/article/best-php-open-source-cms-award-final-joomla">meilleur CMS Open Source PHP</a></p>
<p>[<a href="http://www.joomla.org/content/view/3994/1/">voir la news officielle...</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2007/10/06/joomla-15-rc3-%e2%80%94-codename-takriban/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony et del.icio.us</title>
		<link>http://blog.donax.ch/2007/10/03/symfony-et-delicious/</link>
		<comments>http://blog.donax.ch/2007/10/03/symfony-et-delicious/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 11:26:34 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Sur le web]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[del.icio.us]]></category>
		<category><![CDATA[Framasoft]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Social-Bookmarking]]></category>
		<category><![CDATA[Web-2.0]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/2007/10/03/symfony-et-delicious/</guid>
		<description><![CDATA[Le site commoncraft fait des petits clips explicatifs sur les mouvements 2.0, comme les wiki, les blog, ou le social bookmarking. Ces clips sont dispos sous-titrés via dotsub.com ce qui pause quelques problèmes&#8230;
Voici le clip de del.icio.us:

Le framework Symfony s&#8217;est fait une bonne pub en étant utilisé par Yahoo! bookmarks, cette pub n&#8217;en est que [...]]]></description>
			<content:encoded><![CDATA[<p>Le site <a href="http://www.commoncraft.com/show">commoncraft</a> fait des petits clips explicatifs sur les mouvements 2.0, comme les wiki, les blog, ou le social bookmarking. Ces clips sont dispos sous-titrés via <a href="http://www.dotsub.com">dotsub.com </a>ce qui <a href="http://framablog.org/index.php/post/2007/07/30/rss-wiki-dotsub-et-le-libre">pause quelques problèmes</a>&#8230;</p>
<p>Voici le clip de del.icio.us:<br />
<iframe src="http://dotsub.com/api/smallplayer.php?filmid=1216&#038;filminstance=1218&#038;language=fr" frameborder="0" width="320" height="272"></iframe></p>
<p>Le framework <a href="http://www.symfony-project.com/">Symfony</a> s&#8217;est fait une bonne pub en étant utilisé par <a href="http://bookmarks.yahoo.com/">Yahoo! bookmarks</a>, cette pub n&#8217;en est que meilleur en étant utilisé pour la nouvelle mouture du numéro un du <a href="http://preview.delicious.com/">social bookmarking</a>! [<a href="http://www.sensiolabs.com/blog/post/2007/10/01/delicious-en-symfony">via</a>] [<a href="http://www.symfony-project.com/blog/2007/10/02/delicious-preview-built-with-symfony">via</a>] [<a href="http://www.prendreuncafe.com/blog/post/2007/10/02/Delicieuse-Symphonie">via</a>]</p>
<p>Au passage, mes liens del.icio.us:</p>
<ul>
<li><a href="http://del.icio.us/ponsfrilus/">Voir mon del.icio.us</a></li>
<li><a href="http://del.icio.us/network/ponsfrilus">Entrer dans mon réseau</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2007/10/03/symfony-et-delicious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sfFLVPlayer, un plugin pour Symfony</title>
		<link>http://blog.donax.ch/2007/08/19/sfflvplayer-un-plugin-pour-symfony/</link>
		<comments>http://blog.donax.ch/2007/08/19/sfflvplayer-un-plugin-pour-symfony/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 21:32:29 +0000</pubDate>
		<dc:creator>Raffaele Bolliger (ruf)</dc:creator>
				<category><![CDATA[Sur le web]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Développement]]></category>
		<category><![CDATA[Flash-Player]]></category>
		<category><![CDATA[Logiciels-Libres]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Vidéo]]></category>
		<category><![CDATA[Web-2.0]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/2007/08/19/sfflvplayer-un-plugin-pour-symfony/</guid>
		<description><![CDATA[Depuis quelques temps, nous sommes en train de préparer un petit projet (que nous gardons encore jalousement secret&#8230;) afin de nous familiariser avec le magnifique framework php Symfony. Nous en parlerons d&#8217;ici quelques temps&#8230;

Pour expliquer le fonctionnement d&#8217;une partie du site de notre projet, nous avons préparé un petit film Flash au format flv. Parmi [...]]]></description>
			<content:encoded><![CDATA[<p>Depuis quelques temps, nous sommes en train de préparer un petit projet (que nous gardons encore jalousement secret&#8230;) afin de nous familiariser avec le magnifique framework php <a href="http://www.symfony-project.com/">Symfony</a>. Nous en parlerons d&#8217;ici quelques temps&#8230;</p>
<p><a href='http://blog.donax.ch/wp-content/flv-player.jpg' title='flv-player'><img src='http://blog.donax.ch/wp-content/flv-player.jpg' alt='flv-player' /></a></p>
<p>Pour expliquer le fonctionnement d&#8217;une partie du site de notre projet, nous avons préparé un petit film Flash au format flv. Parmi les <a href="http://trac.symfony-project.com/trac/wiki/SymfonyPlugins">plugins pour symfony</a>, aucun offrait la possibilité d&#8217;intégrer directement un lecteur Flash (<a href="http://trac.symfony-project.com/trac/wiki/sfUFOPlugin">sfUFOPlugin</a> permet d&#8217;intégrer du Flash, mais n&#8217;offre pas de lecteur de films). Du coup en faisant le tour du web, nous avons rencontré <a href="http://portfolio.neolao.com/">Neolao</a> et son <a href="http://flv-player.net">lecteur</a>.</p>
<p>Neolao a développé plusieurs versions de son lecteur, afin de minimiser sa taille en kb en fonction des besoins. Nous avons choisi de prendre la version <a href="http://flv-player.net/players/multi/">multi</a>, qui offre la possibilité d&#8217;avoir des playlists et qui est très complète au niveau des options. Le lecteur de Neolao est extrêmement personnalisable: couleurs, taille des polices de caractères, comportement du lecteur,&#8230;.</p>
<p>Pour satisfaire nos besoins et pour contribuer au succès de Symfony, nous avons décidé de créer un plugin afin d&#8217;intégrer le lecteur de Neolao à la sauce Symfony. Le plugin est disponible sur le site officiel de Symfony, <a href="http://trac.symfony-project.com/trac/wiki/sfFLVPlayerPlugin">ici</a>. Pour le moment il est publié en version bêta, car il est encore très jeune et nécessite encore de quelques touches avant d&#8217;être considéré stable.  Nous avons déjà en tête quelques améliorations, mais nous attendons le feedback des utilisateurs pour voir si elles sont vraiment utiles&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2007/08/19/sfflvplayer-un-plugin-pour-symfony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Votes Framework / Toolkits</title>
		<link>http://blog.donax.ch/2007/06/09/votes-framework-toolkits/</link>
		<comments>http://blog.donax.ch/2007/06/09/votes-framework-toolkits/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 03:13:00 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=200</guid>
		<description><![CDATA[Quelques votes qui datent un peu mais qui restent néanmoins intéressants&#8230;

http://unspun.amazon.com/Top-PHP-frameworks/list/show/3464
http://unspun.amazon.com/Best-Model-View-Controller-Frameworks/list/show/2850
http://unspun.amazon.com/Ajax-Frameworks-Toolkits/list/show/3466

 Je découvre aussi la société smile et ses livres blanc! Excellent! Je vous suggère le &#8220;Livre blanc des Framework PHP&#8221; pour commencer&#8230; 
]]></description>
			<content:encoded><![CDATA[<p>Quelques votes qui datent un peu mais qui restent néanmoins intéressants&#8230;
<ul>
<li><a hreflang="fr" href="http://unspun.amazon.com/Top-PHP-frameworks/list/show/3464">http://unspun.amazon.com/Top-PHP-frameworks/list/show/3464</a></li>
<li><a hreflang="fr" href="http://unspun.amazon.com/Best-Model-View-Controller-Frameworks/list/show/2850">http://unspun.amazon.com/Best-Model-View-Controller-Frameworks/list/show/2850</a></li>
<li><a hreflang="fr" href="http://unspun.amazon.com/Ajax-Frameworks-Toolkits/list/show/3466">http://unspun.amazon.com/Ajax-Frameworks-Toolkits/list/show/3466</a></li>
</ul>
<p> Je découvre aussi la société <a hreflang="fr" href="http://smile.fr">smile</a> et ses <a hreflang="fr" href="http://www.smile.fr/content/smile/livreblanc/">livres blanc</a>! Excellent! Je vous suggère le &#8220;<a hreflang="fr" href="http://www.smile.fr/content/smile/livreblanc/frameworks_php.htm">Livre blanc des Framework PHP</a>&#8221; pour commencer&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2007/06/09/votes-framework-toolkits/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>La planète symfony évolue &#8211; symfony forge</title>
		<link>http://blog.donax.ch/2007/03/20/la-planete-symfony-evolue-symfony-forge/</link>
		<comments>http://blog.donax.ch/2007/03/20/la-planete-symfony-evolue-symfony-forge/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 18:41:00 +0000</pubDate>
		<dc:creator>Raffaele Bolliger (ruf)</dc:creator>
				<category><![CDATA[Logiciels]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=177</guid>
		<description><![CDATA[Plein de nouveautés du côté de symfony cette semaine. Après une problème de disponibilité du serveur le week-end dernier, symfony nous remercie pour notre patience en nous livrant la dernière version stable, à savoir la 1.0.1. Il s&#8217;agit d&#8217;une version de stabilisation, visant à corriger quelques trous de sécurité.

La semaine dernière Fabien Potencier, un des [...]]]></description>
			<content:encoded><![CDATA[<p>Plein de nouveautés du côté de symfony cette semaine. Après une problème de disponibilité du serveur le week-end dernier, symfony nous remercie pour notre patience en nous livrant la dernière version stable, à savoir la<a hreflang="en" href="http://www.symfony-project.com/weblog/2007/03/19/symfony-1-0-1-released.html"> 1.0.1</a>. Il s&#8217;agit d&#8217;une version de stabilisation, visant à corriger quelques trous de sécurité.</p>
<p>
<p>La semaine dernière Fabien Potencier, un des créateurs du projet symfony, a passé un peu de temps au Québec pour donner des conférences. Ses slides disponibles <a hreflang="en" href="http://www.symfony-project.com/weblog/2007/03/19/php-quebec-conference.html">ici</a> en français et anglais, donnent une idée très précise des bénéfices apportés par symfony.</p>
<p>
<p>Mais la plus grande nouveauté est certainement la création d&#8217;un nouveau portail d&#8217;échange dédié à symfony: <a hreflang="en" href="http://www.symfony-forge.com/">symfony-forge</a>. </p>
<p>Largement inspiré de celui de <a hreflang="en" href="http://forge.joomla.org">Joomla!</a>, symfony-forge devient un portai incontournable pour ceux qui veulent obtenir ou fournir à la communauté des plugins, des bouts de code ou de la documentation. Le site est actuellement en plein développement et sera certainement annoncé officiellement dans quelques jours. Nous sommes allés jeter un coup d&#8217;oeil et nous avons trouvé les rubriques suivantes:</p>
<ul>
<li>plugins: page dédiée à la documentation et au téléchargement des plugins</li>
<li>documentation: encore secret, mais on y trouvera probablement une copie du livre dédié à symfony</li>
<li>trac: accès direct au trac (et donc au code source) des plugins</li>
<li>forum: encore vide, il prendra probablement la place du <a hreflang="en" href="http://www.symfony-project.com/forum/">forum actuel</a></li>
</ul>
<p>
<p><img style="margin: 0 auto; display: block;" alt="" src="/public/images/symfony-forge.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2007/03/20/la-planete-symfony-evolue-symfony-forge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
