<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Blog de Jean-Christophe Lavocat</title>
	
	<link>http://jice.lavocat.name/blog</link>
	<description>Mon Bioblog (humeurs, tendances et aventures en tout genres)</description>
	<lastBuildDate>Mon, 05 Dec 2011 20:51:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/JiceLavocat" /><feedburner:info uri="jicelavocat" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><meta xmlns="http://pipes.yahoo.com" name="pipes" content="noprocess" /><item>
		<title>How to transfer money from USD ($) to EUR (€) accounts</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/g4BDe1vQ3_g/</link>
		<comments>http://jice.lavocat.name/blog/2011/11/how-to-transfer-money-from-usd-to-eur-e-accounts/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 16:42:51 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[En vrac]]></category>
		<category><![CDATA[Ma_Life.com]]></category>
		<category><![CDATA[Argent]]></category>
		<category><![CDATA[Dollar]]></category>
		<category><![CDATA[Euro]]></category>
		<category><![CDATA[international]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1235</guid>
		<description><![CDATA[Since I will soon have to transfer my money from an USD ($) bank account (Wells-Fargo) to France (in EUR €), I had to look around to find the best solution. With the help of one friend (Stéphane Damolini), I started discovering some solutions last year ; but none of them were satisfying. I thus [...]]]></description>
			<content:encoded><![CDATA[<p>Since I will soon have to <strong>transfer my money from an USD</strong> ($)<strong> bank account</strong> (Wells-Fargo) to France (in EUR €), I had to look around to find the best solution. With the help of one friend (Stéphane Damolini), I started discovering some solutions last year ; but none of them were satisfying. I thus looked a little bit more on forums and found two interesting threads. One is unfortunately in French (google translate it if you want) , but hopefully the most interesting one is in English.</p>
<ol>
<li><a title="Transférer $ USD vers € EUR" href="http://philadelphieaccueil.superforum.fr/t1271-transfert-d-argent-des-usa-vers-la-france-a-moindre-frais">http://philadelphieaccueil.superforum.fr/t1271-transfert-d-argent-des-usa-vers-la-france-a-moindre-frais</a> - read the 4th message (<a href="http://translate.google.fr/translate?sl=fr&amp;tl=en&amp;js=n&amp;prev=_t&amp;hl=fr&amp;ie=UTF-8&amp;layout=2&amp;eotf=1&amp;u=http%3A%2F%2Fphiladelphieaccueil.superforum.fr%2Ft1271-transfert-d-argent-des-usa-vers-la-france-a-moindre-frais&amp;act=url">English Translation</a>)</li>
<li><a href="http://www.pomsinadelaide.com/forum/money-finance/19410-did-you-use-www-currencyonline-com.html">http://www.pomsinadelaide.com/forum/money-finance/19410-did-you-use-www-currencyonline-com.html</a> - more interesting</li>
</ol>
<p>My quest for bank/currency transfers came through 'bank-to-bank' transfers, 'Western Union', <a title="Paypal" href="https://www.paypal.com">Paypal</a> and <a href="https://www.xoom.com/sendmoneynow/home">XOOM</a>. But the final solution I found was to use a dedicated online transfer company. There exist several of them (part of them listed in the second link above). I also followed the advice of <a href="http://www.pomsinadelaide.com/forum/money-finance/19410-did-you-use-www-currencyonline-com.html#post145331">Mark Xpnist</a> and asked for a quotation to the following three companies :</p>
<ul>
<li><a href="https://www.hifx.co.uk/">https://www.hifx.co.uk</a></li>
<li><a href="http://www.satworldwide.co.uk/">http://www.satworldwide.co.uk</a></li>
<li><a href="http://www.currencyonline.com/">http://www.currencyonline.com</a></li>
</ul>
<p>I will try to find time to update this blogpost as soon as I have some replies.</p>
<p>A good ressource for currency conversion : <a title="Currencies conversion" href="http://www.xe.com">http://www.xe.com</a></p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/g4BDe1vQ3_g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2011/11/how-to-transfer-money-from-usd-to-eur-e-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2011/11/how-to-transfer-money-from-usd-to-eur-e-accounts/</feedburner:origLink></item>
		<item>
		<title>Implementing microdata schema.org in  Yootheme ZOO</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/73pMO09O5YE/</link>
		<comments>http://jice.lavocat.name/blog/2011/08/implementing-microdata-schema-org-in-yootheme-zoo/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 09:53:00 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Schema.org]]></category>
		<category><![CDATA[web sémantique]]></category>
		<category><![CDATA[YOOtheme]]></category>
		<category><![CDATA[Zoo]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1202</guid>
		<description><![CDATA[Recently, the three major search engins (Bing/Yahoo and Google) agreed on using the microdata system Schema.org. This allow any website to provide semantic information to the search spiders. For instance, you can specify what kind of content you are publishing, like a recipe of an apple pie, or a movie review. More than that, depending [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://jice.lavocat.name/blog/wp-content/uploads/2011/08/schema-org-logo1.jpg"><img class="alignleft size-full wp-image-1211" style="margin: 0pt 10px;" title="schema-org-logo" src="http://jice.lavocat.name/blog/wp-content/uploads/2011/08/schema-org-logo1.jpg" alt="" width="128" height="80" /></a>Recently, the three major search engins (Bing/Yahoo and Google) agreed on using the<strong> microdata system</strong> <a href="http://schema.org/">Schema.org</a>. This allow any website to provide <strong>semantic information</strong> to the <strong>search spiders</strong>. For instance, you can specify<em> what kind of content you are publishing</em>, like a recipe of an apple pie, or a movie review. More than that, depending on the type, you can give the various important information directly to the search robot : what is the movie title, what is its director, or how long you should cook your pie. To find all the piece of information you can select, you should read : <a href="http://schema.org/">http://schema.org/</a></p>
<p style="text-align: justify;"><a href="http://jice.lavocat.name/blog/wp-content/uploads/2011/08/zoo.png"><img class="alignright size-full wp-image-1212" title="zoo" src="http://jice.lavocat.name/blog/wp-content/uploads/2011/08/zoo.png" alt="" width="150" height="120" /></a>As a Joomla fan, and <a href="http://www.yootheme.com/zoo/">Yootheme ZOO</a> frequent user, I had to implement this for my websites. I made a custom set of elements that allows me to provide schema.org names to my text fields. The change will add a new configuration field to your text / textarea / image inputs, and you will be able to add microdata properties to your object. This is very versatile and very easy to use.</p>
<p style="text-align: justify;">You can download it straith away, or read the 'readme' file below to get an idea of the product :</p>
<p style="text-align: justify;"><form action='https://www.paypal.com/cgi-bin/webscr' method='post' target='_blank'><p>
EUR 5.00 / Download<br />
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
</p><input type="hidden" name="cmd" value="_xclick" /><input type='hidden' name='business' value='jice@lavocat.name' /><input type='hidden' name='item_name' value='Implementing microdata schema.org in  Yootheme ZOO' /><input type='hidden' name='item_number' value='1202' /><input type='hidden' name='amount' value='5.00' /><input type="hidden" name="no_shipping" value="1" /><input type="hidden" name="no_note" value="1" /><input type='hidden' name='currency_code' value='EUR' /><input type='hidden' name='notify_url' value='http://jice.lavocat.name/blog/wp-content/plugins/easyfileshop/ipn.php' /></form></p>
<p style="text-align: justify;"><em>Tested only with <strong>Zoo 2.4 for Joomla 1.5</strong></em></p>
<p style="text-align: justify;"><em>You can try it for free if you have an existing working platform Joomla 1.6 with ZOO 2.4 installed. You should contact me directly and I'll send you the file. You'll tell me if some bugs are present, and you'll help the community.</em></p>
<p> </p>
<h2 style="text-align: left;">Read Me File</h2>
<p>** Schema.org implementation under Yootheme ZOO component **<br />Author : Jean-Christophe Lavocat<br />Email : jice@nauka-websites.com<br />Date : July 2011<br />*************************************************************</p>
<h2>Introduction</h2>
<p>Add a new option to the text and image fields of ZOO. This new option helps to give a context to the content types you create by using ZOO. For example : your create a recipe content type, it could give the following information : <a href="http://schema.org/Recipe">http://schema.org/Recipe</a>.</p>
<h2>Installation</h2>
<p>Browse your website installation, and go to the ZOO application that you want to update. The installation have to be done application by application. For instance, if you are using the application "Blog" got to : "joomlabase/media/zoo/applications/blog". You should unzip the folder "elements" there.</p>
<p>Go to your administration panel and check which template you are using for your content type. Remember this template name as "templatename". You should then go to "joomlabase/media/zoo/applications/blog/templates/templatename/" and unzip the folder "renderer" there.</p>
<p>The new architecture should add the following folders.</p>
<p>/applications/blog/<br /> elements/<br /> .../</p>
<p>/applications/blog/template/templatename/renderer/<br /> /element/<br /> ...</p>
<p>Finally, go to the view you want to include schema.org : probably it will be the "full" view. Go to "/joomlabase/media/zoo/applications/blog/templates/templatename/renderer/item" and open "full.php". You have to manually add the good schema type at the beginning of the file, and close it at the end. Suppose you are displaying a recipe, put the line :</p>
<pre>&lt;div itemscope itemtype="http://schema.org/Recipe"&gt;</pre>
<p>in the first html output (say, after the first "?&gt;"). Add a "&lt;/div&gt;" at the very end of this file :</p>
<pre>&lt;/div&gt;</pre>
<h2>Configuration</h2>
<p>Go to the setting of your content type in the administration panel. Edit the fields of the view you just modified. <br />You should now be able to :<br />1) give a schema.org label to all the text field<br />2) give a schema.org label to the main title, or specify if it is an author profile page.<br />3) add a default picture label to one of your picture<br />4) give the label "url" to the links</p>
<p> </p>
<p> </p>
<div id="attachment_1214" class="wp-caption alignright" style="width: 310px"><a href="http://jice.lavocat.name/blog/wp-content/uploads/2011/08/schemafield.png"><img class="size-medium wp-image-1214" title="schemafield" src="http://jice.lavocat.name/blog/wp-content/uploads/2011/08/schemafield-300x245.png" alt="" width="300" height="245" /></a><p class="wp-caption-text">A new &quot;Schema.org Label&quot; appears now, where you can specify your content</p></div>
<p> </p>
<h2>Verification</h2>
<p>To verify your item pages, copy paste their url to : <br />http://www.google.com/webmasters/tools/richsnippets</p>
<h2>Help / Troubleshootings / FAQ</h2>
<p>Any questions should be sent to jice@nauka-websites.com. You should specify in your email :<br />1) which version of ZOO you are using<br />2) the description of your problem<br />3) the URL where the error is visible</p>
<p> </p>
<p>The files are available to download on the following link :</p>
<p><form action='https://www.paypal.com/cgi-bin/webscr' method='post' target='_blank'><p>
EUR 5.00 / Download<br />
<input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
</p><input type="hidden" name="cmd" value="_xclick" /><input type='hidden' name='business' value='jice@lavocat.name' /><input type='hidden' name='item_name' value='Implementing microdata schema.org in  Yootheme ZOO' /><input type='hidden' name='item_number' value='1202' /><input type='hidden' name='amount' value='5.00' /><input type="hidden" name="no_shipping" value="1" /><input type="hidden" name="no_note" value="1" /><input type='hidden' name='currency_code' value='EUR' /><input type='hidden' name='notify_url' value='http://jice.lavocat.name/blog/wp-content/plugins/easyfileshop/ipn.php' /></form>
<p><em>Tested only with <strong>Zoo 2.4 for Joomla 1.5</strong></em></p>
<p><em>You  can try it for free if you have an existing working platform Joomla 1.6  with ZOO 2.4 installed. You should contact me directly and I'll send you  the file. You'll tell me if some bugs are present, and you'll help the  community.</em></p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/73pMO09O5YE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2011/08/implementing-microdata-schema-org-in-yootheme-zoo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2011/08/implementing-microdata-schema-org-in-yootheme-zoo/</feedburner:origLink></item>
		<item>
		<title>YOOtheme Zoo - Integration of Google +1</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/WmDl8vNZxgA/</link>
		<comments>http://jice.lavocat.name/blog/2011/07/integration-of-google-1-in-yootheme-zoo/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 17:11:55 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[YOOtheme]]></category>
		<category><![CDATA[Zoo]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1191</guid>
		<description><![CDATA[I wanted to add a google +1 button to my website. As I am using YOOtheme zoo CCK component, I add to create a new "element" to be print at the end of my blog post. You can download it bellow. Of course you can use it on any zoo applications (blogs, businesses, recipes ... [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float: left; margin-left: 20px; margin-right: 20px;" src="http://www.yootheme.com/images/stories/top/home/zoo.png" alt="" width="150" height="120" />I wanted to add a <a title="Google plus" href="http://www.google.com/webmasters/+1/button/" target="_blank">google +1 button</a> to my website. As I am using YOOtheme zoo CCK component, I add to create a new "element" to be print at the end of my blog post. You can download it bellow. Of course you can use it on any zoo applications (blogs, businesses, recipes ... and custom applications).</p>
<h3>How to install</h3>
<p>Download the archive : <a href="http://jice.lavocat.name/blog/wp-content/uploads/2011/07/zooelement_googleplus.zip">ZOOelement Googleplus</a></p>
<p>Then, unzip the files in your folder : <em>/base_installation_folder/media/zoo/elements. </em>You will see a new folder named "googleplus".</p>
<h3>How to setup</h3>
<p>You can configure all the options except the language. To change the language, you'll need to do it by yourself and modify your global template.</p>
<p>To add the google +1 button to a content, go to your zoo configuration panel, and select the application where you want this button to appear. Modify the elements appearing in this type of applications, and add the "Google +1". The configuration is pretty transparent.</p>
<h3>Note</h3>
<p>In the case you are using this button without printing the number of +1s, I took the privilege of adding a small modification to the code, to promote my websites. One out of 10 buttons will actually be +1ing one of my websites. If you want to remove it, it's up to you, but you could also considering it as a small reward for the time I spent on it for you.</p>
<h3>Questions</h3>
<p>Don't hesitate to post comment for precisions or bug corrections.</p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/WmDl8vNZxgA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2011/07/integration-of-google-1-in-yootheme-zoo/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<enclosure url="http://jice.lavocat.name/blog/wp-content/uploads/2011/07/zooelement_googleplus.zip" length="2318" type="application/zip" /><feedburner:origLink>http://jice.lavocat.name/blog/2011/07/integration-of-google-1-in-yootheme-zoo/</feedburner:origLink></item>
		<item>
		<title>Yootheme Zoo – Modifying the Frontend submission editor</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/PE7i-X4gsE0/</link>
		<comments>http://jice.lavocat.name/blog/2011/03/yootheme-zoo-%e2%80%93-modifying-the-frontend-submission-editor/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 21:50:30 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Zoo]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1182</guid>
		<description><![CDATA[A quick note to let you know how I hacked Yootheme Zoo 2.3. I wanted to have a wysiwyg editor while my users were submitting article in frontend with ZOO. Usually you can activate the "trusted mode" to have this wysiwyg editor. But you will also have several other fields which are too much for [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.yootheme.com/images/stories/top/home/zoo.png" alt="" width="150" height="120" />A  quick note to let you know how I hacked Yootheme Zoo 2.3. I wanted to  have a wysiwyg editor while my users were submitting article in frontend with ZOO. Usually you can activate the "trusted mode" to have this wysiwyg editor. But you will also have several other fields which are too much for normal users. In order to have a wysiwyg editor, even in the non-trusted mode, here is the modification you should implement.</p>
<p> </p>
<p>Here is the trick. Activate the trusted mode, but then, made a code  modification to hide the "administration" panel in frontend. Here is the  code you have to change on<strong> line 40 </strong>in <strong><em>/joomla_base_dir</em>/components/com_zoo/partials/_submission.php</strong><strong><em> </em></strong></p>
<p><div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>partial<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'administration'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</p>
<p>should be commented :</p>
<p><div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// echo $this-&amp;gt;partial('administration');</span></div></td></tr></tbody></table></div>
</p>
<p>[Edit] The old hack was the following<span style="text-decoration: line-through;"><br /></span></p>
<p><span style="text-decoration: line-through;">Here is the line you have to change on<strong> line 265 </strong>in <strong><em>/joomla_base_dir</em>/administrator/components/com_zoo/elements/textarea/textarea.php</strong><strong><em> </em></strong></span></p>
<p><span style="text-decoration: line-through;"></p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$trusted_mode</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div></td></tr></tbody></table></div>
<p></span></p>
<p><span style="text-decoration: line-through;">should be transformed to</span></p>
<p><span style="text-decoration: line-through;"></p>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$trusted_mod</span> <span style="color: #339933;">||</span> <span style="color: #339933;">!</span><span style="color: #000088;">$trusted_mode</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div></td></tr></tbody></table></div>
<p>Or some other modification on the "if" instruction.That's it, you are done with the hack.</span></p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/PE7i-X4gsE0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2011/03/yootheme-zoo-%e2%80%93-modifying-the-frontend-submission-editor/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2011/03/yootheme-zoo-%e2%80%93-modifying-the-frontend-submission-editor/</feedburner:origLink></item>
		<item>
		<title>Yootheme Zoo - Modifying the number of articles on Frontpage</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/hBSF-lrt8N0/</link>
		<comments>http://jice.lavocat.name/blog/2011/01/yootheme-zoo-modifying-the-number-of-articles-on-frontpage/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 15:04:33 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Zoo]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1170</guid>
		<description><![CDATA[A quick note to let you know how I hacked Yootheme Zoo 2.3. I wanted to have a different numbers of articles on the frontpage, and in the classical category view.As I did not find an easy solution (a parameter should be added to the configuration for the front page), I decided to code it. [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float: left; margin-left: 10px; margin-right: 10px;" src="http://www.yootheme.com/images/stories/top/home/zoo.png" alt="" width="150" height="120" />A quick note to let you know how I hacked Yootheme Zoo 2.3. I wanted to have a different numbers of articles on the frontpage, and in the classical category view.As I did not find an easy solution (a parameter should be added to the configuration for the front page), I decided to code it.</p>
</p>
<p>Here is the line you have to change on<strong> line 232</strong> in <strong><em>/joomla_base_dir/components/com_zoo/controllers/default.php</em></strong></p>
<pre>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// get item pagination </span><br />
<span style="color: #000088;">$items_per_page</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$params</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'config.items_per_page'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">15</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<p>should be transformed to</p>
<pre>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// get item pagination</span><br />
<span style="color: #000088;">$items_per_page</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$category_id</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> ? <span style="color: #cc66cc;">3</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$params</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'config.items_per_page'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">15</span><span style="color: #009900;">&#41;</span></div></td></tr></tbody></table></div>
</pre>
<h2>Advanced hack</h2>
<p>If you want you can add a new parameter in the configuration to be able to change that number in backend. Here is the code :</p>
<p>In the file<em><strong> joomla_base_dir/media/zoo/applications/blog/application.xml</strong></em> add the following new line at <strong>line 22 </strong>:</p>
<pre>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>param name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;items_per_frontpage&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;3&quot;</span> <span style="color: #b1b100;">default</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;15&quot;</span> label<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Items Per Frontpage&quot;</span> description<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Number of items to show on a frontpage&quot;</span><span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
</pre>
<p>Modify on<strong> line 232</strong> in <strong><em>/joomla_base_dir/components/com_zoo/controllers/default.php</em></strong> , it should now read :</p>
<pre>
<div class="codecolorer-container php mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$items_per_page</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$category_id</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span> ? <span style="color: #000088;">$params</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'config.items_per_frontpage'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$params</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'config.items_per_page'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">15</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
</pre>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/hBSF-lrt8N0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2011/01/yootheme-zoo-modifying-the-number-of-articles-on-frontpage/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2011/01/yootheme-zoo-modifying-the-number-of-articles-on-frontpage/</feedburner:origLink></item>
		<item>
		<title>Expat : la TV Française à l'étranger</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/1jWgslLt7mg/</link>
		<comments>http://jice.lavocat.name/blog/2010/11/expat-la-tv-francaise-a-letranger/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 18:17:31 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[En vrac]]></category>
		<category><![CDATA[Arte]]></category>
		<category><![CDATA[Expatriation]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1143</guid>
		<description><![CDATA[Suite à mon post sur "Comment regarder Arte ou Roland Garros à l'étranger" (top ten de vos lectures sur mon blog), un évènement récent me pousse à écrire la suite. Informé de cela par Daniel Nicollet, l'auteur de la pétition que je citais à la fin de mon article, je pense qu'il est utile pour [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><img style="float: left; margin-left: 20px; margin-right: 20px;" title="Arte" src="http://www.lorteau.net/blog/wp-content/uploads/2009/02/arte-logo.png" alt="Arte" width="150" height="113" />Suite à mon post sur "<a title="Regarder Arte ou Roland Garros depuis l'étranger" href="http://jice.lavocat.name/blog/2009/05/regarder-arte-rolland-garros-de-letranger/">Comment regarder Arte ou Roland Garros à l'étranger</a>" (top ten de vos lectures sur mon blog), un évènement récent me pousse à écrire la suite. Informé de cela par <strong>Daniel Nicollet</strong>, l'auteur de la pétition que je citais à la fin de mon article, je pense qu'il est utile pour ceux d'entre vous qui sont expatriés, de lire son message. Ci-dessous je vous retranscris son email (un peu long, mais au moins vous aurez compris le message ;-D ).</p>
<p style="text-align: justify;"> </p>
<h3 style="text-align: justify;">Manifeste de la culture française libre pour les expatriés</h3>
<p>Chers Amis,</p>
<p style="text-align: justify;">Mon nom est Daniel Nicollet.  Je               suis l'auteur d'un <strong>pétition </strong>que vous avez signé il y a               quelques temps concernant la diffusion interrompue des               programmes d'Arte et d'autre chaînes de télévision               Française sur Internet (<strong>géo-blocage</strong>):  <a href="http://en.origoterra.com/LK" target="_blank">http://en.origoterra.com/LK</a></p>
<p style="text-align: justify;">Ceci ne concerne <strong>plus seulement               les téléspectateurs d'Arte </strong>puisque presque toutes les               chaînes présente<strong> une majorités de programmes géo-bloqués</strong> dans de nombreux pays (France Télévision, LCI, M6, Canal+,               etc.)!  Donc faites passer ce message a tous vos amis et               faites les signer notre pétition (<a href="http://en.origoterra.com/LK" target="_blank">http://en.origoterra.com/LK</a>) et prendre le sondage!</p>
<p style="text-align: justify;">Le moment est venu d'agir a               nouveau.  Un nouveau service va voir le jour pour <strong>mettre               en ligne un bouquet de chaînes Françaises</strong> (n'incluant pas               ARTE pour l'instant) et <strong>IFOP viens de lancer un sondage</strong> dont vous pouvez influencer les résultats en y répondant               ici maintenant:  <a href="http://www.ifoponline.fr/B6/cgi-bin/ciwweb.pl?studyname=FB&amp;ID=2456&amp;MDP=sd4d5s&amp;hid_pagenum=1&amp;hid_link=1&amp;hid_javascript=1" target="_blank">Sondage IFOP pour la diffusion des chaines françaises à l'étranger</a></p>
<p style="text-align: justify;">En répondant et en lisant ce               sondage vous apprendrez qu'on vous demandera bientôt               environ<strong> €20/mois</strong> pour voir ce que les chaines Françaises               diffusait jusqu'aujourd'hui pour rien (sinon vos taxes et               redevances payées en France). Le gouvernement veux               également commencer a taxer les possesseurs d'ordinateurs               en France (comme pour la redevance TV).</p>
<p style="text-align: justify;">Il est temps d'agir en y répondant ici maintenant : <a href="http://www.ifoponline.fr/B6/cgi-bin/ciwweb.pl?studyname=FB&amp;ID=2456&amp;MDP=sd4d5s&amp;hid_pagenum=1&amp;hid_link=1&amp;hid_javascript=1" target="_blank">Sondage IFOP pour la diffusion des chaines françaises à l'étranger</a><a href="http://www.ifoponline.fr/B6/cgi-bin/ciwweb.pl?studyname=FB&amp;ID=2456&amp;MDP=sd4d5s&amp;hid_pagenum=1&amp;hid_link=1&amp;hid_javascript=1" target="_blank"></a></p>
<p style="text-align: justify;">Les français et européens de létranger n'ont pas le droit de regarder Arte sur <a title="Arte TV" href="http://plus7.arte.tv/" target="_blank">http://plus7.arte.tv</a> comme les résidents français. Nous demandons par cette pétition à la direction des programmes d'Arte de reconsidérer cette politique.</p>
<p style="text-align: justify;">Voir la video de se qui se passe sur <a href="http://plus7.arte.tv/">http://plus7.arte.tv</a> pour les resident hors ue :<a href="http://www.youtube.com/watch?v=4rOyKqvnhZs"> http://www.youtube.com/watch?v=4rOyKqvnhZs</a></p>
<p><em>Mise à jour</em> : En 2009 nous avons déjà mi en ligne cette               pétition qui a recueilli 98 signatures. Merci!! Nous la               remettons en ligne puisqu'Arte est maintenant passé avec               un nouveau site au système Flash 10 qui ne donne même <strong>plus               de message d'erreur</strong>. Les vidéos ne démarrent simplement               pas! Pas de message d'erreur. Pas d'explications. Il faut               deviner que seuls certains programmes (Arte Info, Arte               Reportages) sont visualisables.</p>
<p>Arte a opté pour le blocage de ses programmes en ligne pour "<em>protéger les droits de diffusion</em>" de ses programmes dans les<strong> pays non-européens.</strong> Pourtant ces programmes ne sont pas disponibles par cable, satellite, ou autre moyen. Pourquoi?</p>
<p>La culture française doit voyager aussi librement que les autres! Si les expatries peuvent être des ambassadeurs culturels pour leur pays d'origine, ont doit leur permettre de garder un lien avec leur culture d'origine! Laissez arte voyager librement!!</p>
<p>Adresse de cette pétition à faire passer: <a href="http://en.origoterra.com/LK" target="_blank">http://en.origoterra.com/LK</a></p>
<p><em>Petit rappel</em> : Arte, la <strong>chaine culturelle franco-allemande</strong> est sans nul               doute aimé des Français qui la regardent tous de plus en               plus depuis sa <strong>création an 1991</strong>.  C'est une chaîne publique née  sous la forme d'un               Groupement européen d'intérêt économique initié par la               France et l'Allemagne, la chaîne ARTE est diffusée depuis               Strasbourg en plusieurs langues vers toute l'Europe. Arte privilégie la diversité et la qualité de ses               programmes (émissions géopolitiques "Le Dessous des Cartes",               "Tracks", "Arte Reportages", "Métropolies", etc.)</p>
<p>Arte compte une large audience en Europe et pourrait               également compter une large audience dans le monde. A               l'heure ou nos gouvernants Européen mettent de grands               moyens en place pour <strong>rayonner culturellement au-delà des               frontière de l'UE</strong>, pourquoi ne pas laisser leur               compatriotes expatriés regarder Arte de l'Etranger sur <a href="http://arte.plus7.tv/" target="_blank">arte.plus7.tv</a> comme peuvent le faire les Européens. Ces programmes qui               font "rayonner" la culture Française et Européenne parfois               mieux que France24 ou TV5 peuvent le faire avec des               programmes ciblant les étranger de souche mais pas               suffisamment intéressant pour les Français et Européens de               l'étranger.</p>
<h3 style="text-align: justify;">Propositions et solutions constructives pour la direction des programmes d'Arte</h3>
<p style="text-align: justify;">ARTE (Association relative à la télévision européenne) est               financée, en France comme en Allemagne, par la redevance               audiovisuelle. Bien que la chaîne télévisée ne puisse               "recourir à la publicité", elle a la possibilité "de               développer ses recettes propres, en particulier par la               recherche de parrainages."</p>
<p>- Les budgets consacrés au rayonnement de la culture               Française, Allemande, Francophone, ne peuvent-ils pas               couvrir les frais éventuellement supplémentaires liés à la               diffusion libre en ligne des programmes?<br /> - Pourquoi ne pas offrir l'accès aux expatriés contre une               participation au financement de la chaine sus forme d'un               abonnement annuel modique à <a href="http://plus7.arte.tv/" target="_blank">http://plus7.arte.tv/</a>?<br /> - Le blocage des programmes hors UE a été allègrement               "hacké" et détourné jusqu'ici par les internautes. Arte a               modifié ses techniques de blocage géographique par adresse               IP à ses frais et souvent sans succès. Ne serait-il pas               plus intéressant pour ARTE de diffuser ses programmes               contre un droit d'accès raisonnable?<br /> - Pourquoi ne pas ajouter l'accès à ARTE aux avantages qui               sont attribués aux Français qui s'inscrivent au consulat               de leur pays de résidence, comme la carte consulaire, la               détaxe sur les achats en France, etc.?</p>
<p style="text-align: justify;">Le moment est venu d'agir a               nouveau.  Un nouveau service va voir le jour pour mettre               en ligne un bouquet de chaines Françaises (n'incluant pas               ARTE pour l'instant) et IFOP viens de lancer un sondage               dont vous pouvez influencer les résultats en y répondant               ici maintenant:  <a href="http://www.ifoponline.fr/B6/cgi-bin/ciwweb.pl?studyname=FB&amp;ID=2456&amp;MDP=sd4d5s&amp;hid_pagenum=1&amp;hid_link=1&amp;hid_javascript=1">Sondage IFOP</a></p>
<p> </p>
<p>Bien cordialement,</p>
<p>Daniel Nicollet</p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/1jWgslLt7mg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2010/11/expat-la-tv-francaise-a-letranger/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2010/11/expat-la-tv-francaise-a-letranger/</feedburner:origLink></item>
		<item>
		<title>Un nanomoteur électrique</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/5eETYqRQ0Gw/</link>
		<comments>http://jice.lavocat.name/blog/2010/11/un-nanomoteur-electrique/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 10:18:11 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Nanosciences]]></category>
		<category><![CDATA[Sciences]]></category>
		<category><![CDATA[Moteur]]></category>
		<category><![CDATA[nanotechnology]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1139</guid>
		<description><![CDATA[Une équipe de l'université de Delft en Hollande (où est récemment arrivé mon ami Pierre Bathelemy pour faire son Post-Doc) a récemment mis au point le concept de nanomoteur électrique. Celui-ci est encore théorique, mais pourrait voir le jour dans un proche futur. Le concept, mis au point par Johannes S. Seldenthuis et son équipe, [...]]]></description>
			<content:encoded><![CDATA[<p>Une équipe de l'<a title="TU Delft" href="http://www.tudelft.nl/en/" target="_blank">université de Delft</a> en Hollande (où est récemment arrivé mon ami <a title="Pierre Bathelemy" href="http://sites.google.com/site/barthelemyprofessional/" target="_blank">Pierre Bathelemy</a> pour faire son Post-Doc) a récemment mis au point le concept de nanomoteur électrique. Celui-ci est encore théorique, mais pourrait voir le jour dans un proche futur.</p>
<p>Le concept, mis au point par <strong>Johannes S. Seldenthuis</strong> et son équipe, se base sur une <strong>longue chaine moléculaire polaire</strong>. Lors de l'application d'un champs électrique altérnatif, le <a title="Dipole electrostatique" href="http://fr.wikipedia.org/wiki/Moment_dipolaire" target="_blank">dipôle</a> est attiré alternativement vers le haut ou le bas, mettant ainsi le moteur en rotation.</p>
<p>Comme une image vaut mieux qu'un long discours, je vous laisse comprendre le principe par vous même :</p>
<p style="text-align: center;"><img src="http://pubs.acs.org/appl/literatum/publisher/achs/journals/content/ancac3/0/ancac3.ahead-of-print/nn1021499/aop/images/medium/nn-2010-021499_0002.gif" alt="Nano-moteur" width="475" height="483" /></p>
<p style="text-align: justify;">Pour en savoir plus : <a title="Nanomoteur" href="http://pubs.acs.org/doi/full/10.1021/nn1021499" target="_blank">http://pubs.acs.org/doi/full/10.1021/nn1021499</a></p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/5eETYqRQ0Gw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2010/11/un-nanomoteur-electrique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2010/11/un-nanomoteur-electrique/</feedburner:origLink></item>
		<item>
		<title>La pub tuera-t-elle les spammeurs?</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/Me57LwMF-vE/</link>
		<comments>http://jice.lavocat.name/blog/2010/11/la-pub-tuera-t-elle-les-spammeurs/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 09:25:58 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[pub]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1125</guid>
		<description><![CDATA[Ils l'ont trouvée la solution qui viendra peut être à bout des script kiddies spammeurs, ceux qui utilisent par exemple XRummer (logiciel qui permet l'envoi automatique de commentaires/messages forum avec des liens spammy). Mais de quoi s'agit-il? NuCaptcha est une société basée à Vancouver qui propose une solution plutôt élégante de captcha (enfin, tout est [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Ils l'ont trouvée la solution qui viendra peut être à bout des <span style="text-decoration: line-through;">script kiddies</span> spammeurs, ceux qui utilisent par exemple XRummer (logiciel qui permet l'envoi automatique de commentaires/messages forum avec des liens spammy). Mais de quoi s'agit-il?</p>
<p style="text-align: justify;"><a title="NuCaptcha" href="http://www.nucaptcha.com" target="_blank">NuCaptcha</a> est une société basée à Vancouver qui propose une solution plutôt élégante de <strong>captcha </strong>(enfin, tout est relatif, moi je préférerais voir des animaux qui gambadent dans la forêt au printemps). En effet, au lieu de vous afficher des lettres tordues à déchiffrer ou un calcul à résoudre, il s'agit là de <strong>regarder un petit spot vidéo</strong> dans lequel un <strong>message publicitaire</strong> passe. Votre mission? Lire le texte et extraire certaines lettres (en rouge par exemple). Exemple ci-dessous :</p>
<p style="text-align: center;"> </p>
<p style="text-align: center;"><img title="Pub Nucaptcha" src="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/pub_nucaptcha-300x248.png" alt="Pub Nucaptcha" width="300" height="248" /></p>
<p style="text-align: justify;">Voilà, à présent le captcha entre encore plus dans le monde de la surconsommation. On avait déjà vu celui de <a title="ReCaptcha" href="http://www.google.com/recaptcha" target="_blank">recaptcha</a>, de google, qui lui permettait de <strong>digitaliser ses livres</strong> avec plus de précision. Là on passe au niveau supérieur.</p>
<p style="text-align: justify;">Qu'en pensez-vous?</p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/Me57LwMF-vE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2010/11/la-pub-tuera-t-elle-les-spammeurs/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2010/11/la-pub-tuera-t-elle-les-spammeurs/</feedburner:origLink></item>
		<item>
		<title>A script to plot GWL File (for the use of Nanoscribe)</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/WKUHUXeeZVE/</link>
		<comments>http://jice.lavocat.name/blog/2010/11/a-script-to-plot-gwl-file-for-the-use-of-nanoscribe/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 09:54:14 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Sciences]]></category>
		<category><![CDATA[nanoscribe]]></category>
		<category><![CDATA[nanotechnology]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1115</guid>
		<description><![CDATA[The focus of this article is really small. It will only interest people involved in Research, who own a Nanoscribe device. I was a little bit annoyed by the software, very heavy, and running only on windows. I wanted to design my structures on Linux (or any plateform actually), and I wanted to plot the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="file:///tmp/moz-screenshot.png" alt="" /><img class="alignleft size-full wp-image-1121" style="margin-left: 10px; margin-right: 10px;" title="describe - nanoscribe language GWL" src="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/describe1.png" alt="describe - nanoscribe language GWL" width="106" height="105" />The focus of this article is really small. It will only interest people involved in Research, who own a <a title="Nanoscribe" href="http://www.nanoscribe.de/" target="_blank">Nanoscribe</a> device.</p>
<p>I was a little bit annoyed by the software, very heavy, and running only on windows. I wanted to design my structures on Linux (or any plateform actually), and I wanted to plot the result with a light software.</p>
<p>I programmed a small script in Python to plot <strong>2D structures written in gwl</strong>. In order to run it, ou need to have Python 2.6, Matplotlib and SciPy (in order to have Numpy functions). You also have to use the preamble module I use and which is also included in the archive.</p>
<p>To use it, put the module, the script and the GWL file in the same folder. Then modify the script and include the name of your gwl file. Finally, open a consol, and type :</p>
<pre>python plot_gwl.py</pre>
<p>You can modify and improve this small script, and I would be happy to see the modifications (probably 3D would be a good step forward).</p>
<p>Download the archive : <a href="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/Plot_GWL.1.0.zip">Plot_GWL.1.0.zip</a> (contains the script to plot and the module)</p>
<p> </p>
<p><em>Edit</em> 22 Nov. 2010 : I implemented the <strong>3D visualization</strong> . The same command is required to use it (modify line 26  <em>"open('your_filename.gwl','r')"</em> ) . Comments have been added to help you understading the script. A future addition will take in account an input parameter (instead of modifing the script every time to tell it which file to plot).</p>
<p>Download the new archive : <a href="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/Plot_GWL.1.1.zip">Plot_GWL.1.1.zip</a></p>
<p>Example of a 3D plot :</p>
<p style="text-align: center;"><a href="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/tour_eiffel.png"><img title="tour_eiffel" src="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/tour_eiffel-300x222.png" alt="Tour Eiffel with Nanoscribe" width="300" height="222" /></a></p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/WKUHUXeeZVE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2010/11/a-script-to-plot-gwl-file-for-the-use-of-nanoscribe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<enclosure url="http://jice.lavocat.name/blog/wp-content/uploads/2010/11/Plot_GWL.1.0.zip" length="1197" type="application/zip" /><feedburner:origLink>http://jice.lavocat.name/blog/2010/11/a-script-to-plot-gwl-file-for-the-use-of-nanoscribe/</feedburner:origLink></item>
		<item>
		<title>Nohup, Comsol and Matlab</title>
		<link>http://feedproxy.google.com/~r/JiceLavocat/~3/YxD60dnkLfw/</link>
		<comments>http://jice.lavocat.name/blog/2010/06/nohup-comsol-and-matlab/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 14:53:21 +0000</pubDate>
		<dc:creator>Jice</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Comsol]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[nohup]]></category>

		<guid isPermaLink="false">http://jice.lavocat.name/blog/?p=1081</guid>
		<description><![CDATA[When you want to use a Matlab script to perform simulations with Comsol,  a remote server is often used. This post is a quick note to help you creating matlab scripts that would be run on a remote server. The strategy is the following. We will use the nohup command to let the server do [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">When you want to use a <strong>Matlab </strong>script to perform simulations with <strong>Comsol</strong>,  a remote server is often used. This post is a quick note to help you creating matlab scripts that would be run on a remote server.</p>
<p style="text-align: justify;">The strategy is the following. We will use the <em>nohup </em>command to let the server do the simulations while we will turn off our computer. Without the nohup, turning off your computer would result in breaking the <strong>ssh connexion</strong>, and thus, the matlab/comsol processes that were running. Another solution could have been the use of the command <em>screen</em>.</p>
<p style="text-align: justify;">First you have to be sure that you Matlab script won't output graphical windows which would need X to be printed. If such windows appear during your calculation, then the script would have to stop. In order to prevent java windows to be created, add this at the beginning of your Matlab script :</p>
<ul>
<li>flreport('off')</li>
</ul>
<p>Second, you have to force your script to close the matlab process after the simulation. So you have to add this at the end of your script :</p>
<ul>
<li>exit</li>
</ul>
<p>Now, you just have to create a directory for your simulation of the day, upload all your script's files, and launch the following command via a terminal when you'll be located in your simulation's folder :</p>
<ul>
<li>nohup comsol matlab -ml -nodesktop -ml -nosplash -mlr "Script_matlab" &amp;</li>
</ul>
<p> </p>
<p><strong><span style="text-decoration: underline;">Note</span> </strong>: here we assumed that the script was called <em>Script_matlab.m</em>. Be carefull, and don't forget to remove the extension ".m" when you use nohup.</p>
<img src="http://feeds.feedburner.com/~r/JiceLavocat/~4/YxD60dnkLfw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jice.lavocat.name/blog/2010/06/nohup-comsol-and-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jice.lavocat.name/blog/2010/06/nohup-comsol-and-matlab/</feedburner:origLink></item>
	</channel>
</rss>

