WWW::Google::SiteMap::URL 1.09
Sponsored Links
WWW::Google::SiteMap::URL 1.09 Ranking & Summary
File size:
0.030 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1103
Date added:
2006-10-24
Publisher:
Jason Kohles
WWW::Google::SiteMap::URL 1.09 description
WWW::Google::SiteMap::URL is URL Helper class for WWW::Google::SiteMap.
This is a helper class that supports WWW::Google::SiteMap and WWW::Google::SiteMap::Index.
METHODS
new()
loc()
Change the URL associated with this object. For a WWW::Google::SiteMap this specifies the URL to add to the sitemap, for a WWW::Google::SiteMap::Index, this is the URL to the sitemap.
changefreq()
Set the change frequency of the object. This field is not used in sitemap indexes, only in sitemaps.
lastmod()
Set the last modified time. You have to provide this as one of the following:
a complete ISO8601 time string
A complete time string will be accepted in exactly this format:
YYYY-MM-DDTHH:MM:SS+TZ:TZ
YYYY - 4-digit year
MM - 2-digit month (zero padded)
DD - 2-digit year (zero padded)
T - literal character T
HH - 2-digit hour (24-hour, zero padded)
SS - 2-digit second (zero padded)
+TZ:TZ - Timezone offset (hours and minutes from GMT, 2-digit, zero padded)
epoch time
Seconds since the epoch, such as would be returned from time(). If you provide an epoch time, then an appropriate ISO8601 time will be constructed with gmtime() (which means the timezone offset will be +00:00). If anyone knows of a way to determine the timezone offset of the current host that is cross-platform and doesnt add dozens of dependencies then I might change this.
an ISO8601 date (YYYY-MM-DD)
A simple date in YYYY-MM-DD format. The time will be set to 00:00:00+00:00.
a DateTime object.
If a DateTime object is provided, then an appropriate timestamp will be constructed from it.
a HTTP::Response object.
If given an HTTP::Response object, the last modified time will be calculated from whatever time information is available in the response headers. Currently this means either the Last-Modified header, or tue current time - the current_age() calculated by the response object. This is useful for building web crawlers.
Note that in order to conserve memory, any of these items that you provide will be converted to a complete ISO8601 time string when they are stored. This means that if you pass an object to lastmod(), you cant get it back out. If anyone actually has a need to get the objects back out, then I might make a configuration option to store the objects internally.
If you have suggestions for other types of date/time objects or formats that would be usefule, let me know and Ill consider them.
priority()
Set the priority. This field is not used in sitemap indexes, only in sitemaps.
delete()
Delete this object from the sitemap or the sitemap index.
lenient()
If lenient contains a true value, then errors will not be fatal.
This is a helper class that supports WWW::Google::SiteMap and WWW::Google::SiteMap::Index.
METHODS
new()
loc()
Change the URL associated with this object. For a WWW::Google::SiteMap this specifies the URL to add to the sitemap, for a WWW::Google::SiteMap::Index, this is the URL to the sitemap.
changefreq()
Set the change frequency of the object. This field is not used in sitemap indexes, only in sitemaps.
lastmod()
Set the last modified time. You have to provide this as one of the following:
a complete ISO8601 time string
A complete time string will be accepted in exactly this format:
YYYY-MM-DDTHH:MM:SS+TZ:TZ
YYYY - 4-digit year
MM - 2-digit month (zero padded)
DD - 2-digit year (zero padded)
T - literal character T
HH - 2-digit hour (24-hour, zero padded)
SS - 2-digit second (zero padded)
+TZ:TZ - Timezone offset (hours and minutes from GMT, 2-digit, zero padded)
epoch time
Seconds since the epoch, such as would be returned from time(). If you provide an epoch time, then an appropriate ISO8601 time will be constructed with gmtime() (which means the timezone offset will be +00:00). If anyone knows of a way to determine the timezone offset of the current host that is cross-platform and doesnt add dozens of dependencies then I might change this.
an ISO8601 date (YYYY-MM-DD)
A simple date in YYYY-MM-DD format. The time will be set to 00:00:00+00:00.
a DateTime object.
If a DateTime object is provided, then an appropriate timestamp will be constructed from it.
a HTTP::Response object.
If given an HTTP::Response object, the last modified time will be calculated from whatever time information is available in the response headers. Currently this means either the Last-Modified header, or tue current time - the current_age() calculated by the response object. This is useful for building web crawlers.
Note that in order to conserve memory, any of these items that you provide will be converted to a complete ISO8601 time string when they are stored. This means that if you pass an object to lastmod(), you cant get it back out. If anyone actually has a need to get the objects back out, then I might make a configuration option to store the objects internally.
If you have suggestions for other types of date/time objects or formats that would be usefule, let me know and Ill consider them.
priority()
Set the priority. This field is not used in sitemap indexes, only in sitemaps.
delete()
Delete this object from the sitemap or the sitemap index.
lenient()
If lenient contains a true value, then errors will not be fatal.
WWW::Google::SiteMap::URL 1.09 Screenshot
Advertisements
WWW::Google::SiteMap::URL 1.09 Keywords
SiteMap
WWW
URL
MM
YYYY
TZ
helper class
time
object
zero
class
padded
helper
WWW::Google::SiteMap::URL
WWWGoogleSiteMapURL
WWW::Google::SiteMap::URL 1.09
Bookmark WWW::Google::SiteMap::URL 1.09
WWW::Google::SiteMap::URL 1.09 Copyright
WareSeeker periodically updates pricing and software information of WWW::Google::SiteMap::URL 1.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of WWW::Google::SiteMap::URL 1.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
object lessons
ssv helper class
hidden object games
yahoo sitemap
objectives for resumes
helper classes
timekiller
sitemap generator
objective
object desktop
sitemaps
sample resume objectives
java helper class
daylight savings time
objection
object relations theory
google sitemap
myspace falling objects
Related Software
WWW::Google::SiteMap is a Perl extension for managing Google SiteMaps. Free Download
WWW::Google::SiteMap::Robot is a Perl extension for creating Google SiteMaps by spidering a site. Free Download
WWW::Google::SiteMap::Index is a Perl extension for managing Google SiteMap Indexes. Free Download
WWW::Google::SiteMap::Ping is a Perl extension for sending update pings to Google. Free Download
WWW::Google::Images is a Google Images Agent. Free Download
WWW::Google::Video is a fetch the Google Video Information. Free Download
WWW::Google::Notebook is a Perl interface for Google Notebook. Free Download
WWW::Cache::Google::Imode is a URI class for Google proxy on i-mode. Free Download
Latest Software
Popular Software
Favourite Software