Skip to content
This utility for parse sites sitemap.xml and do something with urls.
PHP Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
LICENSE
README.md
_process.php
composer.json
composer.lock
config.php
phpunit.xml
sp
sp.bat
sp.php

README.md

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;
You can’t perform that action at this time.