This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-27
Channels
- # admin-announcements (1)
- # announcements (1)
- # babashka (16)
- # beginners (222)
- # bristol-clojurians (6)
- # calva (13)
- # cestmeetup (5)
- # cider (19)
- # cljs-dev (2)
- # cljsrn (4)
- # clojure (65)
- # clojure-europe (31)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-uk (33)
- # clojurescript (64)
- # community-development (5)
- # core-async (18)
- # cursive (15)
- # datomic (6)
- # devcards (1)
- # emacs (18)
- # figwheel-main (102)
- # fulcro (51)
- # graalvm (2)
- # helix (8)
- # instaparse (33)
- # jobs (8)
- # jobs-discuss (3)
- # leiningen (42)
- # off-topic (88)
- # pedestal (15)
- # re-frame (18)
- # reagent (26)
- # reitit (15)
- # rum (3)
- # shadow-cljs (119)
- # spacemacs (9)
- # sql (2)
- # tools-deps (7)
Hi everyone, Playing around the bb and can't get xml to work .. is there a trick? I have installed bb on mac osx voia brew (version 0.0.99) when I try to use xml/parse-str I get , eg:
bb '
(->> (curl/get "")
:body (#(xml/parse-str % :skip-whitespace true))
:content (filter #(= "entry" (some-> % :tag name)))
first :content first :content)'
clojure.lang.ExceptionInfo: Could not resolve symbol: xml/parse-str [at line 3, column 12]
@pdmct on my machine:
$ bb '
(->> (curl/get "")
:body (#(xml/parse-str % :skip-whitespace true))
:content (filter #(= "entry" (some-> % :tag name)))
first :content first :content)'
("ClojureScript web server with Macchiato, Shadow CLJS and Reitit")
What do you see when you type bb --version
, sure there isn't another one on your path?
Rewrote my personal home page using babashka and bootleg: https://github.com/borkdude/michielborkent.nl/blob/2172242d6444c50aaf60de2837173f56088c0859/script/generate.clj#L6-L7
Nice! What was it before?
Bootleg 0.1.9 released. https://github.com/retrogradeorbit/bootleg/releases/tag/v0.1.9 Faster pod loading (thanks @borkdude)! - Support for deferred pod namespace loading in babashka (requires bb >= 0.0.99)
^ this will speed up things considerably if you're only going to use yaml, hiccup, etc and not the enlive stuff
pod-babashka-postgresql: a new pod for interacting with PostgreSQL! https://github.com/babashka/babashka-sql-pods