<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>blog.donax.ch</title>
	
	<link>http://blog.donax.ch</link>
	<description>ça blogue et c'est piquant...</description>
	<lastBuildDate>Thu, 11 Mar 2010 10:41:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/blog/donax" /><feedburner:info uri="blog/donax" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>blog/donax</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>eps2png avec convert (Image Magick)</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/0ksso_EE344/</link>
		<comments>http://blog.donax.ch/2010/03/11/eps2png-avec-convert-image-magick/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:41:18 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[convertion]]></category>
		<category><![CDATA[eps]]></category>
		<category><![CDATA[eps2png]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=557</guid>
		<description><![CDATA[Cela fait plusieurs fois que je me prend la tête a convertir une image du format EPS en PNG. Bien sûr un convert image.eps image.png fonctionne mais le résultat est vraiment décevant! Après une petite promenade assistée par des moteurs de recherche, et en particulier pour arriver sur la page de convert et celle d&#8217;explications [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.donax.ch/wp-content/logo-image-magick.jpg"><img src="http://blog.donax.ch/wp-content/logo-image-magick.jpg" alt="" title="logo-image-magick" width="114" height="118" class="alignleft size-full wp-image-558" /></a>Cela fait plusieurs fois que je me prend la tête a convertir une image du format <a href="http://en.wikipedia.org/wiki/Encapsulated_PostScript">EPS</a> en <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">PNG</a>. Bien sûr un <code>convert image.eps image.png</code> fonctionne mais le résultat est vraiment décevant! Après une petite promenade assistée par des moteurs de recherche, et en particulier pour arriver sur la page de <a href="http://www.imagemagick.org/script/convert.php">convert</a> et celle <a href="http://www.imagemagick.org/Usage/formats/#png_formats">d&#8217;explications</a> sur le format <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">PNG</a>, je suis en mesure de vous livrer la commande magique (c&#8217;est le cas de le dire, puisqu&#8217;elle utilise d&#8217;<a href="http://www.imagemagick.org">ImageMagick</a>):<br />
<code>convert -density 700x700 -colorspace CMYK "image.eps" -transparent black -trim -quality 100 -resize 1500 "image.png"</code></p>
<p>Je vous laisse <a href="http://en.wikipedia.org/wiki/RTFM">RTFM</a> pour les options!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/03/11/eps2png-avec-convert-image-magick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/03/11/eps2png-avec-convert-image-magick/</feedburner:origLink></item>
		<item>
		<title>Appcelerator Titanium</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/L6eM5dy11Ao/</link>
		<comments>http://blog.donax.ch/2010/03/10/appcelerator-titanium/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:04:49 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Libre Open Source]]></category>
		<category><![CDATA[Sur le web]]></category>
		<category><![CDATA[titanium]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=552</guid>
		<description><![CDATA[Voilà un produit qui mérite un peu d&#8217;attention&#8230; Titanum est une plateforme de développement utilisant des langages web (HTML, JavaScript, Python, Ruby, PHP) pour créer des applications natives multi-plateformes. Après l&#8217;échec cuisant du Web OS du Palm Pré Titanum arrivera peut-être à démocratiser ces langages pour des applicatifs de tout les jours. J&#8217;ai bien envie [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.donax.ch/wp-content/PROD_tit_platform2.png"><img src="http://blog.donax.ch/wp-content/PROD_tit_platform2-150x150.png" alt="" title="PROD_tit_platform2" width="150" height="150" class="alignleft size-thumbnail wp-image-553" /></a>Voilà un produit qui mérite un peu d&#8217;attention&#8230; <a href="http://www.appcelerator.com/products/titanium-cross-platform-application-development/">Titanum</a> est une plateforme de développement utilisant des langages web (HTML, JavaScript, Python, Ruby, PHP) pour créer des applications natives multi-plateformes. Après l&#8217;échec cuisant du Web OS du Palm Pré <a href="http://www.appcelerator.com/products/titanium-cross-platform-application-development/">Titanum</a> arrivera peut-être à démocratiser ces langages pour des applicatifs de tout les jours. J&#8217;ai bien envie de tester dans tous les cas&#8230;.</p>
<p>Quelques liens:<br ></p>
<ul>
<li><a href="http://www.appcelerator.com">http://www.appcelerator.com</a></li>
<li><a href="http://www.appcelerator.com/showcase">http://www.appcelerator.com/showcase</a>/</li>
<li><a href="http://www.mobinaute.com/328940-titanium-html-javascript-application-native.html">http://www.mobinaute.com</a></li>
<li><a href="http://www.clubic.com/actualite-328940-titanium-html-et-javascript-pour-une-application-native.html">http://www.clubic.com</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/03/10/appcelerator-titanium/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/03/10/appcelerator-titanium/</feedburner:origLink></item>
		<item>
		<title>Vacances à Sharm El Sheik</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/pQCVtALOYto/</link>
		<comments>http://blog.donax.ch/2010/03/05/vacances-a-sharm-el-sheik/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 08:00:24 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[Egypte]]></category>
		<category><![CDATA[Sharm El Sheik]]></category>
		<category><![CDATA[vacances]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=511</guid>
		<description><![CDATA[Voilà qq photos et point de vue sur notre voyage à Sharm El Sheik (EG)

Date des vacances : 30 janvier au 6 février 2010
Hôtel : Sol El Sharm (trouvé sur easyjet holidays)
Argent pris : 1200£ EG (1 CHF équivaut env à 4£ EG) + 70€
Je vais me la jouer un peu &#8220;journal de voyage&#8221;, on [...]]]></description>
			<content:encoded><![CDATA[<p>Voilà qq photos et point de vue sur notre voyage à <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=fr&#038;q=Charm+el-Cheikh,+Sud+de+Sina%C3%AF,+%C3%89gypte&#038;sll=36.879621,-95.712891&#038;sspn=79.688904,191.513672&#038;ie=UTF8&#038;cd=1&#038;geocode=FVgbqQEdoBsLAg&#038;split=0&#038;hq=&#038;hnear=Charm+el-Cheikh,+Sud+de+Sina%C3%AF,+%C3%89gypte&#038;z=10">Sharm El Sheik (EG)</a></p>
<p><a href="http://blog.donax.ch/wp-content/sharm2010/2.JPG" target="_blank" title="Hotel Sol Sharm"><img src="http://blog.donax.ch/wp-content/sharm2010/2.JPG" alt="Hotel Sol Sharm" width="300" /></a></p>
<p><strong>Date des vacances</strong> : 30 janvier au 6 février 2010<br />
<strong>Hôtel</strong> : <a href="http://www.solmelia.com/hotels/egypt/sharm-el-sheikh/sol-sharm/home.htm" target="_blank">Sol El Sharm</a> (trouvé sur <a href="http://holidays.easyjet.com/FR/" target="_blank">easyjet holidays</a>)<br />
<strong>Argent pris</strong> : 1200£ EG (1 CHF équivaut env à 4£ EG) + 70€</p>
<p>Je vais me la jouer un peu &#8220;journal de voyage&#8221;, on va voir ce que ça donne <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-511"></span><br />
Arrivée à l&#8217;aéroport le samedi après env 4h30 de vol. 1ère chose à l&#8217;arrivée, on nous demande de faire un visa&#8230; après avoir fait la queue pendant 10 min, un employé de l&#8217;aéroport parlant français (un des rares), nous indique que les personnes qui restent à Sharm El Sheik et qui n&#8217;ont pas l&#8217;intention d&#8217;en sortir (Caire, ou autre) n&#8217;ont pas besoin de visa&#8230;bon à savoir ! (15$ mine de rien <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>Bref, sortie de l&#8217;aéroport et 1ère &#8220;mauvaise expérience&#8221;..l&#8217;allée en taxi jusqu&#8217;à l&#8217;hôtel. L&#8217;hôtesse nous avait dit qu&#8217;il fallait compter max 70 Livres egyptiennes (1 CHF équivaut env à 4£ EG) mais que tous les taxis allaient nous aborder à 200£&#8230; et c&#8217;est bien évidemment ce qui c&#8217;est passé&#8230; après négociations j&#8217;étais arrivé à 100 £ (tout le monde parle&#8230;. RUSSE et anglais sur place&#8230;). En plein milieu du voyage, il me dit &#8220;c&#8217;est bien 100£ par personne&#8221; hein ? ARGGHHHH&#8230; bref je lui ai filé 150£ et pis voilà&#8230; j&#8217;ai horreur de me faire avoir.. et ça va être toutes les vacances comme ça&#8230;</p>
<p>Arrivée à l&#8217;hôtel, il a plutôt de la gueule ! Le jardin, piscine sont très beau&#8230;et le personnel est aussi agréable qu&#8217;un mur en béton ! Première chose qui frappe, tous les &#8220;grands&#8221; hôtels sont gardés par des sortes de vigiles armés.. et l&#8217;entrée principale a un portique comme dans les aéroports&#8230;surement des mesures suite aux différents attentats de ces dernières années&#8230;c&#8217;est sensé rassurer mais perso je trouve pas !</p>
<p>Pour faire bref, l&#8217;hôtel est assez propre, le personnel ben voilà&#8230;, et la nourriture est mezzo (grand buffet).. ils essaient de faire de la nourriture européenne mais ils ne devraient pas. L&#8217;hôtel se trouve à Montazah, qui est une plage un peu éloignée de TOUT, il y a je ne sais combien d&#8217;hôtel en construction dans les environs, à mon avis d&#8217;ici 2-3 ans ça serait peut-être plus intéressant de venir dans cette zone. L&#8217;hôtel propose un service de bus (3 départs par jour) pour aller dans une plage ultra touristique et à la vieille ville (un grand marché en gros). Contrairement au taxi, les tarifs sont abordables (2€/pers (aller-retour) pour la plage et 3€/pers pour le marché). Pour démontrer la sympathie de l&#8217;hôtel.. au resto il y a une fontaine type &#8220;EDEN&#8221;.. histoire d&#8217;éviter de devoir payer une boisson à chaque fois (3CHF LE COCA!!!!), on allait se servir à la fontaine&#8230; le 3ème jour, un des responsables nous fait c&#8217;est juste pour les ALL INCLUSIVE! Bref&#8230;heureusement qu&#8217;il y a une supermarché pas très loin&#8230;</p>
<p>Au niveau météo, il a fait grand soleil MAIS FROID! On a eu du vent quasiment toute la semaine..alors malgré 20-25°, on avait plutôt l&#8217;impression qu&#8217;il faisait 15&#8230;</p>
<p><a href="http://blog.donax.ch/wp-content/sharm2010/10.JPG" target="_blank" title="Old Sharm market 1"><img src="http://blog.donax.ch/wp-content/sharm2010/10.JPG" alt="Old Sharm market 1" width="300" /></a></p>
<p>Notre &#8220;excursion&#8221; au vieux marché était plutôt sympa..mais bon, on s&#8217;est fait limite agressé tous les 5m&#8230;et il ne faut pas avoir peur de NEGOCIER tous les prix&#8230; et comme j&#8217;aime pas négocier&#8230; <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>La plage Naama Bay est TRES TOURISTIQUE, c&#8217;est là ou vous trouverez toutes sortes d&#8217;amusement.. discos, bowling, casino, restos (fastfood => McDo, Pizza Hut, et j&#8217;en passe <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) etc&#8230; donc si vous voulez que ça bouge un peu, vous avez meilleure temps de prendre votre hôtel par là.. </p>
<p>Pour résumé:</p>
<ul>
<li>Les décors sont très beau (mix entre paysage aride et plages de sable fin)</li>
<li>La mer est ultra LIMPIDE !</li>
<li>Prévoir plutôt le mois de mars pour avoir du chaud</li>
<li>Choisir Naama Bay si vous comptez vous amuser un peu</li>
<li>Mieux servi en pension complète (peut-être privilégier les &#8220;tour operator&#8221; ?)</li>
<li>Ville TRES CHER&#8230; une des plus chers d&#8217;Egypte paraît-il&#8230;</li>
</ul>
<p>Et voilà toutes les photos..(cliquer dessus pour les voir toutes)</p>
<p><a href="http://blog.donax.ch/wp-content/sharm2010/1.JPG" rel="lightbox[roadtrip]" title="Hotel"><img src="http://blog.donax.ch/wp-content/sharm2010/1.JPG" alt="Hotel Sol Sharm" width="300" /></a></p>
<div style="visibilty:hidden;display:none;">
<a href="http://blog.donax.ch/wp-content/sharm2010/2.JPG" rel="lightbox[roadtrip]" title="Hotel Sol Sharm Vue"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/3.JPG" rel="lightbox[roadtrip]" title="Hotel Sol Sharm Jardin 1"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/4.JPG" rel="lightbox[roadtrip]" title="Hotel Sol Sharm Jardin 2"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/5.JPG" rel="lightbox[roadtrip]" title="Hotel Sol Sharm Plage"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/6.JPG" rel="lightbox[roadtrip]" title="Plage 1"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/7.JPG" rel="lightbox[roadtrip]" title="Plage 2"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/8.JPG" rel="lightbox[roadtrip]" title="Plage 3"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/9.JPG" rel="lightbox[roadtrip]" title="Mer"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/10.JPG" rel="lightbox[roadtrip]" title="Old Sharm market 1"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/11.JPG" rel="lightbox[roadtrip]" title="Old Sharm market 2"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/12.JPG" rel="lightbox[roadtrip]" title="Naama Bay 1"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/13.JPG" rel="lightbox[roadtrip]" title="Naama Bay 2"></a><br />
<a href="http://blog.donax.ch/wp-content/sharm2010/14.JPG" rel="lightbox[roadtrip]" title="Naama Bay 3"></a>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/03/05/vacances-a-sharm-el-sheik/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/03/05/vacances-a-sharm-el-sheik/</feedburner:origLink></item>
		<item>
		<title>La météo sur votre site (PHP-XML)</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/4npSSDEiYRc/</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>1</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/03/03/la-meteo-sur-votre-site-php-xml/</feedburner:origLink></item>
		<item>
		<title>J’ai retrouvé les Transformers !</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/zwR4gD6pe5E/</link>
		<comments>http://blog.donax.ch/2010/03/01/j-ai-retrouve-les-transformers/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 06:45:38 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[megatron]]></category>
		<category><![CDATA[optimus]]></category>
		<category><![CDATA[transformers]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=486</guid>
		<description><![CDATA[
Si c&#8217;est pas beau !!! j&#8217;ai trouvé la planque des Transformers!!! J&#8217;ai eu beau campé devant la porte.. j&#8217;ai pas vu d&#8217;Optimus ou de Mégatron sortir  
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.donax.ch/wp-content/DSCN0069.jpg"><img src="http://blog.donax.ch/wp-content/DSCN0069-300x225.jpg" alt="" title="DSCN0069" width="300" height="225" class="aligncenter size-medium wp-image-487" /></a></p>
<p>Si c&#8217;est pas beau !!! j&#8217;ai trouvé la planque des Transformers!!! J&#8217;ai eu beau campé devant la porte.. j&#8217;ai pas vu d&#8217;Optimus ou de Mégatron sortir <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/03/01/j-ai-retrouve-les-transformers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/03/01/j-ai-retrouve-les-transformers/</feedburner:origLink></item>
		<item>
		<title>Wifi lent sur Imac</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/pn8IUqhBX_I/</link>
		<comments>http://blog.donax.ch/2010/02/27/wifi-lent-sur-imac/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 06:44:59 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Techno - gadgets]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[problème]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=450</guid>
		<description><![CDATA[ Bizarre ! Ma connexion Wi-Fi était lente (1Mo alors que j&#8217;ai du 10Mo) que sur mon Imac&#8230; ! Mon ordinateur et autres &#8220;ustensiles&#8221; avaient une très bonne connexion&#8230; C&#8217;est en surfant sur un forum qu&#8217;on m&#8217;a soufflé la solution..
Il suffit de modifier le canal de diffusion du Wi-Fi pour que ça fonctionne correctement ! [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.donax.ch/wp-content/wifi-logo.jpg"><img src="http://blog.donax.ch/wp-content/wifi-logo-150x150.jpg" alt="" title="wifi-logo" width="150" height="150" class="alignleft size-thumbnail wp-image-480" /></a> Bizarre ! Ma connexion Wi-Fi était lente (1Mo alors que j&#8217;ai du 10Mo) que sur mon Imac&#8230; ! Mon ordinateur et autres &#8220;ustensiles&#8221; avaient une très bonne connexion&#8230; C&#8217;est en surfant sur un <a href="http://forum.macbidouille.com">forum</a> qu&#8217;on m&#8217;a soufflé la solution..</p>
<p>Il suffit de modifier le canal de diffusion du Wi-Fi pour que ça fonctionne correctement ! J&#8217;ai donc mis le sur le canal 2 à la place du 6 et je surf à la bonne vitesse ! Par contre, j&#8217;ai pas vraiment chercher à savoir pourquoi <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/02/27/wifi-lent-sur-imac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/02/27/wifi-lent-sur-imac/</feedburner:origLink></item>
		<item>
		<title>Configuration des points d’accès Sunrise sous Android</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/9cCT6pHzixI/</link>
		<comments>http://blog.donax.ch/2010/02/22/configuration-sunrise-android/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 13:49:28 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Libre Open Source]]></category>
		<category><![CDATA[Techno - gadgets]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[apn]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[sunrise]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=453</guid>
		<description><![CDATA[Lorsque qu&#8217;un téléphone sous Android est réinitialisé les paramètres d&#8217;accès Internet / MMS de votre fournisseur le sont aussi. Dès lors, plus moyen de se connecter à Internet sans Wifi ou de recevoir des MMS. C&#8217;est ce qui m&#8217;est arrivé en installant le mod de cyanogen sur mon HTC Magic. Les paramètres fournit par sunrise [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.donax.ch/wp-content/android-developers-150x150.png" alt="android" title="android" width="150" height="150" class="alignleft size-thumbnail wp-image-454" />Lorsque qu&#8217;un téléphone sous <a href="http://www.android.com/">Android</a> est réinitialisé les paramètres d&#8217;accès Internet / MMS de votre fournisseur le sont aussi. Dès lors, plus moyen de se connecter à Internet sans Wifi ou de recevoir des MMS. C&#8217;est ce qui m&#8217;est arrivé en installant le <a href="http://www.cyanogenmod.com/">mod de cyanogen</a> sur mon <a href="http://www.htc.com/www/product/magic/overview.html">HTC Magic</a>. Les paramètres fournit par <a href="http://www.sunrise.ch/fr/privatkunden/standardeinstellungen.htm">sunrise</a> n&#8217;étant pas très précis et indépendant de la machine, j&#8217;ai galeré avant d&#8217;avoir recours à l&#8217;aide de <a href="http://blog.jsansonnens.ch/post/root-dun-htc-magic-sunrise">Julien</a>. Pour que je retrouve ces paramètres la prochaines fois que j&#8217;en aurais besoin et pour les partager une bonne fois pour toute, les voilà&#8230; <span id="more-453"></span></p>
<p>Dans vos paramètres -> Connexions sans fil -> Réseaux mobiles -> Noms des points d&#8217;accès : Ajouter ou éditer </p>
<h3>Configuration des points d&#8217;accès (APN) Sunrise sous Android</h3>
<ol>
<li>
<h3>Sunrise MMS</h3>
<ul>
<li>Nom: Sunrise MMS</li>
<li>APN: mms.sunrise.ch</li>
<li>Proxy: rien</li>
<li>Port: rien</li>
<li>Nom d&#8217;utilisateur: mms</li>
<li>Mot de passe: mms</li>
<li>Serveur: rien</li>
<li>MMSC: http://mmsc.sunrise.ch</li>
<li>Proxy MMS: 212.35.34.75</li>
<li>Port MMS: 8080</li>
<li>MCC : 228</li>
<li>MNC : 02</li>
<li>Type d&#8217;APN (nom du point d&#8217;accès): rien</li>
</ul>
</li>
<li>
<h3>Sunrise Internet</h3>
<ul>
<li>Nom: Sunrise Internet</li>
<li>APN: Internet</li>
<li>Proxy: rien</li>
<li>Port: rien</li>
<li>Nom d&#8217;utilisateur: rien</li>
<li>Mot de passe: rien</li>
<li>Serveur: rien</li>
<li>MMSC: rien</li>
<li>Proxy MMS: rien</li>
<li>Port MMS: rien</li>
<li>MCC : 228</li>
<li>MNC : 02</li>
<li>Type d&#8217;APN (nom du point d&#8217;accès): default</li>
</ul>
</li>
</ol>
<p>Et voilà&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/02/22/configuration-sunrise-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/02/22/configuration-sunrise-android/</feedburner:origLink></item>
		<item>
		<title>Réactiver le pavé numérique sur Ubuntu</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/LoMKFIiZRYM/</link>
		<comments>http://blog.donax.ch/2010/02/11/reactiver-le-pave-numerique-sur-ubuntu/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:19:52 +0000</pubDate>
		<dc:creator>Nicolas Borboën</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Ubuntu/Linux]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=442</guid>
		<description><![CDATA[Petit post dans le catégorie Tips &#038; Tricks Ubuntu: Cela fait plusieurs fois que je désactive mon pavé numérique &#8220;par miracle&#8221; sans trop savoir comment le réactiver, iBus et SCIM étant de grosses boîtes noires pour moi. En fouillant un peu, puis finalement tombant sur ce post de la mailing liste d&#8217;ubuntu, il s&#8217;avère que [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.donax.ch/wp-content/keyboard_spadgy-150x150.jpg" alt="" title="keyboard_spadgy" width="150" height="150" class="alignleft size-thumbnail wp-image-443" />Petit post dans le catégorie Tips &#038; Tricks Ubuntu: Cela fait plusieurs fois que je désactive mon pavé numérique &#8220;par miracle&#8221; sans trop savoir comment le réactiver, <a href="http://doc.ubuntu-fr.org/ibus">iBus</a> et <a href="http://doc.ubuntu-fr.org/scim">SCIM</a> étant de grosses boîtes noires pour moi. En fouillant un peu, puis finalement tombant sur ce <a href="https://lists.ubuntu.com/archives/ubuntu-fr/2009-January/024962.html">post</a> de la mailing liste d&#8217;ubuntu, il s&#8217;avère que j&#8217;avais activé le système d&#8217;assistance&#8230; Et donc :<br />
<code>[Ctrl]+[Maj]+[Verr.Num]</code><br />
suffit a le désactiver. La procédure de désactivation &#8220;à travers le menu système&#8221; y est également décrite.</p>
<p>EDIT: encore un soucis de clavier (j&#8217;y suis abonné). et cette fois un<br />
<code>setxkbmap -layout ch -variant fr</code><br />
m&#8217;a permis de rétablir ma configuration d&#8217;origine.</p>
<p><small>photo: <a href="http://www.flickr.com/photos/spadgy/313251851/">http://www.flickr.com/photos/spadgy/313251851/</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/02/11/reactiver-le-pave-numerique-sur-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/02/11/reactiver-le-pave-numerique-sur-ubuntu/</feedburner:origLink></item>
		<item>
		<title>Le triomphe de l’Unicode</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/68tL4meCDfY/</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>
		<feedburner:origLink>http://blog.donax.ch/2010/02/05/le-triomphe-de-lunicode/</feedburner:origLink></item>
		<item>
		<title>De PC à Mac</title>
		<link>http://feedproxy.google.com/~r/blog/donax/~3/1hWbcje2ISI/</link>
		<comments>http://blog.donax.ch/2010/01/23/de-pc-a-mac/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 12:59:10 +0000</pubDate>
		<dc:creator>Diego Criscenti</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Techno - gadgets]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[PC]]></category>

		<guid isPermaLink="false">http://blog.donax.ch/?p=340</guid>
		<description><![CDATA[Voilà maintenant 2 semaines et demi que j&#8217;ai (enfin) reçu mon mac ! Et je dois quand même avouer que c&#8217;est le pied ! 
Avant de le recevoir, je craignais qq peu d&#8217;être perdu&#8230;entre mes habitudes &#8220;programmes Windows&#8221; et mes raccourcis clavier&#8230;et je dois dire que la transition s&#8217;est passée en douceur (et sans douleur [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.donax.ch/wp-content/apple-logo.jpg"><img src="http://blog.donax.ch/wp-content/apple-logo-150x150.jpg" alt="" title="apple-logo" width="150" height="150" class="alignleft size-thumbnail wp-image-406" /></a>Voilà maintenant 2 semaines et demi que j&#8217;ai (enfin) reçu mon mac ! Et je dois quand même avouer que c&#8217;est le pied ! </p>
<p>Avant de le recevoir, je craignais qq peu d&#8217;être perdu&#8230;entre mes habitudes &#8220;programmes Windows&#8221; et mes raccourcis clavier&#8230;et je dois dire que la transition s&#8217;est passée en douceur (et sans douleur <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p><span id="more-340"></span></p>
<p>Pour commencer, voilà qq programmes qui m&#8217;ont bien aidé à m&#8217;y retrouver <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h3>Les Logiciels</h3>
<p><strong>Les gratuits</strong></p>
<ul>
<li><a href="http://adium.im/">Adium</a> Un client multiprotocole pour le chat (msn, icq, facebook, etc..) en attendant digsby&#8230;</li>
<li><a href="http://fr.openoffice.org/">OpenOffice</a> Un Office gratuit pour toute la bureautique </li>
<li><a href="http://www.opera.com/download/?platform=mac">Opera</a> Le meilleur navigateur à mon avis.. </li>
<li><a href="http://www.mozilla-europe.org/fr/firefox/">Firefox</a> Pour son extension web developer <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  </li>
<li><a href="http://fr.www.mozillamessaging.com/fr/">Thunderbird</a> Client de messagerie si Mail vous horripile </li>
<li><a href="http://ez7z.en.softonic.com/mac">Ez7z</a> Pour gérer tous ce qui est archive (zip, 7zip, rar) </li>
<li><a href="http://sourceforge.net/projects/smultron/files/smultron/3.6b1/Smultron-3.6b1.zip/download">Smultron</a> Un éditeur de texte tout simple.. (un peu comme un notepad++)</li>
<li><a href="http://ntfsmounter.com/">Ntfsmounter</a> Un petit utilitaire pour pouvoir utiliser vos disques NTFS..</li>
<li><a href="http://zattoo.com/fr/download/macosx">Zattoo</a> Pour regarder un peu la télé <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li><a href="http://www.spotify.com/en/download/mac/">Spotify</a> Pour écouter un peu de musique (si vous avez déjà un compte)</li>
<li><a href="http://www.videolan.org/vlc/">VLC player</a> Pour pouvoir lire <strong>tous</strong> les fichiers vidéos</li>
<li><a href="http://www.titanium.free.fr/">Onyx</a> Permet de faire le nettoyage de l&#8217;historique et de réparer le boot si problème (entre autre..)</li>
<li><a href="http://uapp.en.softonic.com/mac">Uapp</a> Pour désinstaller complètement un programme</li>
<li><a href="http://cyberduck.ch/">Cyberduck</a> Dév > Pour faire du FTP </li>
<li><a href="http://www.mamp.info/en/downloads/index.html">Mamp</a> Dév > Un Wamp pour Mac la version gratuite suffit pour du dév en local</li>
<li><a href="http://netbeans.org/downloads/">NetBeans</a> Dév > Un très bon éditeur pour le code&#8230;</li>
</ul>
<p><strong>Les payants</strong></p>
<ul>
<li><a href="http://www.roxio.com/enu/products/toast/titanium/overview.html">Toast</a> Un programme de gravure fort sympathique&#8230;</li>
<li><a href="http://www.apple.com/fr/iwork/">IWork</a> Un Office sauce mac bien joli bien lissé </li>
<li><a href="http://www.microsoft.com/France/mac/products/Office2008/default.mspx">Microsoft Office</a> Si vraaaaiiimmmeeeeent les bugs vous manquent <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </li>
</ul>
<p>Voyons maintenant quelques paramètres du systèmes</p>
<h3>Préférences systèmes</h3>
<p><a href="http://blog.donax.ch/wp-content/sysprefs.jpg"><img src="http://blog.donax.ch/wp-content/sysprefs-150x150.jpg" alt="" title="sysprefs" width="150" height="150" class="alignleft size-thumbnail wp-image-408" /></a>Les préférences systèmes sont à Mac ce que le panneau de configuration est à Windows&#8230; c&#8217;est là où vous pourrez paramétrer la majeure partie des éléments de votre compagnon !<br />
Pour accéder aux préférences, cliquez sur la pomme en haut à gauche et choisissez Préférences systèmes.. that&#8217;s it !</p>
<ul>
<li>Dock > perso j&#8217;aime bien avoir TOUT l&#8217;écran.. donc je l&#8217;ai fait masquer automatiquement&#8230;</li>
<li>Exposé > J&#8217;ai configuré les coins de l&#8217;écran pour afficher le bureau / tous les programmes ouvert / afficher les &#8220;widgets&#8221; très pratique..</li>
<li>Spaces > permet d&#8217;avoir des bureaux comme sur linux (Ubuntu etc&#8230;)</li>
<li>Clavier > Afficher le visualisateur&#8230; > permet de pouvoir utiliser un caractère qu&#8217;on arrive désespérément à faire <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Et pour finir quelques raccourcis clavier <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Raccourcis clavier</h3>
<ul>
<li>@ > Alt + g</li>
<li>[ > Alt + 5</li>
<li>] > Alt + 6</li>
<li>{ > Alt + 8</li>
<li>} > Alt + 9</li>
<li>\ > Shift + Alt + 7</li>
<li>etc&#8230; </li>
</ul>
<p><a href="http://support.apple.com/kb/HT1343">Raccourcis Mac sur le site Apple</a><br />
<a href="http://www.funnymac.com/raccourcis/">Raccourcis Mac sur funnymac</a></p>
<p>Quelques liens utiles :<br />
<a href="http://www.apple.ch">www.apple.ch</a><br />
<a href="http://www.macbidouille.com/">www.macbidouille.com/</a><br />
<a href="http://www.journaldumac.com/">www.journaldumac.com/</a><br />
<a href="http://www.clubic.com">www.clubic.com</a><br />
<a href="http://mac-gratuit.fr/">http://mac-gratuit.fr/</a><br />
To Be continued&#8230; <img src='http://blog.donax.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donax.ch/2010/01/23/de-pc-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.donax.ch/2010/01/23/de-pc-a-mac/</feedburner:origLink></item>
	</channel>
</rss>
