Linux SoftwareInternetHTTP (WWW)WWW::Google::SiteMap::URL 1.09

WWW::Google::SiteMap::URL 1.09


WWW::Google::SiteMap::URL is URL Helper class for WWW::Google::SiteMap. This is a helper class that supports WWW::Google::SiteMap
Developer:   Jason Kohles
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   30K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


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 doesn't 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 can't 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 I'll 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.

Requirements:
  • Perl
    tags www google  google sitemap  zero padded  the sitemap  time will  iso8601 time  timezone offset  the last  last modified  response object  time string  sitemap index  set the  

    Download WWW::Google::SiteMap::URL 1.09


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/J/JA/JASONK/WWW-Google-SiteMap-1.09.tar.gz


    Authors software

    Class::DBI::Template::Stash 0.03 (by Jason Kohles)
    Class::DBI::Template::Stash is a Perl module with Template::Stash subclass for Class::DBI::Template.

    SYNOPSIS

    package Music::

    WWW::Google::SiteMap::Robot 1.09 (by Jason Kohles)
    WWW::Google::SiteMap::Robot is a Perl extension for creating Google SiteMaps by spidering a site.

    SYNOPSIS

    use WWW::Google::S

    WWW::Google::SiteMap::URL 1.09 (by Jason Kohles)
    WWW::Google::SiteMap::URL is URL Helper class for WWW::Google::SiteMap.

    This is a helper class that supports WWW::Google::SiteMap

    Data::Faker::StreetAddress 0.07 (by Jason Kohles)
    Data::Faker::StreetAddress is a Data::Faker plugin.

    DATA PROVIDERS

    us_zip_code

    Return a random zip or zip+4 zip code in the

    Data::Faker::DateTime 0.07 (by Jason Kohles)
    Data::Faker::DateTime is a Data::Faker plugin.

    DATA PROVIDERS

    unixtime

    Return a unix time (seconds since the epoch) for a ra


    Similar software

    WWW::Google::SiteMap::URL 1.09 (by Jason Kohles)
    WWW::Google::SiteMap::URL is URL Helper class for WWW::Google::SiteMap.

    This is a helper class that supports WWW::Google::SiteMap

    WWW::Google::SiteMap::Robot 1.09 (by Jason Kohles)
    WWW::Google::SiteMap::Robot is a Perl extension for creating Google SiteMaps by spidering a site.

    SYNOPSIS

    use WWW::Google::S

    Data::Faker::DateTime 0.07 (by Jason Kohles)
    Data::Faker::DateTime is a Data::Faker plugin.

    DATA PROVIDERS

    unixtime

    Return a unix time (seconds since the epoch) for a ra

    DateTime::Format::Epoch::MacOS 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds.

    SYNOPSIS

    use DateTim

    DateTime::Format::Epoch::DotNet 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds.

    SYNOPSIS

    use DateTime

    DateTime::Format::Epoch 0.10 (by Eugene van der Pijli)
    DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds.

    SYNOPSIS

    use DateTime::Format::Epo

    Time::Beat 1.21 (by Earle Martin)
    Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time.

    Time::Beat is a module to convert normal tim

    Time::Zone 1.16 (by Graham Barr)
    Time::Zone is a miscellaneous timezone manipulations routines.

    SYNOPSIS

    use Time::Zone;
    print tz2zone();

    Data::Page::Viewport 1.02 (by Ron Savage)
    Data::Page::Viewport is a Perl module to scroll thru data a page, or just an item, at a time.

    Synopsis

    This is a complete, test

    DateTime::Format::Epoch::MJD 0.10 (by Eugene van der Pijll)
    DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days.

    SYNOPSIS

    use DateTime:


    Other software in this category

    SquirrelMail 1.5.1 (by The SquirrelMail Project Team)
    SquirrelMail is a standards-based Webmail package written in PHP4

    Tiki CMS/Groupware 1.9.7 (by Luis Argerich)

    Downloader for X 2.5.7 (by Chuchelo)
    Downloader for X is a tool for downloading files from the Internet via both HTT

    Links 2.1pre26 (by Martin Pergel)
    Links is graphics and text mode WWW browser, similar to Lynx

    Mozilla Firefox 1.5.0.8 (by Mozilla Project)

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags