On Mon, Mar 15, 2010 at 1:10 PM, Chouser wrote:
> Did you mean to change "see" to "set"?
>
Oops fixed.
> Also, I'd recommend a slight change to how you load the
> namespaces. Specifically, I'd recommend doing the load first:
>
>(load "scrape1")
>
> And then using in-ns to change the R
Very nice, David! I'll be reading that again in the future, next
time I actually need to use enlive.
A couple things I noticed...
On Mon, Mar 15, 2010 at 12:43 PM, David Nolen wrote:
>
> Wow thanks for pointing that out. Turns out that section is way off! It can
> be expressed like so:
>
> (htm
On Mon, Mar 15, 2010 at 1:30 AM, Brandon Mason wrote:
> Awesome David! Just skimmed over this to get a sense of what Enlive
> is.
>
> I'm currently building a demo of a RESTful API using Compojure. My
> goal is to define resources using Clojure data structures and have
> them converted to XML/HT
On Mon, Mar 15, 2010 at 3:56 AM, wilig wrote:
> Thanks David,
>
> As a new clojurian, this is extremely helpful! I have a question. In
> this function:
>
> (html/deftemplate index "tutorial/template1.html"
> [ctxt]
> [:p#message] #(if-let [msg (or (:message ctxt)
>
Awesome David! Just skimmed over this to get a sense of what Enlive
is.
I'm currently building a demo of a RESTful API using Compojure. My
goal is to define resources using Clojure data structures and have
them converted to XML/HTML/JSON/etc. based on the user agent string.
I've currently got a
Thanks David,
As a new clojurian, this is extremely helpful! I have a question. In
this function:
(html/deftemplate index "tutorial/template1.html"
[ctxt]
[:p#message] #(if-let [msg (or (:message ctxt)
"Nothing to see here!")]
((html/conten
On Sun, Mar 14, 2010 at 3:45 PM, Ludovic Kuty wrote:
> This is great. Thanks.
>
> Some typos:
>
> lien instead of lein in "Install Leiningen" section: "I truly envy the
> new Clojurians who do not know the dark times before lien repl and
> lein swank :)"
> laod instead of load in tutorial.scrape3=
This is great. Thanks.
Some typos:
lien instead of lein in "Install Leiningen" section: "I truly envy the
new Clojurians who do not know the dark times before lien repl and
lein swank :)"
laod instead of load in tutorial.scrape3=> (laod "scrape3")
On Mar 14, 7:23 pm, Richard Newman wrote:
> > I
I just finished up a fairly involved tour of Enlive.
Great stuff, thank you for sharing. If I have any comments as I walk
through, I'll send them along.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@