Fork me on GitHub
#planck
<
2017-02-21
>
plexus10:02:15

is there anything available in Planck that lets you parse HTTP?

slipset11:02:18

@plexus could you elaborate?

plexus11:02:57

sorry I meant HTML

plexus11:02:27

is there any API that ships with planck that turns a HTML string into some structured format?

slipset11:02:46

don’t think so.

slipset11:02:25

But couldn’t you use whatever cljs library you’d normally use (not that I know of any off the top of my head)

slipset11:02:21

and add it to the classpath of your planck process?

plexus11:02:38

yes, I know

mfikes12:02:21

Right, Planck doesn't bundle an HTML parsing lib. One question would be whether your library of choice is compatible with self-hosted ClojureScript.

slipset12:02:26

I know! Planck/cljs has regexes! You can parse html with regexes!