sitemap 0.6.0

  • README.md
  • Example
  • Installing
  • Versions
  • 42

Sitemap #

Generate Sitemaps easily:

  final sitemap = new Sitemap();

  sitemap.entries.add(new SitemapEntry()
    ..location = 'http://foo.bar/baz'
    ..priority = 0.75);

  print(sitemap.generate());

example/example.dart

import 'package:sitemap/sitemap.dart';

void main() {
  final sitemap = new Sitemap();

  sitemap.entries.add(new SitemapEntry()
    ..location = 'http://foo.bar/baz'
    ..priority = 0.75);

  print(sitemap.generate());
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  sitemap: ^0.6.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:sitemap/sitemap.dart';
  
Version Uploaded Documentation Archive
0.7.0 Jul 24, 2018 Go to the documentation of sitemap 0.7.0 Download sitemap 0.7.0 archive
0.6.0 Jul 24, 2018 Go to the documentation of sitemap 0.6.0 Download sitemap 0.6.0 archive
0.5.1 May 6, 2013 Go to the documentation of sitemap 0.5.1 Download sitemap 0.5.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
60
Overall:
Weighted score of the above. [more]
42
Learn more about scoring.

We analyzed this package on Apr 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:sitemap/sitemap.dart.

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.24.0 <3.0.0
intl ^0.15.0 0.15.8
xml ^3.0.0 3.4.1
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
path 1.6.2
petitparser 2.2.1
typed_data 1.1.6