Webboard: User defined sections and udmcomment tag

[email protected] 20 Nov 2011 11:32:48 -0000
Newsgroups gmane.comp.web.mnogosearch.general
Message-ID <[email protected]>
Author: Alexander Barkov
Email: [email protected]
Message:
Hello,



> hello,

> 

> kindly excuse my bad english.

> 

> we're using mnogo search ver 3.3.1 saving data in an mysql database.

> 

> is it right that user defined sections like p or h1 are not excluded by using an udmcomment tag like in the following example?

> 

> <!--UdmComment-->

> 

> <h1>My Title</h1>

> <p>My Text</p>

> 

> <!--/UdmComment-->

> 





User defined sections ignore <!--UdmComment-->, because

user defined sections work with the full original HTML page,

i.e. before it get broken down into sections by the HTML parser.



You can try to write a regex which will pick up data which

is inside <h1>..</h1> but which is not inside <!--UdmComment-->..<!--/UdmComment->.







Reply: <http://www.mnogosearch.org/board/message.php?id=21359>