Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 989 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 989 Bytes

sitemap

Build Status GoDoc Go Report Card

Sitemap protocol library in Go.

Install

Go version 1.13

go get github.com/FoodyTech/sitemap

Example

mysite := `<some sitemap in XML>`

smap, err := sitemap.ParseString(mysite)
if err != nil {
    // process on error
}

for _, url := smap.URL {
    println(url.Location)
    println(url.LastModification)
    println()
}

Documentation

See these docs.

License

MIT License.