Online HTML to Hiccup converter

545 views
Skip to first unread message

Aiden Nibali

unread,
Feb 20, 2015, 8:39:22 PM2/20/15
to clojur...@googlegroups.com
Hello all,

I've put together an online HTML to Hiccup converter at http://tohiccup.herokuapp.com/
Hopefully this will be of some use to people either as another example of an Om project or for the tool itself.

Aiden

Marc Fawzi

unread,
Feb 20, 2015, 9:18:12 PM2/20/15
to clojur...@googlegroups.com, clojur...@googlegroups.com
Hi Aiden

Are you using Hickory?

Sent from my iPhone
> --
> Note that posts from new members are moderated - please be patient with your first post.
> ---
> You received this message because you are subscribed to the Google Groups "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.
> To post to this group, send email to clojur...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

Aiden Nibali

unread,
Feb 21, 2015, 12:25:42 AM2/21/15
to clojur...@googlegroups.com
Hey Marc,

I am indeed using Hickory, though I've added some pretty-printing code which manipulates the output a bit. For example:

<div id="my-container" class="blue centered">Hello</div>

produces

[:div#my-container.blue.centered
"Hello"]

rather than something like

[:div {:id "my-container" :class "blue centered"} "Hello"]

Ahmad Hammad

unread,
Feb 21, 2015, 12:23:41 PM2/21/15
to clojur...@googlegroups.com
We have created one too, http://html2hiccup.buttercloud.com

Kyle Cordes

unread,
Feb 21, 2015, 12:34:50 PM2/21/15
to clojur...@googlegroups.com
On February 21, 2015 at 11:32:49 AM, Ahmad Hammad (a.f.h...@gmail.com(mailto:a.f.h...@gmail.com)) wrote:

> > I've put together an online HTML to Hiccup converter at http://tohiccup.herokuapp.com/
> > Hopefully this will be of some use to people either as another example of an Om project or for the tool itself.
> >
> > Aiden
>
> We have created one too, http://html2hiccup.buttercloud.com


I have a question about both of these tools:

Is the output compatible with Reagent?


--
Kyle Cordes
ky...@kylecordes.com(mailto:ky...@kylecordes.com)


Ahmad Hammad

unread,
Feb 21, 2015, 2:23:10 PM2/21/15
to clojur...@googlegroups.com, ky...@kylecordes.com
As far a I know, yes.

Simon Robinson

unread,
Feb 3, 2016, 7:31:00 AM2/3/16
to ClojureScript
Hi. This site doesn't seem to have been working the last couple of days?

Kyle Cordes

unread,
Feb 3, 2016, 7:58:06 AM2/3/16
to clojur...@googlegroups.com
If you get stuck and can’t find a working online converter, I wrote about this a couple of years ago and pointed out a way to do it locally. Of course my solution relies on some libraries being available, but the odds of that are perhaps better than a cloud-hosted free service free service remaining available.




-- 
Kyle Cordes

Reply all
Reply to author
Forward
0 new messages