freenode/#shirakumo - IRC Chatlog
Search
9:32:00
Shinmera
malm: you can try (setf (v:repl-level) :trace), which should show you what requests arrive and how they're executed.
14:40:30
malm
Shinmera: https://plaster.tymoon.eu/view/1104#1104 <- Diden't tell me much. In what env is the tmpl processed? Am I mssing some package related thing? I'll setup the plaster code on a different VPS and configure nginx and see if I can see anything that differs (a good exercise for me anyway). Back again here in a couple of hours. (will be in "read-only" mode)
16:13:25
margaritamike
Hi I'm trying to parse an html string to find a particular comment, with lquery
16:14:40
margaritamike
I've done an (lquery:initialize *response*), which has set lquery:*LQUERY-MASTER-DOCUMENT* to a string of HTML code.
16:15:36
margaritamike
I thought maybe I could use (lquery:$ lquery:*LQUERY-MASTER-DOCUMENT* (filter #'plump:comment-p)) from this point to find the comments, but that does not seem to be what I need to do.
16:22:32
Colleen
Generic plump-dom:traverse https://shinmera.github.io/plump#GENERIC%20PLUMP-DOM%3ATRAVERSE
16:24:09
Shinmera
(plump:traverse (plump:parse "<a><!--foo") (lambda (n) (when (plump:comment-p n) (print (plump:text n))))) ; => "foo"
17:49:43
Shinmera
Documenting things before they're finished is a waste of time unless you are a manager and don't actually write the code yourself in my opinion
17:53:32
Shinmera
Running it is just LEAF:LAUNCH in any case, though I have no guarantees that it'll work or that you'll know what to do if it does
17:56:05
Shinmera
I'm hesitant to commit to explaining stuff because unless I am assured I'd actually get something out of it (work done for me) it'd just be a waste of time for me. Sorry.