<?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>Wibeset &#187; Javascript</title>
	<atom:link href="http://wibeset.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://wibeset.com</link>
	<description>Building websites</description>
	<lastBuildDate>Sun, 14 Mar 2010 16:25:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Plugin jQuery: fieldSelection</title>
		<link>http://wibeset.com/plugin-jquery-fieldselection/</link>
		<comments>http://wibeset.com/plugin-jquery-fieldselection/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 18:02:21 +0000</pubDate>
		<dc:creator>Wibeset</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://wibeset.com/?p=124</guid>
		<description><![CDATA[Le plugin fieldSelection permet d&#8217;obtenir du texte sélectionné et de la replacer. Très léger et très pratique lorsque vous développer votre propre Rich Text Editor.
]]></description>
			<content:encoded><![CDATA[<p>Le plugin <a href="http://cfsilence.com/blog/client/index.cfm/2009/7/31/RetrieveReplace-Selected-Text-With-jQuery">fieldSelection</a> permet d&#8217;obtenir du texte sélectionné et de la replacer. Très léger et très pratique lorsque vous développer votre propre Rich Text Editor.</p>
]]></content:encoded>
			<wfw:commentRss>http://wibeset.com/plugin-jquery-fieldselection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Highlighter son code dans un billet&#8230;</title>
		<link>http://wibeset.com/highlighter-son-code-dans-un-billet/</link>
		<comments>http://wibeset.com/highlighter-son-code-dans-un-billet/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 02:04:58 +0000</pubDate>
		<dc:creator>Wibeset</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://wibeset.com/?p=100</guid>
		<description><![CDATA[J&#8217;ai découvert récemment un petit plugin JavaScript vraiment cool qui permet d&#8217;highlighter du code. D&#8217;ailleurs, je l&#8217;ai utilisé pour la première fois dans le billet &#8220;Obtenir un permalink en JavaScript&#8220;.
Ce plugin supporte les langages suivant: C++, PHP, Javascript, CSS, C#, Delphi, Java, Python, Ruby, Sql, VB et XML/HTML.
Google Syntax Highlighter
Un court aperçu Php:

  &#60;?php

 [...]]]></description>
			<content:encoded><![CDATA[<p>J&#8217;ai découvert récemment un <a title="Google Syntax Highlighter" href="http://code.google.com/p/syntaxhighlighter/">petit plugin JavaScrip</a>t vraiment cool qui permet d&#8217;highlighter du code. D&#8217;ailleurs, je l&#8217;ai utilisé pour la première fois dans le billet &#8220;<a title="Obtenir un permalink en JavaScript" href="http://wibeset.com/obtenir-un-permalink-en-javascript/">Obtenir un permalink en JavaScript</a>&#8220;.</p>
<p>Ce plugin supporte les langages suivant: C++, PHP, Javascript, CSS, C#, Delphi, Java, Python, Ruby, Sql, VB et XML/HTML.</p>
<p><a title="Google Syntax Highlighter" href="http://code.google.com/p/syntaxhighlighter/">Google Syntax Highlighter</a></p>
<p>Un court aperçu Php:</p>
<pre name="code" class="Php">
  &lt;?php

  // Best PHP script I ever made ;)
  echo 'Hello world!';
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wibeset.com/highlighter-son-code-dans-un-billet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obtenir un permalink en JavaScript</title>
		<link>http://wibeset.com/obtenir-un-permalink-en-javascript/</link>
		<comments>http://wibeset.com/obtenir-un-permalink-en-javascript/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 01:49:43 +0000</pubDate>
		<dc:creator>Wibeset</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://wibeset.com/?p=96</guid>
		<description><![CDATA[La fonction to_permalink() est une simple fonction JavaScript qui vous permettra de transformer une string en permalink.

/**
 * Return string as permalink
 */
function to_permalink(str) {

  // remove accent
  str = str.replace(/[?&#124; âä]/gi,"a");
  str = str.replace(/[éèêë]/gi,"e");
  str = str.replace(/[îï]/gi,"i");
  str = str.replace(/[ôö]/gi,"o");
  str = str.replace(/[ùûü]/gi,"u");

  // remove special chars
 [...]]]></description>
			<content:encoded><![CDATA[<p>La fonction <strong>to_permalink()</strong> est une simple fonction JavaScript qui vous permettra de transformer une string en permalink.</p>
<pre name="code" class="JScript">
/**
 * Return string as permalink
 */
function to_permalink(str) {

  // remove accent
  str = str.replace(/[?| âä]/gi,"a");
  str = str.replace(/[éèêë]/gi,"e");
  str = str.replace(/[îï]/gi,"i");
  str = str.replace(/[ôö]/gi,"o");
  str = str.replace(/[ùûü]/gi,"u");

  // remove special chars
  str = str.replace(/[^a-z0-9_]/gim, "_").replace(/[_+]/gi, "_");

  return str;
}
</pre>
<p>Un exemple&#8230;</p>
<pre name="code" class="JScript">

  var str = "Je suis le titre d'un article époustouflant!";

  // Retournera le permalink 'Je_suis_le_titre_dun_article_epoustouflant'
  var permalink = to_permalink(str);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wibeset.com/obtenir-un-permalink-en-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
