2 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I'll like to create an AI bot just like 'Gollum' in perl. Why I chose perl is that I'm learning it right now and am fascinated by its capabilities.
I don't know how much time will it take to create something of that sort but it'll be a good learning experience.
If someone has... (0 Replies)
Discussion started by: er_ashu
0 Replies
2. UNIX for Dummies Questions & Answers
Hi guys.
I have a old Unix box here that has loads of accountancy info on it. Id like to be able to get in via ODBC or whatever (even a direct dump would be nice). However it seems the company changed its name to IQ Software Corporation, then went bust!
Is there anyone who has any knowledge... (2 Replies)
Discussion started by: RageMonkey
2 Replies
LEARN ABOUT DEBIAN
www::search::washpost
WWW::Search::WashPost(3pm) User Contributed Perl Documentation WWW::Search::WashPost(3pm)
NAME
WWW::Search::WashPost - WWW::Search backend for searching www.washingtonpost.com
SYNOPSIS
use WWW::Search;
my $oSearch = new WWW::Search('WashPost');
my $sQuery = WWW::Search::escape_query("japan prime minister");
$oSearch->native_query($sQuery);
while (my $oResult = $oSearch->next_result())
{ print $oResult->url, "
"; }
DESCRIPTION
This class is a specialization of WWW::Search. It handles making and interpreting searches on news at The Washington Post
http://www.washingtonpost.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
NOTES
In the resulting WWW::SearchResult objects, the following elements will be set (in addition to the usual title, description, etc.):
source
Something like "Post" or a certain "Edition".
location
The page number of the print edition, e.g. "E05".
category
The type of item found, either "Article" or "Photo".
seller
The author or photographer.
SEE ALSO
To make new backends, see WWW::Search.
CAVEATS
This backend (and all its subclasses) only searches news stories from the last 14 days. (This is a restriction on the Washington Post
website that we can not avoid.)
BUGS
Please tell the author if you find any!
AUTHOR
Martin Thurn <mthurn@cpan.org>
LICENSE
Copyright (C) 1998-2009 Martin 'Kingpin' Thurn
This software is released under the same license as Perl itself.
perl v5.12.4 2011-11-02 WWW::Search::WashPost(3pm)