featdd / dpn_glossary

Glossary extension for TYPO3
http://typo3.org/extensions/repository/view/dpn_glossary
GNU General Public License v2.0
20 stars 29 forks source link

exclude content inside div by class/id from parsing #124

Closed MalathDaThon closed 3 years ago

MalathDaThon commented 5 years ago

something for the "nice to have wish-list":

it would be great to have a function to exclude the whole content inside a <div></div> from parsing by id or class. so it would be easier to exclude parts of a website from parsing.

Kind regards, Malath

featdd commented 5 years ago

hi @MalathDaThon,

you can achieve this via the typoscript settings "forbiddenParentTags" & "forbiddenParsingTagClasses"

Greetings Daniel

jokumer commented 4 years ago

MalathDaThon means "whole content inside a <div></div> from parsing by id or class". The "forbiddenParentTags" requires, you only use this tag for glossary exclusion functionality - which is contrary the idea of hypertext markup language . The "forbiddenParsingTagClasses" requires, you set this class in each child element tag, which is nearly impossible with RTE generated content from the content management system. I will go with MalathDaThon, and ask to reopen this issue to feature exclusion from parsing by id or class. It is just a feature request.

featdd commented 4 years ago

I will make some tests and try to find the time to implement this, thanks for the clarification

featdd commented 3 years ago

Hi @MalathDaThon @jokumer,

this has been implemented here: a6a553b50e5105b37ca7e31c83fb93b02cb83edb

Greetings Daniel