Skip to content

camopy/sitemap-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitemap generator

Implement simple sitemap (https://www.sitemaps.org) generator as command line tool.

Please implement this test task in the same way as you would do it for production code, which means pay attention to edge cases and details.

It should:

  • accept start url as argument
  • recursively navigate by site pages in parallel
  • should not use any external dependencies, only standard golang library
  • extract page urls only from <a> elements and take in account <base> element if declared
  • should be well tested (automated testing)

Suggested program options:

-parallel= number of parallel workers to navigate through site

-output-file= output file path

-max-depth= max depth of url navigation recursion

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages