<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.llaumgui.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Le blog de llaumgui - Balise - Twitter</title>
  <link>http://www.llaumgui.com/</link>
  <atom:link href="http://www.llaumgui.com/feed/tag/Twitter/rss2" rel="self" type="application/rss+xml"/>
  <description>Linux en général, Fedora en particulier...</description>
  <language>fr</language>
  <pubDate>Fri, 05 Sep 2008 12:03:37 +0200</pubDate>
  <copyright>http://creativecommons.org/licenses/by-nc-nd/2.5/</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Charger des javascripts distants dans le &quot;domready&quot; de Mootools</title>
    <link>http://www.llaumgui.com/post/Charger-des-javascripts-distants-dans-le-domready-de-Mootools</link>
    <guid isPermaLink="false">urn:md5:4a0dd29a1ec198f9c6c07017f390e7b5</guid>
    <pubDate>Thu, 15 May 2008 20:22:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Développement web</category>
        <category>javascript</category><category>MooTools</category><category>Twitter</category>    
    <description>&lt;p&gt;Certains l'avaient peut-être remarqué, depuis quelques jours, le blog ramait grave ! Les symptômes : le bandeau, qui change selon l'heure de la journée, ainsi que différentes couleurs du site mettaient du temps à s'afficher.&lt;/p&gt;


&lt;p&gt;La faute &lt;a href=&quot;http://twitter.com/badges/html&quot; hreflang=&quot;en&quot; title=&quot;Twitter / HTML Badge Customizer&quot;&gt;au script&lt;/a&gt; de &lt;a href=&quot;http://twitter.com&quot; hreflang=&quot;en&quot; title=&quot;What are you doing?&quot;&gt;Twitter&lt;/a&gt; qui ralentissait le chargement de la page et reculait d'autant l'évènement &lt;a href=&quot;http://docs.mootools.net/Window/Window-DomReady.js&quot; hreflang=&quot;en&quot; title=&quot;Documentation MooTools : Window.DomReady.js&quot;&gt;domready&lt;/a&gt; de &lt;a href=&quot;http://mootools.net&quot; hreflang=&quot;en&quot; title=&quot;MooTools is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer&quot;&gt;MooTools&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;C'est après avoir posé &lt;a href=&quot;http://forum.mootools.net/viewtopic.php?pid=48752#p48752&quot; hreflang=&quot;en&quot;&gt;la question&lt;/a&gt; sur &lt;a href=&quot;http://forum.mootools.net&quot; hreflang=&quot;en&quot;&gt;les forums de MooToos&lt;/a&gt; que la solution c'est offerte à moi : construire l'élément &amp;lt;script&amp;gt; qui appelle les javascripts de Twitter dynamiquement et dans le domready, c'est à dire une fois mon design en place.&lt;/p&gt;


&lt;p&gt;J'ai pour cela mis en place une petite fonction sur laquelle vous pouvez vous appuyer :&lt;/p&gt;    &lt;code class=&quot;javascript&quot;&gt;&lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* &lt;br /&gt;
&amp;nbsp;* Mootools : onDOMReady&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* Remarque : les actions prioritaires en premier.&lt;br /&gt;
-------------------------------------------------------- */&lt;/span&gt;&lt;br /&gt;
window.&lt;span style=&quot;color: #006600;&quot;&gt;addEvent&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'domready'&lt;/span&gt;, &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; nodoka&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;new&lt;/span&gt; Nodoka&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; scripts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* twitter */&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #3366CC;&quot;&gt;'http://twitter.com/javascripts/blogger.js'&lt;/span&gt;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #3366CC;&quot;&gt;'http://twitter.com/statuses/user_timeline/llaumgui.json?callback=twitterCallback2&amp;amp;count=5&amp;quot;'&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* [ . . . ] */&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nodoka.&lt;span style=&quot;color: #006600;&quot;&gt;loadJS&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; scripts &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* [ . . . ] */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;// EODR&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* [ . . . ] */&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; Nodoka&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* [ . . . ] */&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* Ajout des Javascripts distant&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* @author Guillaume Kulakowski &amp;lt;guillaume_AT_llaumgui_DOT_com&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* @since 1.0.1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;loadJS&lt;/span&gt; = &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; loadJS&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; scripts &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scripts.&lt;span style=&quot;color: #006600;&quot;&gt;each&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;src&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; loadJS = &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;new&lt;/span&gt; Element&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'script'&lt;/span&gt;, &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #3366CC;&quot;&gt;'src'&lt;/span&gt;: src,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #3366CC;&quot;&gt;'type'&lt;/span&gt;: &lt;span style=&quot;color: #3366CC;&quot;&gt;'text/javascript'&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #006600;&quot;&gt;injectInside&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;document.&lt;span style=&quot;color: #006600;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;/* [ . . . ] */&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;; &lt;span style=&quot;color: #009900; font-style: italic;&quot;&gt;// EOC&lt;/span&gt;&lt;/code&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Charger-des-javascripts-distants-dans-le-domready-de-Mootools#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Charger-des-javascripts-distants-dans-le-domready-de-Mootools#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/430</wfw:commentRss>
      </item>
    
  <item>
    <title>En vrac n°5</title>
    <link>http://www.llaumgui.com/post/En-vrac-n5</link>
    <guid isPermaLink="false">urn:md5:cee5d86c04ea15b1f2ca7bd17258fd8b</guid>
    <pubDate>Thu, 01 May 2008 10:57:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Humeur</category>
        <category>Dotclear</category><category>Live eTIC</category><category>Mugshot</category><category>PunBB</category><category>Twitter</category>    
    <description>&lt;p&gt;Ça faisait longtemps que je n'avais pas fait un billet de vrac...&lt;/p&gt;
&lt;p&gt;Au sommaire :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PunBB.org déménage&lt;/li&gt;
&lt;li&gt;Dotclear 2.0 RC1&lt;/li&gt;
&lt;li&gt;Twitter&lt;/li&gt;
&lt;li&gt;FISE&lt;/li&gt;
&lt;li&gt;Logo Fedora 9&lt;/li&gt;
&lt;li&gt;301&lt;/li&gt;
&lt;li&gt;2ème Live eTIC Party de Montpellier&lt;/li&gt;
&lt;/ul&gt;    &lt;h2&gt;PunBB.org déménage&lt;/h2&gt;
&lt;p&gt;Depuis que &lt;a href=&quot;http://punbb.informer.com&quot; hreflang=&quot;en&quot; title=&quot;PunBB is a fast and lightweight PHP-powered discussion board&quot;&gt;PunBB&lt;/a&gt; est sponsorisé par une entreprise, la version 1.3 avance plus vite (pas assez à mon goût). Par contre, &lt;a href=&quot;http://www.punbb.fr/forums/viewtopic.php?id=7729&quot; hreflang=&quot;fr&quot; title=&quot;PunBB déménage et des News de la 1.3&quot;&gt;il faut faire certaines contre-parties&lt;/a&gt;... Notons quand même que &lt;a href=&quot;http://punbb.informer.com/forums/viewtopic.php?id=19084&quot; hreflang=&quot;en&quot; title=&quot;Moving to a new domain&quot;&gt;nos amis Américains le prennent beaucoup moins bien&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Dotclear 2.0 RC1&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://www.dotclear.net/&quot; hreflang=&quot;fr&quot; title=&quot;Gestionnaire de blog&quot;&gt;Dotclear&lt;/a&gt; 2.0 arrive en version &lt;acronym title=&quot;Release Candidat&quot;&gt;RC&lt;/acronym&gt;1 avec &lt;a href=&quot;http://www.dotclear.net/blog/post/2008/05/01/Dotclear-20-RC1&quot; hreflang=&quot;fr&quot; title=&quot;Dotclear 2.0 RC1&quot;&gt;plein de nouveautés pour ceux qui sont restés en bêta 7&lt;/a&gt;. De mon côté, j'ai suivi les évolutions jour après jour : &lt;a href=&quot;http://www.llaumgui.com/post/Mise-a-jour-automatique-de-Dotclear-20-et-de-ses-plugins-a-partir-du-SVN-update&quot; hreflang=&quot;fr&quot; title=&quot;Mise à jour automatique de Dotclear 2.0 et de ses plugins, à partir du SVN (update)&quot;&gt;SVN est mon ami&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Twitter&lt;/h2&gt;
&lt;p&gt;Après le blogging, le &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Microblog&quot;&gt;microblogging&lt;/a&gt; : je m'essaie à &lt;a hreflang=&quot;en&quot; href=&quot;http://twitter.com&quot;&gt;Twitter&lt;/a&gt;... Pourquoi le choix de Twitter ? Pour son intégration dans &lt;a hreflang=&quot;en&quot; href=&quot;http://mugshot.org/&quot;&gt;Mugshot&lt;/a&gt;. Pour le moment je passe par &lt;a hreflang=&quot;en&quot; href=&quot;https://addons.mozilla.org/fr/firefox/addon/5081&quot;&gt;TwitterFox&lt;/a&gt; mais il faudrait que je teste &lt;a hreflang=&quot;en&quot; href=&quot;http://live.gnome.org/DanielMorales/Twitux&quot; title=&quot;Twitux is a GTK+ Twitter client&quot;&gt;Twitux&lt;/a&gt; ou &lt;a href=&quot;http://jimmac.musichall.cz/log/?p=431&quot; hreflang=&quot;en&quot;&gt;Twitm&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;FISE&lt;/h2&gt;
&lt;p&gt;En ce 1&lt;sup&gt;er&lt;/sup&gt; Mai, je m'en vais défiler sur les berges du Lèz pour aller regarder le &lt;a href=&quot;http://www.fise-events.com/&quot; hreflang=&quot;en&quot;&gt;FISE&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Logo Fedora 9&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://ryanler.wordpress.com/2008/05/01/fedora-9-animated-banner/&quot; hreflang=&quot;en&quot; title=&quot;Fedora 9 animated banner/&quot;&gt;Vu&lt;/a&gt; sur le blog de &lt;a href=&quot;http://ryanler.wordpress.com&quot; hreflang=&quot;en&quot;&gt;Ryan Lerch&lt;/a&gt; :&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/fedora/fedora9/fedora9_animation.gif&quot; alt=&quot;Fedora 9 - Bannière animée&quot; style=&quot;margin: 0 auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;301&lt;/h2&gt;
&lt;p&gt;Et oui, déjà 300 billets publiés sur mon blog... Pourquoi le compteur n'en affiche que 294 ? Car vraisemblablement il y en a 7 que j'ai dépublié depuis. Mais je préfère prendre en comte le compteur de l'administration de Dotclear... Allez, rendez-vous pour le 400ème.&lt;/p&gt;
&lt;h2&gt;2ème Live eTIC Party de Montpellier&lt;/h2&gt;
&lt;p&gt;Pas grand monde malheureusement. Je mettrai mes slides ainsi que la vidéo Youtube de l'intervention dans la semaine.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/En-vrac-n5#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/En-vrac-n5#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/424</wfw:commentRss>
      </item>
    
</channel>
</rss>