-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Would it be easy to detect a static only site?
The current adapters all look for a pattern to be present in either file name or content, but for this we'd have to check the absence of other things.
E.g. a single html file in a subfolder of a wordpress site should not be detected here.
The presences of index.html is a good indication, but to be useful I'd want be sure no other php files are present (e.g. a contact.php file for some form processing). And the html files should not contain inline <?php ?> shippits.
Or we'd have to also create a GenericPhpAdapter that acts as a fallthrough for when we have *.php files but no cms is detected.
I've been drafting a bit of this in a feature/statichtml branch
Metadata
Metadata
Assignees
Labels
No labels