hi_stmap 0.2.0

  • README.md
  • Example
  • Installing
  • Versions
  • --


This make sitemap.xml from local files. It also check files that are not linked or disabled links.


See example.dart



C_mkstmap(String top URL of homepage, String top directory of local files, List<String> options)


-sitemap=fullpath of sitemap.xml in local disk
-time=difference with the standard time
-work=directory of backup and logfile


int make()

return error code. 0 is no error

more information

[see http://studyhall.webcrow.jp/freesoft/dartmkstmap.html] (http://studyhall.webcrow.jp/freesoft/dartmkstmap.html)


/* ***********************************************************
example for hi_stmap Version 0.2.0

hi_tag	http://studyhall.webcrow.jp/
ルートディレクトリに robots.txt があること
*********************************************************** */
import '../lib/hi_stmap.dart';
//import 'package:mkstmap/hi_stmap.dart';

void main(List<String> arguments) {
	int iErr = 0;	// Error Nomber

	// arguments[2 and more] convert into options
	List<String> options = new List();
	if (arguments.length > 2) {
		options.length = arguments.length - 2;
		for(int i = 0; i < options.length; i++) {
			options[i] = arguments[i + 2];
	} else {

	// used hi_stmap library
	C_mkstmap cmkmap = new C_mkstmap(arguments[0], arguments[1], options);
	iErr = cmkmap.make();

	print('End program:$iErr');

1. Depend on it

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

  hi_stmap: "^0.2.0"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:hi_stmap/hi_stmap.dart';
Version Uploaded Documentation Archive
0.2.1 May 31, 2014 Go to the documentation of hi_stmap 0.2.1 Download hi_stmap 0.2.1 archive
0.2.0 Apr 12, 2014 failed Download hi_stmap 0.2.0 archive


This package version is not analyzed, because it is more than two years old. Check the latest stable version for its analysis.