llbbl
04-15-2005, 06:20 AM
If you haven't checked their website recently. They just passed 45 million downloads ..... !!! So grads to them and to everyone who is using the best browser out there!
If you want to have a feed of the XML counter here it is in Perl. On the link they have some other implementations of it.
http://www.spreadfirefox.com/?q=node/view/13612
#!D:/Perl/bin/perl
#Part of the SFx Blogware Project:
# simple RSS Reader for SFx Counter
use LWP::UserAgent;
use XML::RSS;
my $RSSURL = 'http://feeds.spreadfirefox.com/downloads/firefox';
my $ua = LWP::UserAgent->new;
$ua->agent("SFx Blogware/.01");
$response = $ua->get($RSSURL);
if (!$response->is_success) { die($response->status_line, "\n"); }
my $content = $response->content(default_charset => "UTF-8", raise_error => TRUE, ref => TRUE);
my $rss = new XML::RSS;
$rss->parse($content);
print "Content-type: text/plain\n\n";
print $rss->{'items'}->[0]->{'description'};
Here is a cool FF image I found :)
If you want to have a feed of the XML counter here it is in Perl. On the link they have some other implementations of it.
http://www.spreadfirefox.com/?q=node/view/13612
#!D:/Perl/bin/perl
#Part of the SFx Blogware Project:
# simple RSS Reader for SFx Counter
use LWP::UserAgent;
use XML::RSS;
my $RSSURL = 'http://feeds.spreadfirefox.com/downloads/firefox';
my $ua = LWP::UserAgent->new;
$ua->agent("SFx Blogware/.01");
$response = $ua->get($RSSURL);
if (!$response->is_success) { die($response->status_line, "\n"); }
my $content = $response->content(default_charset => "UTF-8", raise_error => TRUE, ref => TRUE);
my $rss = new XML::RSS;
$rss->parse($content);
print "Content-type: text/plain\n\n";
print $rss->{'items'}->[0]->{'description'};
Here is a cool FF image I found :)