lgraubner / sitemap-generator

Easily create XML sitemaps for your website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regex for AMP matches normal pages

bjoernbg opened this issue · comments

Hi,

we had a problem that the option ignoreAMP (default: true) caused normal, valid pages to be ignored as well. This seems to be an issue specific to pages with minified html. As an example you can try with:
https://www.ergosign.de/en/news/2018/event-uxcamp-switzerland.html

This page should not be ignored. The cause was difficult to debug, so maybe the reason for ignoring a page could be added to the 'ignore' event…

Thx for this great tool!

Björn

You are right. I improved the regex. Release will follow soon. :)