Sitemaps.Generator (Sitemaps v0.1.2)

Copy Markdown View Source

Generator provides functions for generate the sitemap file.

Summary

Functions

Add a link to the sitemap file. See Sitemaps.Builders.File.add/2.

Perform the running of full/0 and then reset/0.

Add index file and stop the sitemap file.

Performs a ping to Google, and Bing, for starting the indexing.

Write the index file, and stop it. It performs an update to the namer sitemap file.

Functions

add(link, attrs \\ [])

Add a link to the sitemap file. See Sitemaps.Builders.File.add/2.

add_to_index(link, options \\ [])

Add a link to the index file. See Sitemaps.Builders.IndexFile.add/2.

fin()

Perform the running of full/0 and then reset/0.

full()

Add index file and stop the sitemap file.

ping(urls \\ [])

Performs a ping to Google, and Bing, for starting the indexing.

reset()

Write the index file, and stop it. It performs an update to the namer sitemap file.