<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
  <channel>
    <title>DLFP - Entrées de forums de Entaxeime</title>
    <link>http://linuxfr.org/~Entaxeime/</link>
     
    <description>LinuxFr</description>
    <language>fr</language>
    <image>
      <title>DLFP - Entrées de forums de Entaxeime</title>
      <link>http://linuxfr.org/~Entaxeime/</link>
      <url>http://linuxfr.org/images/favicon.png</url>
    </image>
    <ttl>30</ttl>
    

    <item>
      <title>[Perl] script de &quot;ping&quot; pour technorati et consort</title>
      <author>null@linuxfr.org (Entaxeime)</author>
      <pubDate>Sat, 10 Nov 2007 15:21:31 +0100</pubDate>
      <link>http://linuxfr.org/forums/47/25010.html</link>
      <guid>http://linuxfr.org/forums/47/25010.html</guid>
      <category>divers</category>
      <description>Voici un script de ping pour technorati et consort, au cas où ça interesse quelqu'un pour signaler à ces site la mise à jour de son blog, lorsqu'on gère son blog soit même avec perl.&lt;br/&gt;

Notez que pour une raison qui m'échappe, weblogues.com ne répond pas positivement.

&lt;pre&gt;
#!/usr/bin/perl
#
# Copyright (c) 2006 Mathieu Roy &amp;lt;yeupou--gnu.org&amp;gt;
# http://yeupou.coleumes.org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
#
# $Id: perl-template.pl,v 1.5 2006/02/25 14:00:21 moa Exp $

use strict;
use RPC::XML;
use RPC::XML::Client;
use Data::Dumper;
use Unicode::String;


# Config - strings must be valid utf8
my $blogname = &quot;XXXXX&quot;;
my $blogurl = &quot;http://XXXXX&quot;;
my @servers = (&quot;http://www.weblogues.com/ping&quot;,
&quot;http://rpc.technorati.com/rpc/ping&quot;,
&quot;http://rpc.weblogs.com/RPC2&quot;);


# Run
for (@servers) {
print &quot;Do $_\n&quot;;
my $cli = RPC::XML::Client-&amp;gt;new($_);
my $response = $cli-&amp;gt;send_request('weblogUpdates.ping', $blogname, $blogurl);

print &quot;--&amp;gt; &quot;.(Dumper $response-&amp;gt;value)
if ref $response and $response-&amp;gt;is_fault;
print &quot;--&amp;gt; &quot;.$response-&amp;gt;value-&amp;gt;{message}.&quot;\n&quot;
if ref $response and !$response-&amp;gt;is_fault;
print &quot;--&amp;gt; &quot;.$response.&quot;\n&quot;
unless ref $response;
}
&lt;/pre&gt;

PS: Merci yeupou</description>
    </item>
    <item>
      <title>[Admin] Forcer une interface réseau en 100 Full Duplex sans auto negociation.</title>
      <author>null@linuxfr.org (Entaxeime)</author>
      <pubDate>Sat, 10 Nov 2007 15:20:55 +0100</pubDate>
      <link>http://linuxfr.org/forums/47/25009.html</link>
      <guid>http://linuxfr.org/forums/47/25009.html</guid>
      <category>divers</category>
      <description>Voilà comment j'arriver à forcer mes cartes en 100 Full Duplex sur RedHat et Mandriva:
La configuration des cartes réseau est noté dans des  fichiers /etc/sysconfig/network-scripts/ifcfg-ethX .
Par défaut, la carte fait de l'auto negociation, il faut donc la &lt;b&gt;FORCER&lt;/b&gt; pour qu'elle ne puisse plus negocier, et ceci se fait en ajoutant à la fin de ce fichier:
ETHTOOL_OPTS=&quot;speed 100 duplex full autoneg off&quot;</description>
    </item>  </channel>
</rss>
