Wed, 08 Sep 2004
I've added a new entry to my miniprojects page, the getpageranks script (written in Perl) allows you to pass in a file containing URL's, one to a line with whitespace and comments allowed. Each entry in the file will then be checked with Google and the PageRank will be displayed.
Note: If an invalid URL is given the PageRank will be returned as zero, this makes it very difficult to determine which sites are invalid and which are just unpopular. Although you may consider them equivalent ;)
The getpageranks script itself is very short and should be easy to follow. For full usage instructions run the command with either -h or -u.
Like this post? - Digg Me! | Add to del.icio.us! | reddit this!
Posted: 2004/09/08 22:50 | /perl | Permanent link to this entry | This entry and same date
Google::PageRank - About time.
Unless you run IE on Windows
with the Google toolbar installed it's always been difficult to determine
the PageRank of any given URL, while a FireFox/Mozilla extension was created it
was, from my experiences, very flaky. It also required manual use.
I was pleasantly surprised today to see a module called Google::PageRank hit my local CPAN mirror. I've had a quick play and it worked on all my test cases. Tool writers, start your engines!
Like this post? - Digg Me! | Add to del.icio.us! | reddit this!
Posted: 2004/09/08 21:10 | /perl | Permanent link to this entry | This entry and same date
Open Office - It's the little things
My current employer uses Adobe software to print PDFs from a number of
programs, Visio, Project, Word and Excel are prime examples. In a
valiant attempt to avoid giving Adobe more money we decided to have a look
elsewhere and see what was available for Windows users.
It didn't take long to notice OpenOffice, it has document compatibility with Word and Excel and integrated PDF printing; it's just not very good. Here is an example using Excel, you select the current worksheet and click the print PDF button. It prints all worksheets. You then start digging and select Tools - Options - Spreadsheet - Print - Print only selected sheets. This works for normal printing but not from the PDF button. This is where you look at Word in a new light.
You then do some googling and discover Print Single worksheet as PDF. Then comes the head scratching and the cursing. If you select File > Export as PDF you get to name the file AND THEN you can choose the worksheets to print. ARGH!
I'll skip the bit about OpenOffice not displaying the document styles properly and leave my few remaining hairs where they are.
Like this post? - Digg Me! | Add to del.icio.us! | reddit this!
Posted: 2004/09/08 19:17 | /tools/gui | Permanent link to this entry | This entry and same date

