<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux, MySQL, PhP, Perl... &#187; google page rank</title>
	<atom:link href="http://linux.bgsnow.com/tag/google-page-rank/feed" rel="self" type="application/rss+xml" />
	<link>http://linux.bgsnow.com</link>
	<description></description>
	<lastBuildDate>Fri, 18 Jun 2010 16:30:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Check Google Page Rank with Perl</title>
		<link>http://linux.bgsnow.com/check-google-page-rank-perl.php</link>
		<comments>http://linux.bgsnow.com/check-google-page-rank-perl.php#comments</comments>
		<pubDate>Mon, 10 Aug 2009 18:39:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[google page rank]]></category>

		<guid isPermaLink="false">http://linux.bgsnow.com/?p=158</guid>
		<description><![CDATA[If you are bored with stupid online scripts or browser plugins for checking the almighty Google Page Rank, here is a simple script in Perl to do it: #!/usr/bin/perl use WWW::Google::PageRank; { print 'Enter a domain: '; chomp(my $domain = &#60;STDIN&#62;); last if $domain eq 'q'; my $pr = WWW::Google::PageRank-&#62;new; print 'PR: '.scalar($pr-&#62;get("http://$domain")), "\n"; redo; [...]]]></description>
			<content:encoded><![CDATA[<p>If you are bored with stupid online scripts or browser plugins for checking the almighty Google Page Rank, here is a simple script in Perl to do it:</p>
<p><span style="color: #5c5c5c;">#!/usr/bin/perl </span></p>
<p><span style="color: #5c5c5c;">use WWW::Google::PageRank;</span></p>
<p><span style="color: #5c5c5c;">{</span></p>
<p><span style="color: #5c5c5c;">print 'Enter a domain: '; </span></p>
<p><span style="color: #5c5c5c;">chomp(my $domain = &lt;STDIN&gt;);</span></p>
<p><span style="color: #5c5c5c;">last if $domain eq 'q';</span></p>
<p><span style="color: #5c5c5c;">my $pr = WWW::Google::PageRank-&gt;new;</span></p>
<p><span style="color: #5c5c5c;">print 'PR: '.scalar($pr-&gt;get("http://$domain")), "\n";</span></p>
<p><span style="color: #5c5c5c;">redo;</span></p>
<p><span style="color: #5c5c5c;">}</span></p>
<p>Needless to say, I have used my favorite Perl loop <img src='http://linux.bgsnow.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This way you can check as many domains as you'd like. Of course you will need to install the perl module <strong><a title="http://search.cpan.org/dist/WWW-Google-PageRank/" href="http://" target="_blank">WWW::Google::PageRank</a></strong> first. For this purpose it might be a good idea to use <em>cpan</em> because there are a few dependencies and it will take time to install them manually.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.bgsnow.com/check-google-page-rank-perl.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
