J
Jerome ---
I am trying to parse some files that contain comments like this:
<html>
<body>
<!-- BEGIN ad_content -->
images, text, etc...
<!-- END ad_content -->
Interesting text of site here.
</body>
</html>
I am wondering how to go about extracting the data within the comments
block using Hpricot. I am not aware of a way to refer to commented HTML
through CSS or XPath selectors.
Thanks for any ideas!
- Jerome
<html>
<body>
<!-- BEGIN ad_content -->
images, text, etc...
<!-- END ad_content -->
Interesting text of site here.
</body>
</html>
I am wondering how to go about extracting the data within the comments
block using Hpricot. I am not aware of a way to refer to commented HTML
through CSS or XPath selectors.
Thanks for any ideas!
- Jerome