Skip to content

This utility for parse sites sitemap.xml and do something with urls.

License

Notifications You must be signed in to change notification settings

cimmwolf/sitemap-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitemap.xml parser

Scrutinizer Code Quality

This utility for parse sites sitemap.xml and do something with urls.

Commands:

  1. sp check SITE_URL - checking HTTP response code for each link in sitemap.xml;
  2. sp links SITE_URL - parsing all pages from sitemap.xml and checking HTTP response codes for links which where founded. Also this command makes all checking from command 1;
  3. sp metadata SITE_URL;

Requirements

  • PHP (with sqlite3 and curl) >= 7;
  • Composer;

Инструмент для обхода страниц из sitemap.xml.

Возможности:

  1. sp check SITE_URL - проверяет HTTP-код ответа для каждой ссылки из sitemap.xml;
  2. sp links SITE_URL - проверяет "битые" ссылки: собирает все ссылки со всех страниц сайта и проверяет для каждой из них HTTP-код ответа. Кроме этого, проверяет все ссылки из sitemap.xml;
  3. sp metadata SITE_URL;

About

This utility for parse sites sitemap.xml and do something with urls.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published