-;;; atom.el --- Create an Atom feed
+;;; atom.el --- Create an Atom feed -*- lexical-binding: t -*-
;; Copyright (C) 2011 Frédéric Perrin
;;
;; (atom-print my-atom-feed)
;; ;; If you prefer RSS feeds:
-;; (atom-to-rss-print my-atom-feed))
+;; (atom-print-as-rss my-atom-feed))
;; Full documentation is available at <http://tar-jx.bz/code/atom.html>.
(require 'xml)
(require 'url-parse)
-(require 'cl) ; for setf in url-canonalize
(defun atom-create (title link &optional subtitle self id author updated)
"Create a new atom structure.