Klutz_Comic_bysize Class.
This class uses follows the search methodology until it hits the final page in the list. On this page it gets a list of all images and tries to figure out which image is most likely to be the comic based on image sizes. This is the LEAST efficient driver and you're discouraged from using it when not absolutely necessary.
$Horde: klutz/lib/Comic/bysize.php,v 1.29 2005/11/19 02:50:15 chuck Exp $
Located in /lib/Comic/bysize.php (line 16)
Klutz_Comic | --Klutz_Comic_bysize
How should we decide which image to take? Options are "first", "biggest", and "smallest".
A list of images to ignore (preg matches)
What is the largest height to consider
What is the largest width to consider
What is the smallest height to consider
What are the smallest width to consider
Once set, an array of preg searches to perform to find the comic image
Inherited from Klutz_Comic
Klutz_Comic::$agent
Klutz_Comic::$author
Klutz_Comic::$comment
Klutz_Comic::$cookies
Klutz_Comic::$days
Klutz_Comic::$headers
Klutz_Comic::$homepage
Klutz_Comic::$http
Klutz_Comic::$icount
Klutz_Comic::$idate
Klutz_Comic::$iformat
Klutz_Comic::$isow
Klutz_Comic::$itype
Klutz_Comic::$name
Klutz_Comic::$nohistory
Klutz_Comic::$offset
Klutz_Comic::$override
Klutz_Comic::$pass
Klutz_Comic::$referer
Klutz_Comic::$subs
Klutz_Comic::$url
Klutz_Comic::$user
Constructor - Create an object that can be used to retrieve a comic by looking at all images on a page, a list of images to ignore, and a range of dimensions, then choose which image is most likely the comic.
Fetch the actual image
Do all that is necessary to get the final URL from which the comic will be fetched. Instead of returning the comic, return the URL pointing to that comic.
Expand paths to fully-qualified URLs
Get the dimensions from the list of images passed in.
Determine if the passed image name is on the list of images to ignore.
Strip the list of images from the contents of a web page.
Derived from Snoopy's striplinks function.
Inherited From Klutz_Comic
Klutz_Comic::Klutz_Comic()
Klutz_Comic::getInstance()
Klutz_Comic::getInstance_monthly()
Klutz_Comic::getInstance_ref()
Klutz_Comic::getInstance_weekly()
Klutz_Comic::getInstance_yearly()
Klutz_Comic::getOverride()
Klutz_Comic::substitute()
Klutz_Comic::_initHTTP()
Documentation generated on Sun, 30 Jan 2011 05:30:34 +0000 by phpDocumentor 1.4.3