<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>News</title>
    <link>http://leparlement.org/news/index.rss</link>
    <description>News</description>
    <item>
      <title>Re: News</title>
      <pubDate>2008-07-08 17:28:31+0200</pubDate>
      <link>http://leparlement.org/Re_News/index.rss</link>
      <comments>http://leparlement.org/Re_News/index.rss</comments>
      <dc:creator>123</dc:creator>
      <description>&lt;p&gt;&lt;span&gt;+1 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Version 0.16</title>
      <pubDate>2008-05-12 23:29:58+0200</pubDate>
      <link>http://leparlement.org/Version_016/index.rss</link>
      <comments>http://leparlement.org/Version_016/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;Sub domains to directly access elements&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;upgraded ie7 javascript hack&lt;/li&gt;
		&lt;li&gt;updraded ruzze border script&lt;/li&gt;
		&lt;li&gt;passage to full utf8&lt;/li&gt;
		&lt;li&gt;default element is the oldest one&lt;/li&gt;
		&lt;li&gt;subdomains redirect to the relevant element&lt;/li&gt;
		&lt;li&gt;antispam: only authenticated users can vote&lt;/li&gt;
		&lt;li&gt;better google sitesearch integration&lt;/li&gt;
		&lt;li&gt;links now partly work with subdomain&lt;/li&gt;
	&lt;/ul&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: Expanding textarea</title>
      <pubDate>2008-01-22 22:23:11+0100</pubDate>
      <link>http://leparlement.org/Re_Expanding_textarea_1/index.rss</link>
      <comments>http://leparlement.org/Re_Expanding_textarea_1/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;span&gt;-1 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Version 0.15</title>
      <pubDate>2008-01-22 22:21:18+0100</pubDate>
      <link>http://leparlement.org/Version_015/index.rss</link>
      <comments>http://leparlement.org/Version_015/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;Automatic widening text area. Rails 2&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;sidebar updates now defined as an environment constant&lt;/li&gt;
		&lt;li&gt;edition text area is widened, its height now follows its content&lt;/li&gt;
		&lt;li&gt;passage to rails 2.0.2&lt;/li&gt;
		&lt;li&gt;easier db installation&lt;/li&gt;
	&lt;/ul&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: Expanding textarea</title>
      <pubDate>2008-01-18 09:03:40+0100</pubDate>
      <link>http://leparlement.org/Re_Expanding_textarea/index.rss</link>
      <comments>http://leparlement.org/Re_Expanding_textarea/index.rss</comments>
      <description>&lt;p&gt;&lt;p&gt;To simplify usage, I&#8217;ve added a small feature: the text area used to write now automatically expands with its content.&lt;/p&gt;


	&lt;p&gt;That is you can write write write, scroll bars shouldn&#8217;t appear. Instead the textarea and surrounding page should vertically increase in size.&lt;/p&gt;


	&lt;p&gt;Technically it&#8217;s simple, and it works in firefox and IE. If any one happens to test it in other browsers, please, drop a comment!&lt;/p&gt;


	&lt;p&gt;For info, here is the javascript code (a lot originally comes from ajaxian):&lt;/p&gt;


	&lt;p&gt;&lt;a class="readMore" href="#" onclick="Element.hide(this); Element.removeClassName(this.parentNode.nextSibling, 'tooLarge'); return false;"&gt;Read more&amp;#8230; / Lire plus&amp;#8230;&lt;/a&gt;
&lt;div class="tooLarge"&gt;&lt;/p&gt;


	&lt;p&gt;Read more&#8230; / Lire plus&#8230;&lt;/p&gt;


	&lt;p&gt;__ Get vertical position&lt;br/&gt;
function findPosY(obj) {
  if (!obj) return 0;
  var curtop = 0;
  if (obj.offsetParent)
    while (1) {
      curtop += obj.offsetTop;
      if (!obj.offsetParent)
        break;
      obj = obj.offsetParent;
    }
  else if (obj.y)
    curtop += obj.y;
  return curtop;
}&lt;/p&gt;


	&lt;p&gt;__ Widen the elt until it is moved below or it is wider than its parent elt
__ Used in an &amp;#8220;onfocus&amp;#8221; event&lt;br/&gt;
function widen(elt) {
  if (elt.widened) return;
  elt.widened = true;
}&lt;/p&gt;


	&lt;p&gt;var initialPosition = findPosY(elt);&lt;br/&gt;
var initialParentWidth = elt.parentNode.offsetWidth;
while (initialPosition == findPosY(elt) &amp;#38;&amp;#38; elt.offsetWidth &amp;lt; initialParentWidth) {
  elt.cols = elt.cols + 1;
}
elt.cols = elt.cols &amp;#8211; 1;&lt;/p&gt;


	&lt;p&gt;__ Resize text area accordingly to its content&lt;br/&gt;
function resize(elt) {
  widen(elt);
  var lines = elt.value.split(&amp;#8217;\n&amp;#8217;);
  var newRows = lines.length + 1;
  var oldRows = elt.rows;
}&lt;/p&gt;


	&lt;p&gt;for (var i = 0; i &amp;lt; lines.length; i++) {
  var line = lines[i];
  if (line.length &amp;gt;= elt.cols) newRows += Math.floor(line.length / elt.cols);
}&lt;/p&gt;


	&lt;p&gt;if (newRows &amp;gt; elt.rows) elt.rows = newRows;&lt;br/&gt;
if (newRows &amp;lt; elt.rows) elt.rows = Math.max(5, newRows);&lt;/p&gt;


&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Expanding textarea</title>
      <pubDate>2007-10-22 00:24:33+0200</pubDate>
      <link>http://leparlement.org/Expanding_textarea/index.rss</link>
      <comments>http://leparlement.org/Expanding_textarea/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;To simplify usage, I&amp;#8217;ve added a small feature: the text area used to
write now automatically expands with its content.&lt;/p&gt;


	&lt;p&gt;That is you can write write write, scroll bars shouldn&amp;#8217;t appear. Instead
the textarea and surrounding page should vertically increase in size.&lt;/p&gt;


	&lt;p&gt;Technically it&amp;#8217;s simple, and it works in firefox and IE. If any one
happens to test it in other browsers, please, drop a comment!&lt;/p&gt;


	&lt;p&gt;For info, here is the javascript code (a lot originally comes from
ajaxian):&lt;/p&gt;


	&lt;p&gt;&lt;a class="readMore" href="#" onclick="Element.hide(this); Element.removeClassName(this.parentNode.nextSibling, 'tooLarge'); return false;"&gt;Read more&amp;#8230; / Lire plus&amp;#8230;&lt;/a&gt;
&lt;div class="tooLarge"&gt;&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;__ Get vertical position
function findPosY(obj) {
  if (!obj) return 0;
  var curtop = 0;
  if (obj.offsetParent)
    while (1) {
      curtop += obj.offsetTop;
      if (!obj.offsetParent)
        break;
      obj = obj.offsetParent;
    }
  else if (obj.y)
    curtop += obj.y;
  return curtop;
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;__ Widen the elt until it is moved below or it is wider than its parent elt
__ Used in an "onfocus" event
function widen(elt) {
  if (elt.widened) return;
  elt.widened = true;
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;var initialPosition = findPosY(elt);
var initialParentWidth = elt.parentNode.offsetWidth;
while (initialPosition == findPosY(elt) &amp;#38;&amp;#38; elt.offsetWidth &amp;lt; initialParentWidth) {
  elt.cols = elt.cols + 1;
}
elt.cols = elt.cols - 1;&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;__ Resize text area accordingly to its content
function resize(elt) {
  widen(elt);
  var lines = elt.value.split('\n');
  var newRows = lines.length + 1;
  var oldRows = elt.rows;
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;for (var i = 0; i &amp;lt; lines.length; i++) {
  var line = lines[i];
  if (line.length &amp;gt;= elt.cols) newRows += Math.floor(line.length / elt.cols);
}&lt;/code&gt;&lt;/pre&gt;


	&lt;pre&gt;&lt;code&gt;if (newRows &amp;gt; elt.rows) elt.rows = newRows;
if (newRows &amp;lt; elt.rows) elt.rows = Math.max(5, newRows);&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: News</title>
      <pubDate>2007-10-08 14:15:09+0200</pubDate>
      <link>http://leparlement.org/Re_News_35/index.rss</link>
      <comments>http://leparlement.org/Re_News_35/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;&amp;#8220;Tout sur le soft 100% libre&amp;#8221;&lt;/p&gt;


	&lt;p&gt;Voici un site fran&#231;ais pour suivre les mises &#224; jours de nos logiciels.&lt;/p&gt;


	&lt;p&gt;Parlement est &#224; la page&lt;br/&gt;
&lt;a href="http://www.jesuislibre.org/user/progdetail.php3?action=view&amp;#38;idprog=599"&gt;http://www.jesuislibre.org/user/progdetail.php3?action=view&amp;#38;idprog=599&lt;/a&gt;&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Version 0.14</title>
      <pubDate>2007-10-07 17:11:27+0200</pubDate>
      <link>http://leparlement.org/Version_014/index.rss</link>
      <comments>http://leparlement.org/Version_014/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;Heavily modified skin where anonymous users can no longer vote but can write and login at the same time.&lt;/p&gt;


	&lt;p&gt;Simplified and faster &lt;span class="caps"&gt;HTML&lt;/span&gt;. Shaded border.&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;protection against some browsers who update too frequently their views&lt;/li&gt;
		&lt;li&gt;no more deprecations and errors&lt;/li&gt;
		&lt;li&gt;moved all elt lists to app/views/elt/list directory&lt;/li&gt;
		&lt;li&gt;skin heavily modified, simplified&lt;/li&gt;
		&lt;li&gt;shaded border script&lt;/li&gt;
		&lt;li&gt;anonymous users are not able to vote anymore&lt;/li&gt;
		&lt;li&gt;results displayed only to those who have voted&lt;/li&gt;
		&lt;li&gt;faster view update&lt;/li&gt;
		&lt;li&gt;anonymous users can write and login at the same time&lt;/li&gt;
	&lt;/ul&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: Database upgrade</title>
      <pubDate>2007-06-22 10:35:06+0200</pubDate>
      <link>http://leparlement.org/Re_Database_upgrade_1/index.rss</link>
      <comments>http://leparlement.org/Re_Database_upgrade_1/index.rss</comments>
      <dc:creator>eggy</dc:creator>
      <description>&lt;p&gt;&lt;span&gt;+1 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Database upgrade</title>
      <pubDate>2007-06-18 13:51:11+0200</pubDate>
      <link>http://leparlement.org/Database_upgrade/index.rss</link>
      <comments>http://leparlement.org/Database_upgrade/index.rss</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;PostgreSQL has been upgraded. From version 8.1 to 8.2.&lt;/p&gt;


	&lt;p&gt;This was a test to alleviate some of the load. Due to the choice of the &amp;#8220;nested tree set&amp;#8221; algorithm to organize the tree of elements, there were transactions failing when trying to insert new elements at the beginning of the set.&lt;/p&gt;


	&lt;p&gt;The new database seems much much faster. No more failed transactions (for the time being), and the pages actually render much faster. Generally less than one second for the largest one.&lt;/p&gt;


	&lt;p&gt;That&amp;#8217;s &lt;strong&gt;good news&lt;/strong&gt;! :-)&lt;/p&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
