Validate only if doc type found

If no DOC type line is found in HTML markup, don't run    markup
validator.
Reduce the memory requirements

Reduce the memory requirements to avoid "Out of memory" errors.
Check interoperability of web feeds