Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 730 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 730 Bytes

smeago

A Golang tool to generate sitemap xml for Server Side Rendering apps.

all text

Install

go get github.com/dbalduini/smeago

Example usage

smeago -p 3000 -o "public/" -loc "http://example.com"

Params

-h the host name to crawl
   default: http://localhost
-p the host port to crawl
   default: 8080
-loc the host to be prefixed with the paths in the sitemap
   default: http://localhost
   example: -loc http://example.com
   <url>
    <loc>
      http://example.com/foo/bar
    </loc>
   </url>
-o the relative output directory for the sitemap.xml file
   default: <current directory>