Introduces new setting limitParsingId which can be used to limit the parsing to a certain node/tag with this id.
If set, the parser loads the full page in a DOMdocument, extracts the configured node/tag as a separate DOMdocument, pareses only this much smaller DOMdocument, and replaces the node/tag in the DOMdocument of the whole page.
This way only the relevant part of a page must be parsed. Mostly, you have already some kind of wrapper around your content and only this content is relevant to the glossary. Navigations (in particular megamenus), sidebars, etc. don't need to be checked for matching XPaths or terms anymore.
Introduces new setting
limitParsingId
which can be used to limit the parsing to a certain node/tag with this id.If set, the parser loads the full page in a DOMdocument, extracts the configured node/tag as a separate DOMdocument, pareses only this much smaller DOMdocument, and replaces the node/tag in the DOMdocument of the whole page.
This way only the relevant part of a page must be parsed. Mostly, you have already some kind of wrapper around your content and only this content is relevant to the glossary. Navigations (in particular megamenus), sidebars, etc. don't need to be checked for matching XPaths or terms anymore.
Fixes: #185