This is the cl-feedparser Reference Manual, version 1.2.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:53:46 2024 GMT+0.
cl-feedparser/cl-feedparser.asd
cl-feedparser/all/file-type.lisp
cl-feedparser/parser/file-type.lisp
cl-feedparser/xml-namespaces/file-type.lisp
cl-feedparser/feed-sanitizer/file-type.lisp
cl-feedparser/time/file-type.lisp
cl-feedparser/handlers/file-type.lisp
The main system appears first, followed by any subsystem dependency.
cl-feedparser
cl-feedparser/all
cl-feedparser/parser
cl-feedparser/xml-namespaces
cl-feedparser/feed-sanitizer
cl-feedparser/time
cl-feedparser/handlers
cl-feedparser
Common Lisp universal feed parser
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
1.2.0
asdf-package-system
(system).
cl-feedparser/all
(system).
cl-feedparser/all
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
cl-feedparser/parser
(system).
cl-feedparser/handlers
(system).
cl-feedparser/parser
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
alexandria
(system).
serapeum
(system).
anaphora
(system).
cl-feedparser/xml-namespaces
(system).
cl-feedparser/feed-sanitizer
(system).
cl-feedparser/time
(system).
local-time
(system).
cl-ppcre
(system).
quri
(system).
fxml
(system).
fxml/sanitize
(system).
fxml/html5
(system).
fxml/stp
(system).
plump
(system).
cl-html5-parser
(system).
cl-feedparser/xml-namespaces
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
alexandria
(system).
serapeum
(system).
fset
(system).
cl-feedparser/feed-sanitizer
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
alexandria
(system).
serapeum
(system).
fxml/sanitize
(system).
cl-feedparser/time
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
alexandria
(system).
serapeum
(system).
local-time
(system).
cl-ppcre
(system).
net-telent-date
(system).
cl-feedparser/handlers
Paul M. Rodriguez <pmr@ruricolist.com>
LLGPL
alexandria
(system).
serapeum
(system).
anaphora
(system).
cl-feedparser/parser
(system).
fxml
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-feedparser/cl-feedparser.asd
cl-feedparser/all/file-type.lisp
cl-feedparser/parser/file-type.lisp
cl-feedparser/xml-namespaces/file-type.lisp
cl-feedparser/feed-sanitizer/file-type.lisp
cl-feedparser/time/file-type.lisp
cl-feedparser/handlers/file-type.lisp
cl-feedparser/parser/file-type.lisp
cl-feedparser/parser
(system).
*author*
(special variable).
*base*
(special variable).
*entry*
(special variable).
*feed*
(special variable).
*keys*
(special variable).
*source*
(special variable).
check-guid-mask
(function).
defhandler
(macro).
ensure-gethash*
(macro).
entry-context
(function).
feed-ref
(compiler macro).
(setf feed-ref)
(compiler macro).
feed-ref
(function).
(setf feed-ref)
(function).
feed-string
(type).
feedparser-key
(type).
get-content
(function).
get-text
(function).
get-text/sanitized
(function).
get-timestring
(function).
gethash*
(macro).
handle-tag
(generic function).
make-load-form
(method).
masked?
(function).
parse-feed
(function).
parser-loop
(function).
print-object
(method).
repair
(function).
resolve-uri
(function).
return-feed
(function).
sanitize-content
(function).
sanitize-text
(function).
sanitize-title
(function).
start-element
(method).
string+
(function).
strip-parens
(function).
unsanitized-string
(function).
unsanitized-string
(structure).
unsanitized-string-string
(reader).
urlish?
(function).
%constructor=
(method).
*content*
(special variable).
*content-sanitizer*
(special variable).
*disabled*
(special variable).
*links*
(special variable).
*lispified-ids*
(special variable).
*parser*
(special variable).
*text-length-limit*
(special variable).
*title-sanitizer*
(special variable).
*version*
(special variable).
absolute-uri-handler
(class).
attrs-type
(function).
base-of
(reader method).
(setf base-of)
(writer method).
constructor-values/generic
(method).
copy-unsanitized-string
(function).
ctx
(function).
current-xml-base
(function).
current-xml-base-aux
(function).
empty-uri
(symbol macro).
empty-uri?
(function).
ensure-entry-id
(function).
entry-count
(function).
(setf entry-count)
(function).
entry-loop
(function).
entry-mtime
(type).
get-text-from-cdata
(function).
get-text-from-elements
(function).
get-xhtml-content-value
(function).
guess-type
(function).
guid-masked?
(function).
has-markup?
(function).
http
(symbol macro).
https
(symbol macro).
id
(type).
id-masked?
(function).
klacks-event
(type).
limit-text-length
(function).
lispify
(function).
make-absolute-uri-handler
(function).
make-html-sink
(function).
mask
(type).
mask-time
(type).
max-entries
(type).
merge-uris
(function).
parser
(class).
parser-context
(function).
parser-entries-count
(reader method).
(setf parser-entries-count)
(writer method).
parser-guid-mask
(reader method).
(setf parser-guid-mask)
(writer method).
parser-max-entries
(reader method).
(setf parser-max-entries)
(writer method).
protocol-allowed?
(function).
read-only-struct-slot-names
(method).
relative
(symbol macro).
resolve-attr
(function).
resolve-uri/base
(function).
sanitize-aux
(function).
sanitizer
(type).
sanitizer-designator
(type).
text-content
(function).
time-designator
(type).
trim-uri
(function).
universal-time
(type).
unlispify
(function).
uri
(type).
uri-protocol
(type).
version-string
(function).
xhtml-content
(function).
cl-feedparser/xml-namespaces/file-type.lisp
cl-feedparser/xml-namespaces
(system).
find-ns
(function).
namespace?
(function).
prefix-uri
(function).
namespace-map
(symbol macro).
namespace-prefixes
(symbol macro).
namespaces
(symbol macro).
nstring-camel-case
(function).
string-camel-case
(function).
cl-feedparser/feed-sanitizer/file-type.lisp
cl-feedparser/feed-sanitizer
(system).
feed-sanitizer
(symbol macro).
cl-feedparser/time/file-type.lisp
cl-feedparser/time
(system).
cl-feedparser/handlers/file-type.lisp
cl-feedparser/handlers
(system).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
handle-tag
(method).
add-content-key
(function).
attrs-table
(macro).
defaulted-key
(function).
resolve-attr
(function).
Packages are listed by definition order.
cl-feedparser/time
cl-feedparser/parser
cl-feedparser/feed-sanitizer
cl-feedparser/handlers
cl-feedparser/all
cl-feedparser/xml-namespaces
cl-feedparser/time
alexandria
.
common-lisp
.
local-time
.
serapeum
.
parse-time
(function).
time=
(generic function).
cl-feedparser/parser
alexandria
.
anaphora
.
cl-feedparser/feed-sanitizer
.
cl-feedparser/time
.
cl-feedparser/xml-namespaces
.
common-lisp
.
serapeum
.
*author*
(special variable).
*base*
(special variable).
*entry*
(special variable).
*feed*
(special variable).
*keys*
(special variable).
*source*
(special variable).
check-guid-mask
(function).
defhandler
(macro).
ensure-gethash*
(macro).
entry-context
(function).
feed-ref
(compiler macro).
(setf feed-ref)
(compiler macro).
feed-ref
(function).
(setf feed-ref)
(function).
feed-string
(type).
feedparser-key
(type).
get-content
(function).
get-text
(function).
get-text/sanitized
(function).
get-timestring
(function).
gethash*
(macro).
handle-tag
(generic function).
masked?
(function).
parse-feed
(function).
parser-loop
(function).
repair
(function).
resolve-uri
(function).
return-feed
(function).
sanitize-content
(function).
sanitize-text
(function).
sanitize-title
(function).
string+
(function).
strip-parens
(function).
unsanitized-string
(function).
unsanitized-string
(structure).
unsanitized-string-string
(reader).
urlish?
(function).
*content*
(special variable).
*content-sanitizer*
(special variable).
*disabled*
(special variable).
*links*
(special variable).
*lispified-ids*
(special variable).
*parser*
(special variable).
*text-length-limit*
(special variable).
*title-sanitizer*
(special variable).
*version*
(special variable).
absolute-uri-handler
(class).
attrs-type
(function).
base-of
(generic reader).
(setf base-of)
(generic writer).
copy-unsanitized-string
(function).
ctx
(function).
current-xml-base
(function).
current-xml-base-aux
(function).
empty-uri
(symbol macro).
empty-uri?
(function).
ensure-entry-id
(function).
entry-count
(function).
(setf entry-count)
(function).
entry-loop
(function).
entry-mtime
(type).
get-text-from-cdata
(function).
get-text-from-elements
(function).
get-xhtml-content-value
(function).
guess-type
(function).
guid-masked?
(function).
has-markup?
(function).
http
(symbol macro).
https
(symbol macro).
id
(type).
id-masked?
(function).
klacks-event
(type).
limit-text-length
(function).
lispify
(function).
make-absolute-uri-handler
(function).
make-html-sink
(function).
mask
(type).
mask-time
(type).
max-entries
(type).
merge-uris
(function).
parser
(class).
parser-context
(function).
parser-entries-count
(generic reader).
(setf parser-entries-count)
(generic writer).
parser-guid-mask
(generic reader).
(setf parser-guid-mask)
(generic writer).
parser-max-entries
(generic reader).
(setf parser-max-entries)
(generic writer).
protocol-allowed?
(function).
relative
(symbol macro).
resolve-attr
(function).
resolve-uri/base
(function).
sanitize-aux
(function).
sanitizer
(type).
sanitizer-designator
(type).
text-content
(function).
time-designator
(type).
trim-uri
(function).
universal-time
(type).
unlispify
(function).
uri
(type).
uri-protocol
(type).
version-string
(function).
xhtml-content
(function).
cl-feedparser/feed-sanitizer
alexandria
.
common-lisp
.
serapeum
.
feed-sanitizer
(symbol macro).
cl-feedparser/handlers
alexandria
.
anaphora
.
cl-feedparser/parser
.
common-lisp
.
serapeum
.
add-content-key
(function).
attrs-table
(macro).
defaulted-key
(function).
resolve-attr
(function).
cl-feedparser/xml-namespaces
alexandria
.
common-lisp
.
serapeum
.
find-ns
(function).
namespace?
(function).
prefix-uri
(function).
namespace-map
(symbol macro).
namespace-prefixes
(symbol macro).
namespaces
(symbol macro).
nstring-camel-case
(function).
string-camel-case
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Default value for ‘current-xml-base’.
Like ‘ensure-gethash’, but check (statically) that KEY is a member of ‘*keys*’.
Like ‘gethash’, but check (statically) that KEY is a member of ‘*keys*’.
Compare ID and MTIME against MASK and return T if the mask applies.
Try to parse FEED.
MAX-ENTRIES is the maximum number of entries to retrieve; GUID-MASK is
a list of GUIDs of entries that are already known to the caller and
thus not of interest.
Note that MAX-ENTRIES and GUID-MASK are, in effect, applied
successively, as though MAX-ENTRIES were first taken, then filtered by
GUID. (Actually, entries with masked GUIDs are not even parsed.)
Consider a feed with thousands of entries (they do exist): if the mask
were applied first, you would get another set of older entries each
time you called PARSE-FEED.
The argument TEXT-LENGTH-LIMIT restricts text to a maximum size
whenever text is extracted. Passing this make parsing more robust
against, say, some bozo who accidentally copy-pastes the complete text
of Moby Dick into a blog post.
Sanitizing content can be turned off with SANITIZE-CONTENT (defaults
to T). SANITIZE-TITLES controls sanitizing titles. Sanitizing titles
uses the sanitizer ‘fxml.sanitize:restricted’. Sanitizing content uses
the sanitizer ‘feedparser:feed-sanitizer’. There is no way to change
this, but you can turn sanitizing off. If you do so, then the hash
table returned will contain, instead of strings, objects of type
‘unsanitized-string’. It is then your responsibility to extract the
underlying string (using ‘unsanitized-string-string’) and sanitize it
yourself.
The idea is that if you see a string in the result, you can be sure it
is sanitized.
(Note that if you do disable sanitizing, you may still get string values in cases where the parser is able to determine that sanitizing is not needed at all, or where it uses special sanitizing strategies, or where the field is unconditionally sanitized, like dates and email addresses.)
Parse STRING as a date.
As a second value, return the parser used: either :net.telent.date
or :local-time.
Invoke the REPAIR restart, if available.
Invoke the RETURN-FEED restart, if available.
Concatenate STRINGS, ensuring that if any are unsanitized, the result is an unsanitized string.
Does X look like a URL?
null
) (glname1 (eql :enclosure)
)) ¶null
) (glname1 (eql :fullitem)
)) ¶null
) (glname1 (eql :body)
)) ¶(eql :xhtml)
) (glname1 (eql :body)
)) ¶(eql :content)
) (glname1 (eql :encoded)
)) ¶null
) (glname1 (eql :ttl)
)) ¶null
) (glname1 (eql :comments)
)) ¶null
) (glname1 (eql :item)
)) ¶null
) (glname1 (eql :guid)
)) ¶null
) (glname1 (eql :last-build-date)
)) ¶null
) (glname1 (eql :pub-date)
)) ¶null
) (glname1 (eql :language)
)) ¶null
) (glname1 (eql :author)
)) ¶null
) (glname1 (eql :link)
)) ¶null
) (glname1 (eql :copyright)
)) ¶null
) (glname1 (eql :description)
)) ¶null
) (glname1 (eql :title)
)) ¶(eql :media)
) (glname1 (eql :title)
)) ¶(eql :media)
) (glname1 (eql :thumbnail)
)) ¶(eql :media)
) (glname1 (eql :tags)
)) ¶(eql :media)
) (glname1 (eql :star-rating)
)) ¶(eql :media)
) (glname1 (eql :statistics)
)) ¶(eql :media)
) (glname1 (eql :restriction)
)) ¶(eql :media)
) (glname1 (eql :rating)
)) ¶(eql :media)
) (glname1 (eql :copyright)
)) ¶(eql :media)
) (glname1 (eql :player)
)) ¶(eql :media)
) (glname1 (eql :keywords)
)) ¶(eql :media)
) (glname1 (eql :credit)
)) ¶(eql :media)
) (glname1 (eql :content)
)) ¶(eql :media)
) (glname1 (eql :description)
)) ¶(eql :media)
) (glname1 (eql :hash)
)) ¶(eql :media)
) (glname1 (eql :category)
)) ¶(eql :rdf)
) (glname1 (eql :item)
)) ¶(eql :rdf)
) (glname1 (eql :description)
)) ¶(eql :rdf)
) (glname1 (eql :title)
)) ¶(eql :itunes)
) (glname1 (eql :author)
)) ¶(eql :itunes)
) (glname1 (eql :subtitle)
)) ¶(eql :feedburner)
) (glname1 (eql :orig-link)
)) ¶(eql :feedburner)
) (glname1 (eql :browser-friendly)
)) ¶(eql :feedburner)
) lname) ¶The feed is from Feedburner.
(eql :dc)
) (glname1 (eql :language)
)) ¶(eql :dc)
) (glname1 (eql :created)
)) ¶(eql :dcterms)
) (glname1 (eql :contributor)
)) ¶(eql :dcterms)
) (glname1 (eql :issued)
)) ¶(eql :dcterms)
) (glname1 (eql :modified)
)) ¶(eql :dc)
) (glname1 (eql :date)
)) ¶(eql :dc)
) (glname1 (eql :creator)
)) ¶(eql :dc)
) (glname1 (eql :rights)
)) ¶(eql :dc)
) (glname1 (eql :title)
)) ¶(eql :dcterms)
) lname) ¶(eql :atom03)
) (glname1 (eql :issued)
)) ¶(eql :atom03)
) (glname1 (eql :created)
)) ¶(eql :atom03)
) (glname1 (eql :modified)
)) ¶(eql :atom03)
) (glname1 (eql :copyright)
)) ¶(eql :atom)
) (glname1 (eql :info)
)) ¶(eql :atom03)
) (glname1 (eql :tagline)
)) ¶(eql :atom03)
) tag) ¶Fall back to Atom 1.0 parsing.
(eql :atom)
) (glname1 (eql :contributor)
)) ¶(eql :atom)
) (glname1 (eql :entry)
)) ¶(eql :atom)
) (glname1 (eql :content)
)) ¶(eql :atom)
) (glname1 (eql :id)
)) ¶(eql :atom)
) (glname1 (eql :updated)
)) ¶(eql :atom)
) (glname1 (eql :published)
)) ¶(eql :atom)
) (glname1 (eql :summary)
)) ¶(eql :atom)
) (glname1 (eql :icon)
)) ¶(eql :atom)
) (glname1 (eql :feed)
)) ¶(eql :atom)
) (glname1 (eql :uri)
)) ¶(eql :atom)
) (glname1 (eql :email)
)) ¶(eql :atom)
) (glname1 (eql :name)
)) ¶(eql :atom)
) (glname1 (eql :link)
)) ¶(eql :atom)
) (glname1 (eql :rights)
)) ¶(eql :atom)
) (glname1 (eql :subtitle)
)) ¶(eql :atom)
) (glname1 (eql :title)
)) ¶string
)) ¶string
)) ¶string
) t2) ¶integer
) (t2 timestamp
)) ¶timestamp
) (t2 integer
)) ¶timestamp
) (t2 timestamp
)) ¶integer
) (t2 integer
)) ¶unsanitized-string
) &optional env) ¶unsanitized-string
) stream) ¶absolute-uri-handler
) ns lname qname attrs) ¶fxml.sax
.
A string that has yet to be sanitized.
%read-only-struct
.
common-lisp
.
string
(alexandria:required-argument (quote string))
This slot is read-only.
Limit for text length, if one is in effect.
Copy an instance of UNSANITIZED-STRING, optionally overriding some or all of its slots.
Hack to work around the fact that Feedburner wipes out the xml:base attribute: if there is no current XML base, and this is a Feedburner feed, use the :link property of the feed as the base.
Substitute link for ID if there is none.
Handle the case where RSS is used without CDATA.
Convert ID from camel-case to hyphenated form.
Destructively convert STRING to camelCase and return it.
Return a copy of STRING in camelCase.
Convert hyphenated ID to camel-case.
absolute-uri-handler
)) ¶automatically generated reader method
base
.
absolute-uri-handler
)) ¶automatically generated writer method
base
.
unsanitized-string
) (o2 unsanitized-string
)) ¶serapeum
.
unsanitized-string
)) ¶serapeum
.
unsanitized-string
)) ¶serapeum
.
broadcast-handler
.
:base
Initarg | Value |
---|---|
:guid-mask | nil |
:max-entries | nil |
cl-feedparser/parser::max-entries
:max-entries
serapeum:wholenum
0
list
:guid-mask
Jump to: | %
(
A B C D E F G H I L M N P R S T U V X |
---|
Jump to: | %
(
A B C D E F G H I L M N P R S T U V X |
---|
Jump to: | *
B E F G H M N R S |
---|
Jump to: | *
B E F G H M N R S |
---|
Jump to: | A C E F I K M P S T U |
---|
Jump to: | A C E F I K M P S T U |
---|