Getting List of Output Chains Before the Output Filter
nginx-forum at forum.nginx.org
Thu Aug 18 01:58:58 UTC 2022
I'm following the instructions on the developer guide:
and also this github project:
What I'm trying to do is to collect all of the tags on an HTML page, then
perform an operation on a certain tag group based on tag count? For example:
I want to add a class to all <div> tags if there are more <div> tags than
So, (kind of) like the html_head_filter module from above, I want the parser
to run on all of the HTML, then do some logic, THEN when it hits the output
filter, create a c engine which will modify the requisite tag.
Any help you can provide would be very appreciated.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294964,294964#msg-294964
More information about the nginx