<?xml 
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
>

<channel xml:lang="fr">
	<title>Blog notes Aternatik</title>
	<link>http://www.aternatik.org/</link>
	<description>Le blog notes Aternatik : articles, documentation et tutoriaux d'installation de logiciels libres dans diff&#233;rents domaines : serveur web, messagerie, LDAP, d&#233;veloppement....</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>

	<image>
		<title>Blog notes Aternatik</title>
		<url>http://www.aternatik.org/local/cache-vignettes/L144xH25/siteon0-5648c.jpg</url>
		<link>http://www.aternatik.org/</link>
		<height>25</height>
		<width>144</width>
	</image>



<item xml:lang="fr">
		<title>Exemple d'utilisation d'un pipeline SPIP</title>
		<link>http://www.aternatik.org/articles-et-ressources/bacasable-developpement/article/exemple-d-utilisation-d-un</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/bacasable-developpement/article/exemple-d-utilisation-d-un</guid>
		<dc:date>2010-08-21T09:00:27Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Spip</dc:subject>
		<dc:subject>PHP</dc:subject>

		<description>Une br&#232;ve proc&#233;dure pour expliquer l'utilisation d'un pipeline SPIP. Un pipeline est une fonctionnalit&#233; du le gestionnaire de contenu SPIP. Ce syst&#232;me de points d'entr&#233;e permet d'ajouter des traitements (calcul, affichage d'infos sp&#233;cifiques, etc...) &#224; SPIP sans modifier une seule ligne de code au coeur de l'application. Un r&#233;dacteur a besoin de connaitre le nombre de caract&#232;res du texte d'un article avant de le publier. Ce calcul et l'affichage n'&#233;tant pas pr&#233;vu par SPIP dans sa version officielle, il va (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/bacasable-developpement/" rel="directory"&gt;Bacasable / d&#233;veloppement&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Spip" rel="tag"&gt;Spip&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/PHP,22" rel="tag"&gt;PHP&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Une br&#232;ve proc&#233;dure pour expliquer l'utilisation d'un pipeline SPIP. Un pipeline est une fonctionnalit&#233; du le gestionnaire de contenu SPIP. Ce syst&#232;me de points d'entr&#233;e permet d'ajouter des traitements (calcul, affichage d'infos sp&#233;cifiques, etc...) &#224; SPIP sans modifier une seule ligne de code au coeur de l'application.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Un r&#233;dacteur a besoin de connaitre le nombre de caract&#232;res du texte d'un article avant de le publier. Ce calcul et l'affichage n'&#233;tant pas pr&#233;vu par SPIP dans sa version officielle, il va falloir mettre les mains dans le camboui &lt;img alt=&quot;:)&quot; title=&quot;:)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/sourire.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt;&lt;/p&gt; &lt;p&gt;On pourrait directement trouver la page concern&#233;e dans l'espace priv&#233; et la modifier dans le code de SPIP. Seulement, ces modifications risquent d'&#234;tre &#233;cras&#233;es lors d'une mise &#224; jour du logiciel. Pour &#233;viter cela, SPIP offre aux d&#233;veloppeurs un m&#233;canisme qui permet de surcharger les fonctions existantes ou en ajouter d'autres plus sp&#233;cifiques.&lt;/p&gt; &lt;p&gt;Comme indiqu&#233; pr&#233;cis&#233;ment, le syst&#232;me des pipeline va &#234;tre utilis&#233;. Le pipeline &quot;&lt;a href='http://programmer.spip.org/affiche_milieu' class='spip_out' rel='external'&gt;affiche_milieu&lt;/a&gt;&quot; convient parfaitement pour ajouter une information dans les pages d'affichage des articles dans l'espace priv&#233; (le &lt;a href='http://fr.wikipedia.org/wiki/Back_office_%28informatique%29' class='spip_out' rel='external'&gt;back office&lt;/a&gt; du site).&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Appel du pipeline&lt;/h3&gt;
&lt;p&gt;Les &quot;pipeline&quot; sont en g&#233;n&#233;ral utilis&#233;s par un plugin dans lequel le fichier de configuration &quot;&lt;i&gt;plugin.xml&lt;/i&gt;&quot; permet de les d&#233;clarer. Ici, une autre m&#233;thode est utilis&#233;e : l'utilisation du fichier &quot;&lt;i&gt;mes_fonctions.php&lt;/i&gt;&quot; &#224; placer dans le r&#233;pertoire &lt;i&gt;config&lt;/i&gt; du site.&lt;/p&gt; &lt;p&gt;D&#233;claration du pipeline :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_php code&quot;&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;'spip_pipeline'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;'affiche_milieu'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;.=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;|nombre_caracteres_article&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;On voit que la d&#233;claration du pipeline s'effectue en modifiant un tableau $GLOBALS['spip_pipeline'] qui est g&#233;r&#233; par SPIP. La chaine &lt;strong&gt;|nombre_caracteres_article&lt;/strong&gt; indique qu'on va envoyer le flux qui contient les donn&#233;es &#224; la fonction nombre_caracteres_article.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Fonction de traitement&lt;/h3&gt;
&lt;p&gt;Il faut maintenant cr&#233;er la fonction qui va ex&#233;cuter le traitement. Voici le code, &#224; placer &#233;galement dans le fichier &lt;i&gt;config/mes_options.php&lt;/i&gt; :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_php code&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; nombre_caracteres_article&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$flux&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// La fonction s'ex&#233;cute si on est sur l'url ecrire/?exec=articles&amp;id_article=XXX&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$exec&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$flux&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;args&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;exec&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$flux&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;'args'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;'exec'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;articles&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$id_article&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$flux&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;args&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;id_article&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// R&#233;cup&#232;re le texte de l'article et le nettoie&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$texte&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; attribut_html&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;sql_getfetsel&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;'texte'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;&quot;&gt;'spip_articles'&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;id_article=$id_article&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// Compte le nombre de caract&#232;res dans la chaine&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$nb_car&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;a href=&quot;http://www.php.net/strlen&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;strlen&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$texte&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;// le code html &#224; retourner&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$ret&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;&quot;&gt;'&lt;div class=&quot;nombre_caracteres_article&quot;&gt;&lt;strong&gt;Longueur du texte : '&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$nb_car&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;&quot;&gt;' caract&#232;res&lt;/strong&gt;.&lt;/div&gt;'&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$flux&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;data&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;.=&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$ret&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$flux&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/d20da4bd242b6596f7b6dbcb60b61c63.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Sauvegarder le fichier et vider le cache du site.
La longueur du texte de l'article s'affiche maintenant sur les pages articles dans l'espace priv&#233; &lt;img alt=&quot;:)&quot; title=&quot;:)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/sourire.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt;&lt;/p&gt;&lt;/div&gt;
		&lt;div class="hyperlien"&gt;Voir en ligne : &lt;a href="http://programmer.spip.org/-Liste-des-pipelines" class="spip_out"&gt;Liste des pipelines SPIP&lt;/a&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Simuler des liens avec jQuery (et SPIP)</title>
		<link>http://www.aternatik.org/articles-et-ressources/bacasable-developpement/article/simuler-des-liens-avec-jquery-et</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/bacasable-developpement/article/simuler-des-liens-avec-jquery-et</guid>
		<dc:date>2010-08-05T14:37:43Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Spip</dc:subject>

		<description>Simuler des liens sans multiplier les balises &quot;a&quot; dans le code source des documents html. En terme d'accessibilit&#233; de r&#233;f&#233;rencement, il est recommand&#233; de n'attribuer qu'un seul lien par ressource (une page, un document...) dans le code source d'un document html. Or pour tenir compte des habitudes des utilisateurs, il est souvent n&#233;cessaire d'avoir plusieurs zones cliquables, renvoyant vers la m&#234;me ressource. La librairie jQuery va nous servir &#224; simuler des liens sur des &#233;l&#233;ments de la page : (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/bacasable-developpement/" rel="directory"&gt;Bacasable / d&#233;veloppement&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Spip" rel="tag"&gt;Spip&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Simuler des liens sans multiplier les balises &quot;a&quot; dans le code source des documents html.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;En terme d'accessibilit&#233; de r&#233;f&#233;rencement, il est recommand&#233; de n'attribuer qu'un seul lien par ressource (une page, un document...) dans le code source d'un document html.&lt;/p&gt; &lt;p&gt;Or pour tenir compte des habitudes des utilisateurs, il est souvent n&#233;cessaire d'avoir plusieurs zones cliquables, renvoyant vers la m&#234;me ressource.&lt;/p&gt; &lt;p&gt;La librairie &lt;a href='http://jquery.com/' class='spip_out' rel='external'&gt;jQuery&lt;/a&gt; va nous servir &#224; simuler des liens sur des &#233;l&#233;ments de la page : titre de l'article, description compl&#232;te, etc...&lt;/p&gt; &lt;p&gt;Le script est particuli&#232;rement adapt&#233; pour que les &#233;v&#232;nements javascript soient g&#233;r&#233;s correctement avec le m&#233;canisme de pagination ajax particuli&#232;re au cms &lt;a href='http://spip.net/fr' class='spip_out' rel='external'&gt;SPIP&lt;/a&gt;.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Code html&lt;/h3&gt;
&lt;p&gt;Tout d'abord le contenu : une liste d'articles (squelette SPIP) :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_spip2 code&quot;&gt;&lt;ul&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222;&quot;&gt;&lt;BOUCLE_articles&lt;span style=&quot;color: #527EE0;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ARTICLES&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;id_article&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;statut?&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #222;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;li class=&quot;item hentry&quot; &gt;&lt;br /&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;a href=&quot;&lt;span style=&quot;color: #CA5200;&quot;&gt;#URL_ARTICLE&lt;/span&gt;&quot; title=&quot;Lire &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#TITRE&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|strtolower&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&quot; class=&quot;highlight&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#LOGO_ARTICLE_RUBRIQUE&lt;/span&gt;|&lt;span style=&quot;color: #E1861A;&quot;&gt;|image_reduire&lt;/span&gt;&lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;150&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&lt;h3 class=&quot;entry-title link&quot; &gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#TITRE&lt;/span&gt;&lt;/h3&gt;&lt;br /&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;div class=&quot;introduction entry-content&quot; &gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#INTRODUCTION&lt;/span&gt;&lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222;&quot;&gt;&lt;/BOUCLE_articles&lt;/span&gt;&lt;span style=&quot;color: #222;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/b297dfa72e2083efd9b48475cadfc72d.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;L'unique lien est sur l'image dans le code html, et une classe &quot;link&quot; est appliqu&#233;e au titre &quot;h3&quot;.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Javascript&lt;/h3&gt;
&lt;p&gt;Le code javascript n&#233;cessaire pour d&#233;clencher le lien lors du click sur un objet avec la classe &quot;lien&quot; :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript code&quot;&gt;&lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;/* Simulation d'un lien avec jquery */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; link_init&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;jQuery&lt;span style=&quot;color: #009900;&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: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt; &lt;br /&gt; jQuery&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'.link'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;click&lt;/span&gt;&lt;span style=&quot;color: #009900;&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: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; link &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;parent&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;find&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'a'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'href'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; window.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;link;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt;
jQuery&lt;span style=&quot;color: #009900;&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: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;link_init.&lt;span style=&quot;color: #660066;&quot;&gt;apply&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;; onAjaxLoad&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;link_init&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/c9d31599502ec6d6b564fd8c075790c3.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;En cliquant sur le titre, la page se recharge et affiche la cible. Seulement en apparence, rien ne montre &#224; l'utilisateur qu'un lien est disponible. Toujours en javascript, il faut styler les &#233;lement et prendre en compte le survol avec la fonction hover. Le code final du fichier fonction.js &#224; inclure dans les ent&#234;tes des pages :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_javascript code&quot;&gt;&lt;span style=&quot;color: #006600; font-style: italic;&quot;&gt;/* Simulation d'un lien avec jquery */&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt; link_init&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;jQuery&lt;span style=&quot;color: #009900;&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: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt; &lt;br /&gt; jQuery&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'.link'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;click&lt;/span&gt;&lt;span style=&quot;color: #009900;&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: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; link &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; $&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;parent&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;find&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'a'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'href'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; window.&lt;span style=&quot;color: #660066;&quot;&gt;location&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt;link;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; jQuery&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;'.link'&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;hover&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; jQuery&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;css&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;cursor&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;pointer&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;css&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text-decoration&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;underline&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;&lt;br /&gt; jQuery&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;css&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;cursor&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;normal&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;css&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;text-decoration&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3366CC;&quot;&gt;&quot;none&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;br /&gt;
jQuery&lt;span style=&quot;color: #009900;&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: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&#123;&lt;/span&gt;link_init.&lt;span style=&quot;color: #660066;&quot;&gt;apply&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;document&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;; onAjaxLoad&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;link_init&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;span style=&quot;color: #009900;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/40313a27a2c3566f516c623c7b3b52e7.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; Ce code est bien s&#251;r &#224; adapter selon les besoins et la structure de la page, notamment en ce qui concerne la recherche de l'attribut &quot;href&quot; qui contient l'url cible.&lt;/p&gt; &lt;p&gt;&lt;a href='http://programmer.spip.org/+-onAjaxLoad' class='spip_out' rel='external'&gt;onAjaxLoad&lt;/a&gt; est une fonction sp&#233;cifique &#224; SPIP. Sans elle, les &#233;v&#232;nements ne fonctionneront pas lors de l'utilisation du m&#233;canisme des blocs ajax (pagination ou autre).&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Plugin SPIP d'extraction de mot cl&#233;s</title>
		<link>http://www.aternatik.org/articles-et-ressources/bacasable-developpement/article/plugin-spip-d-extraction-de-mot</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/bacasable-developpement/article/plugin-spip-d-extraction-de-mot</guid>
		<dc:date>2010-06-26T17:13:33Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Spip</dc:subject>
		<dc:subject>R&#233;f&#233;rencement</dc:subject>

		<description>Une fonction qui extrait des mots cl&#233;s d'une chaine de caract&#232;res (comme le texte d'un article) mis en plugin SPIP pour faciliter sa configuration et sa r&#233;utilisation. Fonctionnement et utilisation Apr&#232;s installation et activation, ce plugin met &#224; disposition le filtre |extraire_motcles pour extraire les mots d'une chaine de caract&#232;res en fonction de leur occurrence. La premi&#232;re utilisation de cette fonction est la g&#233;n&#233;ration automatique de la balise meta &quot;keywords&quot; en fonction du texte d'un article (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/bacasable-developpement/" rel="directory"&gt;Bacasable / d&#233;veloppement&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Spip" rel="tag"&gt;Spip&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/referencement" rel="tag"&gt;R&#233;f&#233;rencement&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Une fonction qui extrait des mots cl&#233;s d'une chaine de caract&#232;res (comme le texte d'un article) mis en plugin SPIP pour faciliter sa configuration et sa r&#233;utilisation.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;spip&quot;&gt;Fonctionnement et utilisation&lt;/h3&gt;
&lt;p&gt;Apr&#232;s installation et activation, ce plugin met &#224; disposition le filtre |extraire_motcles pour extraire les mots d'une chaine de caract&#232;res en fonction de leur occurrence.&lt;/p&gt; &lt;p&gt;La premi&#232;re utilisation de cette fonction est la g&#233;n&#233;ration automatique de la balise meta &quot;keywords&quot; en fonction du texte d'un article :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_spip2 code&quot;&gt;&lt;span style=&quot;color: #222;&quot;&gt;&lt;BOUCLE_article_head&lt;span style=&quot;color: #527EE0;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ARTICLES&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;id_article&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #222;&quot;&gt;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;title&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#TITRE&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|textebrut&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; - &lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#NOM_SITE_SPIP&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|textebrut&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;/title&gt;&lt;br /&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;meta name=&quot;description&quot; content=&quot;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#INTRODUCTION&lt;/span&gt;&lt;span style=&quot;color: #74B900;&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&#123;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;180&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&#125;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|textebrut&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&quot; /&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;meta name=&quot;keywords&quot; content=&quot;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#TEXTE&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|attribut_html&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|extraire_motcles&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&quot; /&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;link rel=&quot;canonical&quot; href=&quot;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #CA5200;&quot;&gt;#URL_ARTICLE&lt;/span&gt;&lt;span style=&quot;color: #E1861A;&quot;&gt;|url_absolue&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&quot; /&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222;&quot;&gt;&lt;/BOUCLE_article_head&lt;/span&gt;&lt;span style=&quot;color: #222;&quot;&gt;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/6eb938059d2b49d88a60bfba3c5a8217.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Par d&#233;faut, une chaine comprenant les mots cl&#233;s s&#233;par&#233; par une virgule est retourn&#233;e par la fonction. Si la fonction est utilis&#233; dans un script PHP, on peut avoir besoin d'un tableau. Dans ce cas, utiliser l'appel suivant :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_php code&quot;&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$mots&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; extraire_motcles&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;$chaine&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&quot;tableau&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/div&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;Configuration&lt;/h3&gt;
&lt;p&gt;Un page de configuration permet de r&#233;gler les variables de la fonction :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; le nombre de caract&#232;res minimum d'un mot&lt;/li&gt;&lt;li&gt; le nombre d'occurrence d'un mot dans la chaine&lt;/li&gt;&lt;li&gt; le nombre de mot total retourn&#233;&lt;/li&gt;&lt;li&gt; les mots &#224; exclure &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;!-- htmlA --&gt;&lt;span class='spip_document_54 spip_documents spip_documents_center'&gt;
&lt;img src='http://www.aternatik.org/local/cache-vignettes/L500xH622/cfg_exmot-7a3a3.png' width='500' height='622' alt=&quot;&quot; style='height:622px;width:500px;' /&gt;&lt;/span&gt;&lt;!-- htmlB --&gt;&lt;/p&gt; &lt;p&gt;Extraire les mots r&#233;currents dans une chaine compos&#233; des textes des articles d'une rubrique :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_spip2 code&quot;&gt; &lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/5c60fec2d64eaa7ebaa5a972cb273165.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
		
		</content:encoded>


		
		<enclosure url="http://www.aternatik.org/IMG/zip/extraire_motscles.zip" length="3973" type="application/zip" />
		

	</item>
<item xml:lang="fr">
		<title>Une passerelle Thelia -&gt; Dolibarr en module</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/article/une-passerelle-thelia-dolibarr-en</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/article/une-passerelle-thelia-dolibarr-en</guid>
		<dc:date>2010-02-08T11:11:00Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>PHP</dc:subject>
		<dc:subject>Dolibarr</dc:subject>
		<dc:subject>THELIA</dc:subject>

		<description>Thelia est un logiciel e-commerce open source et Dolibarr est un logiciel de gestion d'entreprise lui aussi open source. Int&#233;gr&#233;s conjointement dans un m&#234;me syst&#232;me d'information, vous obtenez une solution ecommerce performante (Thelia) et riche en fonctionnalit&#233;s de gestion d'entreprise (Dolibarr). Fonctionnement du module Un webservice (install&#233; sur le site Thelia) est interrog&#233; &#224; partir de Dolibarr. Les &#233;l&#233;ments Thelia peuvent &#234;tre import&#233;s : clients, produits, cat&#233;gories et commandes. Dans la (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/PHP,22" rel="tag"&gt;PHP&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/dolibarr" rel="tag"&gt;Dolibarr&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/thelia" rel="tag"&gt;THELIA&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Thelia est un logiciel e-commerce open source et Dolibarr est un logiciel de gestion d'entreprise lui aussi open source. Int&#233;gr&#233;s conjointement dans un m&#234;me syst&#232;me d'information, vous obtenez une solution ecommerce performante (Thelia) et riche en fonctionnalit&#233;s de gestion d'entreprise (Dolibarr).&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;spip&quot;&gt;Fonctionnement du module&lt;/h3&gt;
&lt;p&gt;Un webservice (install&#233; sur le site Thelia) est interrog&#233; &#224; partir de Dolibarr. Les &#233;l&#233;ments Thelia peuvent &#234;tre import&#233;s : clients, produits, cat&#233;gories et commandes.&lt;/p&gt; &lt;p&gt;Dans la base de donn&#233;es Dolibarr, des tables sont utilis&#233;es pour faire la relation entre les objets des deux logiciels (ex : fiche client Thelia et fiche client Dolibarr).&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Fonctionnalit&#233;s manquantes&lt;/h3&gt;
&lt;p&gt;Le module ne fonctionne pas encore en &#233;criture dans la base de donn&#233;es Thelia. On pourra faire appel aux triggers Dolibarr pour par exemple effectuer la mise &#224; jour de la base Thelia en cas de mise d'un produit.&lt;/p&gt; &lt;p&gt;La gestion des permissions au sein du module n'est pas d&#233;velopp&#233;e.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Tester le module&lt;/h3&gt;
&lt;p&gt;Le module est encore en d&#233;veloppement mais n&#233;anmoins fonctionnel (ou presque). Vous pouvez tester ce module en t&#233;l&#233;chargeant les sources ci-dessous.&lt;/p&gt; &lt;p&gt;Merci de votre retour, soit en commentaires en bas de cette page soit &lt;a href='http://aternatik.fr/article/contact' class='spip_out' rel='external'&gt;par mail&lt;/a&gt;.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Contribuer au module&lt;/h3&gt;
&lt;p&gt;Toute contribution est bienvenue sous forme de patch (&lt;a href='http://wiki.dolibarr.org/index.php/FAQ_D%C3%A9veloppeur#Soumettre_un_patch.2C_am.C3.A9lioration_ou_participer_au_d.C3.A9veloppement' class='spip_out' rel='external'&gt;comment faire un patch ?&lt;/a&gt;), &#224;&lt;a href='http://aternatik.fr/article/contact' class='spip_out' rel='external'&gt;envoyer ici&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Ces modifications seront int&#233;gr&#233;es dans Dolibarr pour les prochaines versions. Vous pouvez &#233;galement vous inscrire sur le &lt;a href='http://dolibarr.pro/' class='spip_out' rel='external'&gt;dolibarr.pro&lt;/a&gt; pour contribuer au projet.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Rester inform&#233;&lt;/h3&gt;
&lt;div&gt;&lt;span class=&quot;base64php9079497304c85ce5b3bf5a8.84426399&quot; title=&quot;PD9waHAgCmluY2x1ZGVfb25jZSgiLi8iIC4gX0RJUl9SQUNJTkUgLiAicGx1Z2lucy9zcGlwLWxpc3Rlc18xXzlfMy9iYWxpc2UvZm9ybXVsYWlyZV9hYm9ubmVtZW50LnBocCIpOwppZiAoJGxhbmdfc2VsZWN0ID0gImZyIikgJGxhbmdfc2VsZWN0ID0gbGFuZ19zZWxlY3QoJGxhbmdfc2VsZWN0KTsKaW5zZXJlcl9iYWxpc2VfZHluYW1pcXVlKGJhbGlzZV9GT1JNVUxBSVJFX0FCT05ORU1FTlRfZHluKCcnLCAnZm9ybXVsYWlyZV9hYm9ubmVtZW50JyksIGFycmF5KCcnLCAnJywgJycsICcnLCAnZnInKSk7CmlmICgkbGFuZ19zZWxlY3QpIGxhbmdfc2VsZWN0KCk7Cj8+&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;Mise &#224; jour&lt;/h3&gt;
&lt;p&gt;La soci&#233;t&#233; Octolys qui d&#233;veloppe le logiciel ecommerce &lt;a href='http://thelia.fr/' class='spip_out' rel='external'&gt;THELIA&lt;/a&gt; a repris le d&#233;veloppement de ce module. Pour plus d'infos sur la version b&#234;ta, consultez le &lt;a href='http://blog.thelia.fr/index.php?2010/03/25/308-passerelle-thelia-dolibarr' class='spip_out' rel='external'&gt;blog Thelia&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_ps'&gt;&lt;p&gt;Le d&#233;veloppement de ce module est bas&#233; sur le module OSCommerce WS d&#233;j&#224; existant dans Dolibarr.&lt;/p&gt;&lt;/div&gt;
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Ressources pour d&#233;velopper Dolibarr</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/article/ressources-pour-developper</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/article/ressources-pour-developper</guid>
		<dc:date>2009-12-30T00:02:42Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Dolibarr</dc:subject>

		<description>D&#233;stin&#233;e aux d&#233;veloppeurs, cette liste donne des pointeurs &#224; connaitre pour tout d&#233;veloppement sur le logiciel Dolibarr. Liens officiels Le wiki dolibarr est la plus importante base de connaissance sur le d&#233;veloppement d'un module. Voici quelques liens &#224; consulter : documentation d&#233;veloppeur Dolibarr langages et normes de d&#233;veloppement d&#233;veloppement d'un module Doc sur les triggers Une question trouve souvent une r&#233;ponse dans le forum (francophone / anglophone) Fichiers utiles : fonctions usuelles (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/mot/dolibarr" rel="tag"&gt;Dolibarr&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;D&#233;stin&#233;e aux d&#233;veloppeurs, cette liste donne des pointeurs &#224; connaitre pour tout d&#233;veloppement sur le logiciel Dolibarr.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&quot;spip&quot;&gt;Liens officiels&lt;/h3&gt;
&lt;p&gt;Le &lt;a href='http://wiki.dolibarr.org/index.php/Accueil' class='spip_out' rel='external'&gt;wiki dolibarr&lt;/a&gt; est la plus importante base de connaissance sur le d&#233;veloppement d'un module. Voici quelques liens &#224; consulter :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; documentation d&#233;veloppeur &lt;a href='http://wiki.dolibarr.org/index.php/Documentation_D%C3%A9veloppeur' class='spip_out' rel='external'&gt;Dolibarr&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://wiki.dolibarr.org/index.php/Langages_et_normes' class='spip_out' rel='external'&gt;langages et normes de d&#233;veloppement&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://wiki.dolibarr.org/index.php/Developpement_module' class='spip_out' rel='external'&gt;d&#233;veloppement d'un module&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Doc sur les &lt;a href='http://wiki.dolibarr.org/index.php/Interfaces_Dolibarr_vers_exterieur' class='spip_out' rel='external'&gt;triggers&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Une question trouve souvent une r&#233;ponse dans le forum (francophone / anglophone)&lt;/p&gt; &lt;p&gt;Fichiers utiles :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; fonctions usuelles (pour la manipulation de dates, images d'actions, prix, tva, etc...) : &lt;a href='http://www.aternatik.org/dolidoc/functions_8lib_8php.html' class='spip_out'&gt;htdocs/lib/functions_functions_lib.php&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Dolibarr 2.7 pr&#233;vue pour le 30 novembre</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/article/dolibarr-2-7-prevues-pour-le-30</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/article/dolibarr-2-7-prevues-pour-le-30</guid>
		<dc:date>2009-11-18T16:54:12Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Dolibarr</dc:subject>
		<dc:subject>Planet Libre</dc:subject>

		<description>Au menu des nouveaut&#233;s : le module import de donn&#233;es et le module caisse enregistreuse. Rappelons que Dolibarr est un logiciel modulaire (on n'active que les fonctions que l'on d&#233;sire) de gestion d'entreprises, d'ind&#233;pendants ou d'associations. C'est un projet OpenSource bas&#233; sur un serveur WAMP ou LAMP (Apache, Mysql, PHP). Dolibarr se d&#233;marque des offres de logiciels de cette cat&#233;gorie comme OpenAguila, OpenBravo, OpenERP (Ex TinyERP), Neogia, Compiere, Adempiere, etc par le fait qu'ici tout est fait (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/mot/dolibarr" rel="tag"&gt;Dolibarr&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/planet-libre" rel="tag"&gt;Planet Libre&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L150xH48/arton88-f70f9.png&quot; width='150' height='48' style='height:48px;width:150px;' /&gt;
		&lt;div class='rss_chapo'&gt;&lt;p&gt;Au menu des nouveaut&#233;s : le module import de donn&#233;es et le module caisse enregistreuse.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Rappelons que Dolibarr est un logiciel modulaire (on n'active que les fonctions que l'on d&#233;sire) de gestion d'entreprises, d'ind&#233;pendants ou d'associations. C'est un projet OpenSource bas&#233; sur un serveur WAMP ou LAMP (Apache, Mysql, PHP). Dolibarr se d&#233;marque des offres de logiciels de cette cat&#233;gorie comme OpenAguila, OpenBravo, OpenERP (Ex TinyERP), Neogia, Compiere, Adempiere, etc par le fait qu'ici tout est fait pour offrir de la simplicit&#233; :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Simple pour l'installation (avec un installeur DoliWamp pour Windows ou Mac, pour ceux qui ignorent comment installer un serveur Apache, Mysql, PHP, un assistant Web pour les autres, aucun composant compl&#233;mentaire, ni Java, ni Python, ni Perl, ni module PHP PEARL, ni autre librairie exotique).&lt;/li&gt;&lt;li&gt; Simple pour l'utilisation (tout module est d&#233;brayable pour all&#233;ger au maximum les menus, seul le m&#233;canisme des habilitations ne l'est pas).&lt;/li&gt;&lt;li&gt; Simple pour le d&#233;veloppement (pas de frameworks lourds). Dolibarr, d&#233;velopp&#233; en PHP objet, int&#232;gre en effet ses propres classes permettant &#224; tout d&#233;veloppeur d'&#234;tre tout de suite op&#233;rationnel sans connaissances particuli&#232;res autre que le PHP). &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Il vise donc une cible diff&#233;rente, que sont les PME/TPE, ind&#233;pendants, professions lib&#233;rales, micro-entreprises ou associations, la o&#249; la sophistication des autres produits les rend plus adapt&#233;s aux plus grosses structures.&lt;/p&gt; &lt;p&gt;L'ensemble des fonctionnalit&#233;s couvertes par cette version sont d&#233;crites sur le site Web : &lt;a href='http://www.dolibarr.fr/fonctionnalites/' class='spip_out' rel='nofollow external'&gt;http://www.dolibarr.fr/fonctionnalites/&lt;/a&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Modifications par rapport &#224; la version 2.6 :&lt;/h3&gt;
&lt;p&gt;La liste n'est disponible qu'en anglais :&lt;/p&gt; &lt;p&gt;For users :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; New : Add a print icon to show a page to print without menus.&lt;/li&gt;&lt;li&gt; New : Can add a free text on bank cheque receipts.&lt;/li&gt;&lt;li&gt; New : Price level can be defined also for prospects.&lt;/li&gt;&lt;li&gt; New : Add a help and support center.&lt;/li&gt;&lt;li&gt; New : Can export commercial proposals.&lt;/li&gt;&lt;li&gt; New : Can use a cache for xcal exports.&lt;/li&gt;&lt;li&gt; New : Option for faster confirmation process with one ajax popup.&lt;/li&gt;&lt;li&gt; New : Complete theme bluelagoon and rodolphe&lt;/li&gt;&lt;li&gt; New : Can select third parties emails in emailing module for all third parties with expired contract's lines.&lt;/li&gt;&lt;li&gt; New : Can add a field errors-to in emailing.&lt;/li&gt;&lt;li&gt; New : Can use inline images in emails.&lt;/li&gt;&lt;li&gt; New : Add predefined invoices (can be use for repeated invoices).&lt;/li&gt;&lt;li&gt; New : Add a confirmation when cloning products.&lt;/li&gt;&lt;li&gt; New : Add stock in product lists.&lt;/li&gt;&lt;li&gt; New : Can filter list of stock movement on date or product.&lt;/li&gt;&lt;li&gt; New : Added a link from product list to their stock movements.&lt;/li&gt;&lt;li&gt; New : Several speed enhancements after using the Google Page speed plugin for FireBug.&lt;/li&gt;&lt;li&gt; New : Add a confirmation on dangerous admin purge feature.&lt;/li&gt;&lt;li&gt; New : Add navigation on donation sheets.&lt;/li&gt;&lt;li&gt; New : Added estimated value for stocks.&lt;/li&gt;&lt;li&gt; New : Added module Gravatar to found photo of users or members from their email on gravatar.com.&lt;/li&gt;&lt;li&gt; New : Include Dolibarr version in suggested dump filename.&lt;/li&gt;&lt;li&gt; New : Enhancement in project module.&lt;/li&gt;&lt;li&gt; New : Add log tab on emailing module.&lt;/li&gt;&lt;li&gt; New : Minor enhancements in look themes.&lt;/li&gt;&lt;li&gt; New : Add option to hide help in menu.&lt;/li&gt;&lt;li&gt; New : Added a &quot;force LDAP synchronize&quot; on member and contact cards.&lt;/li&gt;&lt;li&gt; New : Can split a discount into two smaller discount. This allows to use a discount on an invoice even if invoice amount is lower than discount credit available.&lt;/li&gt;&lt;li&gt; New : Can use variables into the free text on PDF (__TOTAL_TTC_, __TOTAL_VAT...)&lt;/li&gt;&lt;li&gt; New : Increase page loading speed (all changes reported by Google PageSpeed tool has been added).&lt;/li&gt;&lt;li&gt; New : Add support of constant MAIN_ONLY_LOGIN_ALLOWED to allow to lock all access to any users except the one defined in constant.&lt;/li&gt;&lt;li&gt; New : Add an admin page of PHP sessions with a way to lock new connections for other users than yourself. Can also purge existing sessions.&lt;/li&gt;&lt;li&gt; New : Add point of sale module.&lt;/li&gt;&lt;li&gt; New : Better usage when using with smartphones.&lt;/li&gt;&lt;li&gt; New : Add module FTP client.&lt;/li&gt;&lt;li&gt; New : Can set first day of week.&lt;/li&gt;&lt;li&gt; New : Installer now create a .htaccess to protect documents directory.&lt;/li&gt;&lt;li&gt; New : Experimental support for Postgresql.&lt;/li&gt;&lt;li&gt; Fix : &quot;Now&quot; link works when date popup is not used.&lt;/li&gt;&lt;li&gt; Fix : Debug seriously the email notification module.&lt;/li&gt;&lt;li&gt; Fix : Error Call to a member function trans when refusing a supplier order.&lt;/li&gt;&lt;li&gt; Fix : Fix payment conditions on commercial proposals.&lt;/li&gt;&lt;li&gt; Fix : Nb of orders to process was wrong.&lt;/li&gt;&lt;li&gt; Fix : Customer code was not correct on PDF it if contains special characters.&lt;/li&gt;&lt;li&gt; Fix : Can update price even with &quot;NPR&quot; VAT rates.&lt;/li&gt;&lt;li&gt; Fix : When product type is missing, description is not lost when adding new product lines.&lt;/li&gt;&lt;li&gt; Fix : CC and BCC in emails was not used if using SMTPS handler.&lt;/li&gt;&lt;li&gt; Fix : Last character was lost when text end with n or r.&lt;/li&gt;&lt;li&gt; Fix : LDAP synchronization is now more robust (transaction and use modify instead of delete/add).&lt;/li&gt;&lt;li&gt; Fix : Fix : Setup of member synchronization does not conflict with contact or user synchronization.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;For translators :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Update some language files.&lt;/li&gt;&lt;li&gt; Can accept right to left languages. Added an &quot;automatic&quot; arabe translation.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;For developers :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; An external module can force the third party code to be required whatever is the rule of third party code module.&lt;/li&gt;&lt;li&gt; Update fckeditor to 2.6.4.&lt;/li&gt;&lt;li&gt; Update Smarty to 2.6.26.&lt;/li&gt;&lt;li&gt; Removed some deprecated code and files.&lt;/li&gt;&lt;li&gt; Creation of directory in module descriptor is simpler.&lt;/li&gt;&lt;li&gt; Can use an alternate document_root directory to develop with sources on two repositories.&lt;/li&gt;&lt;li&gt; Removed useless code of old commercial module.&lt;/li&gt;&lt;li&gt; Move some modules into the CVS modules repository dolibarrmod. This reduces amount of code in main branch.&lt;/li&gt;&lt;li&gt; Updated wiki documentation.&lt;/li&gt;&lt;li&gt; Better W3C standard.&lt;/li&gt;&lt;li&gt; Can add init data when enabling a module.&lt;/li&gt;&lt;li&gt; Can fix some corruptions in database by calling the update page /install/repair.php&lt;/li&gt;&lt;li&gt; Log files contains more information (PHP_SELD added and OS user used for log of command lines scripts) &lt;/li&gt;&lt;li&gt; Can protect a module to not being enabled if javascript disabled.&lt;/li&gt;&lt;li&gt; If module numberwords is installed, code can use langs-&gt;getLabelFromNumber to get value of an amount in text.&lt;/li&gt;&lt;li&gt; A module can add subsitution keys in makesubsitutions() functions.&lt;/li&gt;&lt;li&gt; Add $conf-&gt;browser-&gt;phone defined to optimise code for smartphone browsers.&lt;/li&gt;&lt;li&gt; All external libs are now in same directory /includes.&lt;/li&gt;&lt;li&gt; All install files are now in same directory /install.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		&lt;div class="hyperlien"&gt;Voir en ligne : &lt;a href="http://dolibarr.fr" class="spip_out"&gt;Site officiel Dolibarr&lt;/a&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Installation Asterisk sur debian</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/Installation-Asterisk-sur-debian,078</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/Installation-Asterisk-sur-debian,078</guid>
		<dc:date>2008-08-08T18:53:39Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Serveur</dc:subject>
		<dc:subject>Debian</dc:subject>
		<dc:subject>Asterisk</dc:subject>
		<dc:subject>vserver</dc:subject>
		<dc:subject>Planet Libre</dc:subject>

		<description>Asterisk est un PCBX : un serveur de communications t&#233;l&#233;phoniques qui utilise le protocole SIP. Autrement dit : un serveur voip... L'article d&#233;crit l'installation des paquets debian et la configuration minimale. On va tout d'abord installer un vserver de test. Sur le serveur h&#244;te : master :/# vserver asterisk build -m debootstrap &#8212;context 1122 &#8212;hostname asterisk.test.lan &#8212;interface eth0:192.168.0.2/32 &#8212;force &#8212; -d etch [...] asterisk :/# vserver asterisk start asterisk :/# vserver asterisk enter (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Serveur" rel="tag"&gt;Serveur&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Debian" rel="tag"&gt;Debian&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/Asterisk" rel="tag"&gt;Asterisk&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/vserver" rel="tag"&gt;vserver&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/planet-libre" rel="tag"&gt;Planet Libre&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L150xH84/arton78-a206f.png&quot; width='150' height='84' style='height:84px;width:150px;' /&gt;
		&lt;div class='rss_chapo'&gt;&lt;p&gt;Asterisk est un PCBX : un serveur de communications t&#233;l&#233;phoniques qui utilise le protocole SIP. Autrement dit : un serveur voip... L'article d&#233;crit l'installation des paquets debian et la configuration minimale.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;On va tout d'abord installer un vserver de test. Sur le serveur h&#244;te :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_Bash code&quot;&gt;master:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# vserver asterisk build -m debootstrap --context 1122 --hostname asterisk.test.lan --interface eth0:192.168.0.2/32 --force -- -d etch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;...&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;
asterisk:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# vserver asterisk start&lt;/span&gt;&lt;br /&gt;
asterisk:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# vserver asterisk enter&lt;/span&gt;&lt;br /&gt;
asterisk:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# apt-get install locales ssh vim&lt;/span&gt;&lt;br /&gt;
asterisk:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# dpkg-reconfigure locales&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/a7c8f913a509a0562e5d68428597584d.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Pour &#233;viter la compilation du logiciel Asterisk (n&#233;cessaire pour avoir la derni&#232;re version qui inclus les derniers codecs), le paquet fournit par debian va nous servir.&lt;/p&gt; &lt;p&gt;Avant d'installer, une recherche dans les bons paquets :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_Bash code&quot;&gt;obelix:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# apt-cache search asterisk&lt;/span&gt;&lt;br /&gt;
asterisk - Open Source Private Branch Exchange &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;PBX&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
asterisk-app-dtmftotext - Text entry application &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-app-fax - Softfax application &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-bristuff - Open Source Private Branch Exchange &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;PBX&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; - BRIstuff-enabled version&lt;br /&gt;
asterisk-chan-capi - Common ISDN API &lt;span style=&quot;color: #000000;&quot;&gt;2.0&lt;/span&gt; implementation &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-classic - Open Source Private Branch Exchange &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;PBX&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; - original Digium version&lt;br /&gt;
asterisk-config - config files &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; asterisk&lt;br /&gt;
asterisk-dev - development files &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; asterisk&lt;br /&gt;
asterisk-doc - documentation &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; asterisk&lt;br /&gt;
asterisk-h323 - asterisk H.323 VoIP channel&lt;br /&gt;
asterisk-oh323 - oh323 channel driver &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-prompt-de - German voice prompts &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; the Asterisk PBX&lt;br /&gt;
asterisk-prompt-es-co - Colombian Spanish voice prompts &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-prompt-fr - French voice prompts &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-prompt-it - Italian voice prompts &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; the Asterisk PBX&lt;br /&gt;
asterisk-prompt-se - Swedish voice prompts &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
asterisk-sounds-extra - Additional sound files &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; the Asterisk PBX&lt;br /&gt;
asterisk-sounds-main - sound files &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; asterisk&lt;br /&gt;
asterisk-web-vmail - Web-based &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;CGI&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; voice mail interface &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; Asterisk&lt;br /&gt;
destar - management interface &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; the Asterisk PBX&lt;br /&gt;
iaxmodem - software modem with IAX2 connectivity&lt;br /&gt;
kiax - IAX VoIP softphone&lt;br /&gt;
libiax-dev - implementation of the Inter-Asterisk eXchange protocol &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;devel&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
libiax0 - implementation of the Inter-Asterisk eXchange protocol&lt;br /&gt;
&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;apt-get&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; asterisk asterisk-doc asterisk-prompt-fr asterisk-sounds-main asterisk-sounds-extra&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/33255016a56ef41ca44c7aa3a81e2be6.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;Configuration&lt;/h3&gt;
&lt;p&gt;Editer le fichier /etc/default/asterisk et indiquer les bons param&#232;tres :&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_Bash code&quot;&gt;&lt;span style=&quot;color: #007800;&quot;&gt;RUNASTERISK&lt;/span&gt;=&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;yes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #007800;&quot;&gt;RUNASTSAFE&lt;/span&gt;=&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;yes&lt;/span&gt; &lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/7c0592de5bfeff17b20ac52e6041637f.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3 class=&quot;spip&quot;&gt;Mise en orbite&lt;/h3&gt;
&lt;p&gt;Apr&#232;s quelques petits soucis d&#251; l'&lt;a href='http://aternatik.org/+Asterisk-et-vserver+.html' class='spip_out' rel='external'&gt;utilisation d'un vserver&lt;/a&gt;, Asterisk est enfin d&#233;marr&#233; et pr&#234;t &#224; fonctionner.&lt;/p&gt; &lt;div class=&quot;coloration_code&quot;&gt;&lt;div class=&quot;spip_Bash code&quot;&gt;obelix:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# /etc/init.d/asterisk start&lt;/span&gt;&lt;br /&gt;
Starting Asterisk PBX: asterisk.&lt;br /&gt;
obelix:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# Asterisk ended with exit status 0&lt;/span&gt;&lt;br /&gt;
Asterisk shutdown normally.&lt;br /&gt;
obelix:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# pstree&lt;/span&gt;&lt;br /&gt;
init&#9472;&#9516;&#9472;asterisk&#9472;&#9472;&#9472;&lt;span style=&quot;color: #000000;&quot;&gt;19&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&#123;&lt;/span&gt;asterisk&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&#125;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt; &#9500;&#9472;cron&lt;br /&gt; &#9500;&#9472;sshd&lt;br /&gt; &#9492;&#9472;syslogd&lt;br /&gt;
obelix:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# netstat -lp&lt;/span&gt;&lt;br /&gt;
Connexions Internet actives &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;seulement serveurs&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;Program name &lt;br /&gt;
tcp 0 0 obelix:&lt;span style=&quot;color: #000000;&quot;&gt;5038&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; LISTEN &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
tcp 0 0 obelix:sieve &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; LISTEN &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
tcp 0 0 obelix:&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; LISTEN &lt;span style=&quot;color: #000000;&quot;&gt;8448&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;sshd &lt;br /&gt;
tcp 0 0 obelix:&lt;span style=&quot;color: #000000;&quot;&gt;1720&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; LISTEN &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
udp 0 0 obelix:&lt;span style=&quot;color: #000000;&quot;&gt;2727&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
udp 0 0 obelix:&lt;span style=&quot;color: #000000;&quot;&gt;4520&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
udp 0 0 obelix:sip &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
udp 0 0 obelix:iax &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt;:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;*&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;br /&gt;
Sockets &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;du&lt;/span&gt; domaine UNIX actives&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;seulement serveurs&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
Proto RefCpt Indicatrs Type Etat I-Node PID&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;Program name Chemin&lt;br /&gt;
unix &lt;span style=&quot;color: #000000;&quot;&gt;2&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; ACC &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; STREAM LISTENING &lt;span style=&quot;color: #000000;&quot;&gt;16218862&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;8709&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;var&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;run&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;asterisk.ctl&lt;br /&gt;
obelix:&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div class='code_download' style='text-align: right;'&gt; &lt;a href='http://www.aternatik.org/local/cache-code/7a314bd0127763c0617246de2ff282f3.txt' style='font-family: verdana, arial, sans; font-weight: bold; font-style: normal;'&gt;T&#233;l&#233;charger&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Il faut maintenant cr&#233;er le dialplan pour faire communiquer tous nos t&#233;l&#233;phones SIP.&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Des liens &lt;/h3&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://asterisk.org/' class='spip_out' hreflang='en' rel='external'&gt;Site officiel Asterisk&lt;/a&gt;&lt;/li&gt;&lt;li&gt; Une bonne introduction pour Asterisk et la Voip : &lt;a href='http://wiki.sos-admin.com/wiki/Introduction_a_la_VoIP_avec_Asterisk' class='spip_out' hreflang='fr' rel='external'&gt;Wiki SOS Admin&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://fr.wikipedia.org/wiki/Asterisk_(logiciel)' class='spip_out' hreflang='fr' rel='external'&gt;Asterisk sur Wikipedia&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>PostfixAdmin : g&#233;rer simplement ses utilisateurs virtuels</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/PostfixAdmin-gerer-simplement-ses,077</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/PostfixAdmin-gerer-simplement-ses,077</guid>
		<dc:date>2008-07-26T14:09:04Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Serveur</dc:subject>
		<dc:subject>PHP</dc:subject>
		<dc:subject>Planet Libre</dc:subject>

		<description>Pr&#233;sentation d'une interface d'administration en PHP pour g&#233;rer la configuration (domaines et utilisateurs virtuels) du serveur de messagerie Postfix. PostfixAdmin permet donc de g&#233;rer graphiquement les utilisateurs virtuels sur un syt&#232;me de messagerie. Ecrit en PHP, il utilise une base de donn&#233;es Mysql. Postfix est d'ailleurs configur&#233; lui aussi pour aller chercher les informations de utilisateurss dan cette base de donn&#233;es. L'installation est relativement simple. Comme toujours, il faut indiquer (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Serveur" rel="tag"&gt;Serveur&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/PHP,22" rel="tag"&gt;PHP&lt;/a&gt;, 
&lt;a href="http://www.aternatik.org/mot/planet-libre" rel="tag"&gt;Planet Libre&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;Pr&#233;sentation d'une interface d'administration en PHP pour g&#233;rer la configuration (domaines et utilisateurs virtuels) du serveur de messagerie Postfix.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;PostfixAdmin permet donc de g&#233;rer graphiquement les utilisateurs virtuels sur un syt&#232;me de messagerie. Ecrit en PHP, il utilise une base de donn&#233;es Mysql. Postfix est d'ailleurs configur&#233; lui aussi pour aller chercher les informations de utilisateurss dan cette base de donn&#233;es.&lt;/p&gt; &lt;p&gt;L'installation est relativement simple. Comme toujours, il faut indiquer les bons param&#232;tres de config aux bons endroits ^^&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Utilisation / fonctionnalit&#233;s&lt;/h3&gt;
&lt;p&gt;Plusieurs niveaux d'utilisation : l'administrateur du serveur, l'administrateur de domaine et utilisateur final.&lt;/p&gt; &lt;p&gt;En tant qu'&lt;strong&gt;administrateur du serveur&lt;/strong&gt;, vous pouvez :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; cr&#233;er / modifier / supprimer un domaine&lt;/li&gt;&lt;li&gt; cr&#233;er / modifier / supprimer un administrateur de domaine&lt;/li&gt;&lt;li&gt; cr&#233;er / modifier / supprimer des alias &lt;/li&gt;&lt;li&gt; cr&#233;er / modifier / supprimer des boites aux lettres&lt;/li&gt;&lt;li&gt; sauvegarder la base de donn&#233;es&lt;/li&gt;&lt;li&gt; Consulter les journaux des actions les administrateurs de chaque domaine&lt;/li&gt;&lt;li&gt; consulter les administrateurs de domaine le nombre de domaines&lt;/li&gt;&lt;li&gt; consulter tous les domaines / alias / boites aux lettres&lt;/li&gt;&lt;li&gt; activer / d&#233;sactiver un domaine&lt;/li&gt;&lt;li&gt; activer / d&#233;sactiver une boite au lettres&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;En tant qu'&lt;strong&gt;administrateur de domaine&lt;/strong&gt;, vous pouvez :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; cr&#233;er / modifier / supprimer les alias pour un domaine&lt;/li&gt;&lt;li&gt; cr&#233;er / modifier / supprimer les boites aux lettres d'un domaine&lt;/li&gt;&lt;li&gt; consulter les domaines, alias et boites aux lettres&lt;/li&gt;&lt;li&gt; activer / d&#233;sactiver les boites aux lettres&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;En tant qu'&lt;strong&gt;utilisateur&lt;/strong&gt;, vous pouvez :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; Cr&#233;er ou supprimer un r&#233;pondeur (message d'absence)&lt;/li&gt;&lt;li&gt; g&#233;r&#233;r les redirections d'email&lt;/li&gt;&lt;li&gt; modifier le mot de passe de votre boite aux lettres&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;A noter que le message d'absence requiert &lt;strong&gt; &lt;i&gt;vacation&lt;/i&gt; &lt;/strong&gt; et n&#233;cessite une configuration plus avanc&#233;e.
cds&lt;/p&gt; &lt;p&gt;&lt;!-- htmlA --&gt;&lt;span class='spip_document_49 spip_documents spip_documents_center'&gt;
&lt;img src='http://www.aternatik.org/IMG/png/Postfix_Admin_-_192.168.30.110.png' width='450' height='227' alt=&quot;&quot; style='height:227px;width:450px;' /&gt;&lt;/span&gt;&lt;!-- htmlB --&gt;&lt;/p&gt; &lt;h3 class=&quot;spip&quot;&gt;Des liens&lt;/h3&gt;
&lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://www.mkhelif.fr/2008/05/23/serveur-de-mails-multi-domaines.html' class='spip_out' rel='external'&gt;L'installation de Postfix, mysql, postfixAdmin et roundcube&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://postfix.traduc.org/index.php/VIRTUAL_README.html' class='spip_out' rel='external'&gt;H&#233;bergement de sites virtuels avec Postfix&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Screencast</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/Screencast,075</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/Screencast,075</guid>
		<dc:date>2008-06-09T15:45:22Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>


		<dc:subject>Screencast</dc:subject>

		<description>Un screencast est une capture vid&#233;o de l'&#233;cran. C'est l'outil id&#233;al pour montrer l'utilisation d'un logiciel. Fabrication en .ogg avec recordMyDesktop et encodage avec mencoder. Dans un premier temps, il faut capturer l'image de l'&#233;cran. Pour cela, le logiciel recordMyDesktop est utilis&#233;. Il est possible de capturer le bureau soit en totalit&#233; soit uniquement une fen&#234;tre. Apr&#232;s avoir param&#233;tr&#233; recordMyDesktop (bouton &quot;avanc&#233;&quot;, choisissez le dossier de destination (il faut cliquer sur &quot;enregistrer sous&quot; (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;

/ 
&lt;a href="http://www.aternatik.org/Screencast" rel="tag"&gt;Screencast&lt;/a&gt;

		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L120xH120/arton75-4db8c.png&quot; width='120' height='120' style='height:120px;width:120px;' /&gt;
		&lt;div class='rss_chapo'&gt;&lt;p&gt;Un screencast est une capture vid&#233;o de l'&#233;cran. C'est l'outil id&#233;al pour montrer l'utilisation d'un logiciel. Fabrication en .ogg avec recordMyDesktop et encodage avec mencoder.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;Dans un premier temps, il faut capturer l'image de l'&#233;cran. Pour cela, le logiciel recordMyDesktop est utilis&#233;.&lt;/p&gt; &lt;p&gt;Il est possible de capturer le bureau soit en totalit&#233; soit uniquement une fen&#234;tre.&lt;/p&gt; &lt;p&gt;Apr&#232;s avoir param&#233;tr&#233; recordMyDesktop (bouton &quot;avanc&#233;&quot;, choisissez le dossier de destination (il faut cliquer sur &quot;enregistrer sous&quot; AVANT de commencer la capture) et cliquer sur &quot;enregistrer&quot; pour d&#233;marrer la capture.&lt;/p&gt; &lt;p&gt;L'enregistrement est signal&#233; par une icone dans la zone de notification (un rond rouge) Cliquer sur cet ic&#244;ne pour stopper la capture.
Encodage&lt;/p&gt; &lt;p&gt;Le fichier de sortie est un fichier .ogg. Pour le convertir en .avi, utiliser mencoder (installer le paquet si n&#233;cessaire ) :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;mencoder demo-screencast.ogg -ovc lavc -oac mp3lame -o demo-screencast.avi&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Pour redimensionner l'image utiliser cette commande :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;mencoder -idx screencast-catalogue.ogg -o screencast-catalogue.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:vhq -vf scale=640:480 -oac mp3lame&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Pour lire les vid&#233;os, utilisez &lt;a href='http://videolan.org/' class='spip_out' rel='external'&gt;VLC&lt;/a&gt; &lt;img alt=&quot;;)&quot; title=&quot;;)&quot; class=&quot;no_image_filtrer format_png&quot; src=&quot;http://aternatik.org/plugins/couteau_suisse/img/smileys/clin_d-oeil.png&quot; width=&quot;19&quot; height=&quot;19&quot;/&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;De liens&lt;/strong&gt;&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://liquidat.wordpress.com/2007/09/04/short-tip-convert-ogg-screencasts-to-avi/' class='spip_out' rel='external'&gt;Le tip de l'encodage&lt;/a&gt; &lt;/li&gt;&lt;li&gt; &lt;a href='http://www.mplayerhq.hu/DOCS/HTML/en/mencoder.html' class='spip_out' rel='external'&gt;Usage de mencoder&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>
<item xml:lang="fr">
		<title>Configurer Postfix pour un site web</title>
		<link>http://www.aternatik.org/articles-et-ressources/logiciels/Configurer-Postfix-pour-un-site,071</link>
		<guid isPermaLink="true">http://www.aternatik.org/articles-et-ressources/logiciels/Configurer-Postfix-pour-un-site,071</guid>
		<dc:date>2008-03-07T00:04:32Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<dc:creator>Aternatik</dc:creator>



		<description>Configuration de Postfix pour seulement envoyer des mails &#224; partir d'un site internet (avec PHP) *** Ceci est une note rapide, juste pour m&#233;moire *** On dispose d&#233;j&#224; d'un serveur de messagerie qui fonctionne sur une autre machine. domain.tld est le nom de domaine (&#224; remplacer, bien &#233;videmment...) Voila la configuration : mydomain = srv2.domain.tld myhostname = $mydomain # Les courriels seront envoy&#233;es &#224; cette machine. On met notre domaine : le mx (configur&#233; dans les DNS) ainsi sera utilis&#233; (...)

-
&lt;a href="http://www.aternatik.org/articles-et-ressources/logiciels/" rel="directory"&gt;Logiciels&lt;/a&gt;


		</description>


 <content:encoded>&lt;img class='spip_logos' alt=&quot;&quot; align=&quot;right&quot; src=&quot;http://www.aternatik.org/local/cache-vignettes/L130xH91/arton71-87cbb.gif&quot; width='130' height='91' style='height:91px;width:130px;' /&gt;
		&lt;div class='rss_chapo'&gt;&lt;p&gt;Configuration de Postfix pour seulement envoyer des mails &#224; partir d'un site internet (avec PHP)&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;p&gt;*** Ceci est une note rapide, juste pour m&#233;moire ***&lt;/p&gt; &lt;p&gt;On dispose d&#233;j&#224; d'un serveur de messagerie qui fonctionne sur une autre machine.&lt;/p&gt; &lt;p&gt;domain.tld est le nom de domaine (&#224; remplacer, bien &#233;videmment...)&lt;/p&gt; &lt;p&gt;Voila la configuration :&lt;/p&gt; &lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;mydomain = srv2.domain.tld&lt;br /&gt; myhostname = $mydomain&lt;br /&gt; # Les courriels seront envoy&#233;es &#224; cette machine. On met notre domaine : le mx (configur&#233; dans les DNS) ainsi sera utilis&#233;&lt;br /&gt; relayhost = domain.tld&lt;br /&gt; # Indique l'origine des courriels : on a une machine srv2.domain.tld mais on ne veut pas que les mails soient de la forme @srv2.domain.tld &lt;br /&gt; # Renseigner le fichier /etc/mailname&lt;br /&gt; myorigin = /etc/mailname&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; mydestination = localhost&lt;br /&gt; # Interface que l'on souhaite utiliser&lt;br /&gt; inet_interfaces = __ip_machine__&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Des liens :&lt;/p&gt; &lt;ul class=&quot;spip&quot;&gt;&lt;li&gt; &lt;a href='http://www.linux-france.org/article/mail/postfix-jaco/' class='spip_out' rel='external'&gt;http://www.linux-france.org/article/mail/postfix-jaco/&lt;/a&gt;&lt;/li&gt;&lt;li&gt; &lt;a href='http://aide.sivit.fr/index.php?2005/06/28/57-configuration-de-postfix' class='spip_out' rel='external'&gt;http://aide.sivit.fr/index.php?2005/06/28/57-configuration-de-postfix&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
		&lt;div class="hyperlien"&gt;Voir en ligne : &lt;a href="http://www.postfix.org" class="spip_out"&gt;Postfix&lt;/a&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
