Skip to content

FoodyTech/sitemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages