I think the easiest solution for me is to just use clj-http to get the 
content of the "leaf" pages and then hit 'em with a regex. It's not pretty, 
but, then again, neither is the tagsoup documentation.

On Saturday, February 14, 2015 at 1:03:23 PM UTC-5, Herwig Hochleitner 
wrote:
>
> Enlive by default uses tagsoup to parse html and can also use jsoup, so 
> I'd start with parsing options for those. It can also be used with other 
> parsers, provided you can get them to generate clojure's xml map format.
>
> 2015-02-13 18:55 GMT+01:00 Sam Raker <sam....@gmail.com <javascript:>>:
>
>> I'm trying to parse some stuff with enlive, but part of at least of the 
>> pages look like:
>> ...
>> <pre>
>> ...
>> <8-bar break...>
>> ...
>> </pre>
>>
>> Enlive interprets the text in the pointy braces as html, which it isn't, 
>> and that's messing up my application. Is there a way to tell enlive to not 
>> parse anything within a given tag?
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> <javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to