これは初心者の質問です。Web ページを解析し、一連の 5 つの要素を返す関数があります。次に、関数を使用して、println正しく機能するかどうかを確認します。
...
(defn select-first-index-page-elements [source element n]
    ((get-parsing-logic source "parsing-logic-index-page" element "final-touch-fn")
        (nth 
            (html/select 
                (fetch-first-page source)
                (get-parsing-logic source "parsing-logic-index-page" element "first-touch"))
            n)))
(defn parsing-source [source]
(loop [n 0]
    (when (< n (count-first-index-page-elements source "title"))
(println ; the group of elements:
    (select-first-index-page-elements source "date" n)
    " - "
    (select-first-index-page-elements source "title" n)
    " - "
    (select-first-index-page-elements source "url" n)
    "\n")
(recur (inc n)))))))
(parsing-source "events-directory-website")
では、関数の代わりに、printlnこれらの要素を DB に格納するにはどうすればよいでしょうか? そして、それがすでにデータベースにある場合、どのように要素の特定のグループを保存できませんか? 解析関数が見つけた要素の新しいグループのみを印刷するにはどうすればよいですか?