tiles_sitemap 0.1.0 copy "tiles_sitemap: ^0.1.0" to clipboard
tiles_sitemap: ^0.1.0 copied to clipboard

Dart 1 only

The extension for tiles library to provide sitemap(.org for now) components to enable sitemap generation by tiles.

example/tiles_sitemap.dart

// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:tiles_sitemap/tiles_sitemap.dart';
import 'package:tiles/tiles_console.dart';

main() {
  print(renderToString(urlset(
      children: [
    url(
        children: [
      loc(children: "http://example.com"),
      lastmod(children: "2015-09-24"),
      priority(children: "1"),
      changefreq(children: "daily"),
    ])
  ])));
}
0
likes
35
points
3
downloads

Publisher

unverified uploader

Weekly Downloads

The extension for tiles library to provide sitemap(.org for now) components to enable sitemap generation by tiles.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

tiles

More

Packages that depend on tiles_sitemap