Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Perl 6 module for parsing sitemap.xml files

tree: 33cbc49c24

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore .gitignore created September 06, 2012
Octocat-spinner-32 META.info Initial commit September 06, 2012
Octocat-spinner-32 README README modified September 06, 2012
Octocat-spinner-32 TODO.txt
README
NAME

Sitemap::XML::Parser is a module for parsing sitemap.xml files.

SYNOPSYS

    use Sitemap::XML::Parser;
    
    my $parser = Sitemap::XML::Parser.new;
    my $sitemap = $parser.parse-url('http://example.ru/sitemap.xml');
    # $sitemap == [
    #    {
    #        loc => URI.new('http://example/'),
    #        lastmod => DateTime.new('2012-09-06T03:22:42Z'),
    #        changefreq => 'daily',
    #        priority => 1.0
    #    },
    #    ....
    # ];
    
    

DESCRIPTION

Module for parsing sitemap.xml files.

METHODS

  parse-url( Str $url )

  parse-file( Str $fname )

  parse( Str $data )

AUTHOR

Alexandr Alexeev, <eax at cpan.org> (http://eax.me/)

COPYRIGHT

Copyright 2012 Alexandr Alexeev

This program is free software; you can redistribute it and/or modify it under the same terms as Rakudo Perl 6 itself.
Something went wrong with that request. Please try again.