It turns the internal representation to a string representation. It doesn't
actually render it at that point. It's just the internal representation.

On Thursday, July 28, 2016, Peter Damoc <pda...@gmail.com> wrote:

> I took quick look and I got here:
>
> https://github.com/eeue56/elm-server-side-renderer/blob/master/src/Helpers.elm#L31
>
> query leads to nodeTypeFromHtml which is actually living in a module named
> HtmlToString :)
>
> Looks like you are still turning it into a string.
> I'm imagining that with the help of that native, the string representation
> is smarter (ready for Json decoding)
>
> Am I missing something or misreading the code?
>
>
>
>
> On Thu, Jul 28, 2016 at 1:46 PM, Noah Hall <enali...@gmail.com
> <javascript:_e(%7B%7D,'cvml','enali...@gmail.com');>> wrote:
>
>> My implementation of server-side rendering allows you to do exactly
>> that, without turning it to a string.
>>
>> Checkout how this is implemented ->
>>
>> https://github.com/eeue56/elm-server-side-renderer/blob/master/src/Query.elm#L51
>>
>> On Thu, Jul 28, 2016 at 11:21 AM, Peter Damoc <pda...@gmail.com
>> <javascript:_e(%7B%7D,'cvml','pda...@gmail.com');>> wrote:
>> > I need to gather all the class names used in a Html tree generated by
>> the
>> > app.
>> >
>> > Is there a way to do this short of converting the html to a string and
>> > manually parsing it?
>> >
>> >
>> >
>> >
>> >
>> > --
>> > There is NO FATE, we are the creators.
>> > blog: http://damoc.ro/
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Elm Discuss" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>> > email to elm-discuss+unsubscr...@googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','elm-discuss%2bunsubscr...@googlegroups.com');>
>> .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Elm Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elm-discuss+unsubscr...@googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','elm-discuss%2bunsubscr...@googlegroups.com');>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> There is NO FATE, we are the creators.
> blog: http://damoc.ro/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','elm-discuss%2bunsubscr...@googlegroups.com');>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to