<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>echarp's blog</title>
    <link>http://blog.echarp.org/blog/vote.rss</link>
    <description>echarp's blog</description>
    <item>
      <title>JavaScript filter/search in table</title>
      <vote>3</vote>
      <pubDate>2006-06-18 12:13:47+0200</pubDate>
      <link>http://blog.echarp.org/filterTable</link>
      <comments>http://blog.echarp.org/filterTable</comments>
      <description>&lt;p&gt;&lt;p&gt;I&amp;#8217;m so happy with myself, I want to share some nice and easy code that can
search and filter in a table.&lt;/p&gt;
&lt;p&gt;Simple, nothing to add in your html but for the javascript file and a simple
filterable class to set onto tables and to define with a color (or any other
style you want).&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
	&amp;lt;style&amp;gt;
		.highlighted { background: yellow; }
	&amp;lt;/style&amp;gt;
	&amp;lt;script type="text/javascript"
		src="attachment/file/filterTable/filterTable.js"&amp;gt;&amp;lt;/script&amp;gt;

	&amp;lt;table class="filterable"&amp;gt;
		&amp;lt;thead&amp;gt;
			&amp;lt;tr&amp;gt;
				&amp;lt;th&amp;gt;&amp;lt;/th&amp;gt;
				&amp;lt;th&amp;gt;Title 1&amp;lt;/th&amp;gt;
				&amp;lt;th&amp;gt;Title 2&amp;lt;/th&amp;gt;
				&amp;lt;th&amp;gt;Title 3&amp;lt;/th&amp;gt;
			&amp;lt;/tr&amp;gt;
		&amp;lt;/thead&amp;gt;
		&amp;lt;tbody&amp;gt;
			&amp;lt;tr&amp;gt;
				&amp;lt;td&amp;gt;Data&amp;lt;/td&amp;gt;
				&amp;lt;td&amp;gt;Data again&amp;lt;/td&amp;gt;
				&amp;lt;td&amp;gt;Data yet other&amp;lt;/td&amp;gt;    
				&amp;lt;td&amp;gt;Data still&amp;lt;/td&amp;gt;
			&amp;lt;/tr&amp;gt;
		&amp;lt;/tbody&amp;gt;
	&amp;lt;/table&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;style&gt;
.highlighted { background: yellow; }
span + span .highlighted { background: magenta; }
form.filter + table { border: solid thin #aaa; }
form.filter + table th { margin: 2px; padding: 2px; border: solid thin #bbb; }
form.filter + table td { margin: 2px; padding: 2px; border: solid thin #ccc; }
&lt;/style&gt;
&lt;table class="filterable"&gt;
	&lt;tr&gt;
		&lt;th&gt;Country&lt;/th&gt;
		&lt;th&gt;Current US$&lt;/th&gt;
		&lt;th&gt;1990 US$&lt;/th&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;United States&lt;/td&gt;
		&lt;td&gt;$18.5billion&lt;/td&gt;
		&lt;td&gt;$5.4bn&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Russia&lt;/td&gt;
		&lt;td&gt;$4.6billion&lt;/td&gt;
		&lt;td&gt;$6.2bn&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;France&lt;/td&gt;
		&lt;td&gt;$4.4bn&lt;/td&gt;
		&lt;td&gt;$2.1bn&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;UK&lt;/td&gt;
		&lt;td&gt;$1.9bn&lt;/td&gt;
		&lt;td&gt;$985million&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Germany&lt;/td&gt;
		&lt;td&gt;$900m&lt;/td&gt;
		&lt;td&gt;$1.1bn&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Canada&lt;/td&gt;
		&lt;td&gt;$900m&lt;/td&gt;
		&lt;td&gt;$543m&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;China&lt;/td&gt;
		&lt;td&gt;$700m&lt;/td&gt;
		&lt;td&gt;$125m&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr&gt;
		&lt;td&gt;Israel&lt;/td&gt;
		&lt;td&gt;$500m&lt;/td&gt;
		&lt;td&gt;$283m&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;script type="text/javascript" src="attachment/file/filterTable/filterTable.js"&gt;&lt;/script&gt;&lt;p&gt;See also &lt;a href="http://www.vonloesch.de/node/23"&gt;here&lt;/a&gt; for some of the original code.&lt;/p&gt;
&lt;p&gt;Here is the javascript file:&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: ALivrOuvert</title>
      <vote>2</vote>
      <pubDate>2011-12-27 23:26:52+0100</pubDate>
      <link>http://blog.echarp.org/Re_ALivrOuvert_3</link>
      <comments>http://blog.echarp.org/Re_ALivrOuvert_3</comments>
      <description>&lt;p&gt;Salut&amp;#8230;&lt;br/&gt;
Alors ton article est p&#233;rim&#233;&amp;#8230;&lt;br/&gt;
le logo a chang&#233;.. il s&amp;#8217;est inkscap&#233;&amp;#8230;&lt;br/&gt;
Y a plus de titi mais une super Nathalie&lt;br/&gt;
Par contre le lien vers la librairie est le bon&lt;br/&gt;
Tu aurais pu rajouter qu&amp;#8217;on a refait le site web ensemble&lt;/p&gt;</description>
    </item>
    <item>
      <title>JavaScript filter search in table</title>
      <vote>2</vote>
      <pubDate>2010-02-25 21:22:43+0100</pubDate>
      <link>http://blog.echarp.org/JavaScript_filter_search_in_table</link>
      <comments>http://blog.echarp.org/JavaScript_filter_search_in_table</comments>
      <dc:creator>Johannes</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;Hey Echarp,&lt;/p&gt;
&lt;p&gt;this is a really cool tool. &lt;br/&gt;
But I have a problem to transfer it to a different page. Even if I save your page to my desktop with the .js-file (path is adjusted) it doesnt work. 
The example from &amp;#8220;vonloesch&amp;#8221; works, but I want the highlighting thing.&lt;/p&gt;
&lt;p&gt;Can somebody be so kind a post or send me the naked .html-file and the .js-file? You would really do me a favor!&lt;/p&gt;
&lt;p&gt;Thanks in advance and kind regards!&lt;br/&gt;
Johannes&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Speeding it up?</title>
      <vote>2</vote>
      <pubDate>2008-11-22 19:42:01+0100</pubDate>
      <link>http://blog.echarp.org/Speeding_it_up</link>
      <comments>http://blog.echarp.org/Speeding_it_up</comments>
      <dc:creator>Matthew</dc:creator>
      <description>&lt;p&gt;I like this script, but am trying to use it on a large table (4 columns and about 165 rows), so it is slow.  Do you have any suggestions for how to speed it up?  When I add a submit button it does help, but still takes about 10-15 seconds to return the search results.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: echarp's blog</title>
      <vote>2</vote>
      <pubDate>2008-11-13 09:00:46+0100</pubDate>
      <link>http://blog.echarp.org/Re_echarps_blog</link>
      <comments>http://blog.echarp.org/Re_echarps_blog</comments>
      <dc:creator>Bruce</dc:creator>
      <description>&lt;p&gt;Been quiet here for awhile. I still like the Parlement with &amp;#8220;voting&amp;#8221; system to determine &amp;#8220;hot topics&amp;#8221;.
Now to start a hot topic eh eh eh &lt;br/&gt;
This is beter than many other &amp;#8220;systems&amp;#8221; and may be time to use a bit more? 
Keep updating&lt;br/&gt;
Bruce&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: JavaScript filtersearch in table</title>
      <vote>2</vote>
      <pubDate>2008-11-13 08:47:40+0100</pubDate>
      <link>http://blog.echarp.org/Re_JavaScript_filtersearch_in_table_13</link>
      <comments>http://blog.echarp.org/Re_JavaScript_filtersearch_in_table_13</comments>
      <dc:creator>Nick</dc:creator>
      <description>&lt;p&gt;This is an awesome script, nice and lightweight an does the job perfectly, thanks :)&lt;/p&gt;</description>
    </item>
    <item>
      <title>ALivrOuvert</title>
      <vote>2</vote>
      <pubDate>2008-05-17 15:45:33+0200</pubDate>
      <link>http://blog.echarp.org/ALivrOuvert</link>
      <comments>http://blog.echarp.org/ALivrOuvert</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;La librairie &#224; paris 11&#232;me&lt;/p&gt;
&lt;p&gt;(j&amp;#8217;&#233;cris &#231;a, c&amp;#8217;est pour aussi am&#233;liorer les r&#233;sultats dans les moteurs
de recherche)&lt;/p&gt;
&lt;p&gt;On vient de faire deux sites pour Mag, un pour le magasin, le deuxi&#232;me
pour elle et toutes les b&#234;tises qu&amp;#8217;elle veut dire et &#233;crire:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://alivrouvert.fr"&gt;http://alivrouvert.fr&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://bookinette.fr"&gt;http://bookinette.fr&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;J&amp;#8217;en profite, il y a d&#233;j&#224; quelque temps de cela, mag et titi ont gagn&#233;
un prix: le prix lilas des libraires. C&amp;#8217;est un prix national destin&#233; &#224;
une auteur, mais cette ann&#233;e il a &#233;t&#233; &#233;tendu &#224; d&amp;#8217;autres professions du
livre, et nos demoiselles ont &#233;t&#233; r&#233;compens&#233;es de leurs heures de
travail, et nombreuses activit&#233;s comme le caf&#233; litt&#233;raire ou les
ateliers.&lt;/p&gt;
&lt;p&gt;C&amp;#8217;est aussi un prix un peu hupp&#233;. On s&amp;#8217;est ainsi retrouv&#233; invit&#233;s au
restaurant de la closerie des lilas, que j&amp;#8217;ai eu l&amp;#8217;occasion de
d&#233;couvrir. Vraiment sympathique!&lt;/p&gt;
&lt;p&gt;(si vous r&#233;pondez &#224; ce mail, ce que vous &#233;crirez sera reproduit sur le
&lt;a href="http://blog.echarp.org"&gt;http://blog.echarp.org&lt;/a&gt;)&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: Idiot</title>
      <vote>2</vote>
      <pubDate>2007-12-05 19:22:18+0100</pubDate>
      <link>http://blog.echarp.org/Re_Idiot_4</link>
      <comments>http://blog.echarp.org/Re_Idiot_4</comments>
      <dc:creator>Bruce Eggum</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;which politician you talking about now?&lt;/p&gt;
&lt;p&gt;On Dec 5, 2007 12:22 PM, echarp &amp;lt;&lt;a href="mailto:emmanuel.charpentier@free.fr"&gt;emmanuel.charpentier@free.fr&lt;/a&gt;&amp;gt; wrote:&lt;/p&gt;
&lt;blockquote&gt;Re: Idiot+1Parlement &amp;lt;&lt;a href="http://leparlement.org&amp;amp;gt"&gt;http://leparlement.org&amp;amp;gt&lt;/a&gt;;&lt;/blockquote&gt;
&lt;p&gt;&amp;#8212; 
Bruce Eggum&lt;br/&gt;
Gresham Wisconsin, &lt;span class="caps"&gt;USA&lt;/span&gt;&lt;br/&gt;
&lt;a href="http://www.doinggovernment.com/"&gt;http://www.doinggovernment.com/&lt;/a&gt;&lt;br/&gt;
Check out my Blog too&lt;br/&gt;
&lt;a href="http://bruceeggum.blogster.com/"&gt;http://bruceeggum.blogster.com/&lt;/a&gt;&lt;/p&gt;
vote&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: Idiot</title>
      <vote>2</vote>
      <pubDate>2007-12-05 03:00:39+0100</pubDate>
      <link>http://blog.echarp.org/Re_Idiot_1</link>
      <comments>http://blog.echarp.org/Re_Idiot_1</comments>
      <dc:creator>Mirek</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;So do I (beginning to love that word).&lt;/p&gt;
&lt;p&gt;Although they are periods in the lifetime of every individual when one could be excused for not taking part in public affairs very actively (because of family, work, &amp;#8230;)&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: How to trust votes on internet</title>
      <vote>2</vote>
      <pubDate>2007-03-04 09:42:16+0100</pubDate>
      <link>http://blog.echarp.org/Re_How_to_trust_votes_on_internet_12</link>
      <comments>http://blog.echarp.org/Re_How_to_trust_votes_on_internet_12</comments>
      <dc:creator>eggy</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;Hi echarp (sharp you are)(compliment)&lt;br/&gt;
I set the &lt;span class="caps"&gt;RSS&lt;/span&gt; and it goes to &lt;a href="http://echarp.org/Re_echarps_blog"&gt;http://echarp.org/Re_echarps_blog&lt;/a&gt;
I thought it would go to blog, but has window of choice, none to the blog. I can get to parliament.&lt;/p&gt;
&lt;p&gt;Be nice if &lt;span class="caps"&gt;RSS&lt;/span&gt; went here &lt;a href="http://echarp.org/blog"&gt;http://echarp.org/blog&lt;/a&gt;&lt;br/&gt;
another &lt;span class="caps"&gt;RSS&lt;/span&gt; to parliament proper?&lt;/p&gt;
&lt;p&gt;I can not figure out how to email you direct? &lt;br/&gt;
I don&amp;#8217;t know language and not tell today did I learn you are French? Co you live in France?&lt;/p&gt;
&lt;p&gt;Perhaps a place for brief profile?&lt;br/&gt;
E Programs changing so fast hard to keep up.&lt;br/&gt;
Good that is happening!&lt;br/&gt;
EU Constitution very important!&lt;br/&gt;
&lt;span class="caps"&gt;NEED&lt;/span&gt; to divide powers, each country sovereign, EU only has limited power which is jointly accepted by each country.
Now, the whole EU ruled by a commerce committee &lt;del&gt;- but better than being ruled by a shrub or a bush.
Well, that is another subject -&lt;/del&gt;-long&lt;br/&gt;
Bruce&lt;/p&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
