Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 429 Bytes
import 'package:sitemap/sitemap.dart';
void main() {
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());
}
You can’t perform that action at this time.