sitemap 0.7.0
sitemap: ^0.7.0 copied to clipboard

Sitemap generation made simpler.

Sitemap #

A dart package to generate Sitemaps easily. View on pub

Example #

  final sitemap = new Sitemap();

  sitemap.entries.add(new SitemapEntry()
    ..location = 'http://foo.bar/baz'
    ..priority = 0.75
    ..addAlternate('en', 'http://foo.bar/baz')
    ..addAlternate('fr', 'http://foo.bar/fr/baz')
    ..addAlternate('de', 'http://de.foo.bar/baz')
    ..addAlternate('pt-Br', 'http://brazilianfoo.bar/baz'));

  print(sitemap.generate());
1
likes
80
pub points
21%
popularity

Sitemap generation made simpler.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

intl, xml

More

Packages that depend on sitemap