Liking cljdoc? Tell your friends :D

atom-validator.semantic

Semantic validation checks beyond RFC 4287 structure. These detect logical inconsistencies in feed content.

Semantic validation checks beyond RFC 4287 structure.
These detect logical inconsistencies in feed content.
raw docstring

day-namesclj

Mapping of day-of-week numbers (1=Monday) to name patterns.

Mapping of day-of-week numbers (1=Monday) to name patterns.
raw docstring

day-patternclj

Regex to find day names in text.

Regex to find day names in text.
raw docstring

extract-day-from-titleclj

(extract-day-from-title title)

Extract day-of-week name from title if present. Returns {:day-name 'thursday' :normalized 4} or nil.

Extract day-of-week name from title if present.
Returns {:day-name 'thursday' :normalized 4} or nil.
raw docstring

get-day-of-weekclj

(get-day-of-week dt)

Get day of week (1=Monday, 7=Sunday) from a datetime.

Get day of week (1=Monday, 7=Sunday) from a datetime.
raw docstring

validate-day-of-weekclj

(validate-day-of-week entry idx)

Check that day-of-week in title matches the updated date. This is Issue #1 from the validator requirements.

Example: 'Morning Brief: Thursday, June 19' with updated='2026-06-19' should fail because June 19, 2026 is a Friday, not Thursday.

Check that day-of-week in title matches the updated date.
This is Issue #1 from the validator requirements.

Example: 'Morning Brief: Thursday, June 19' with updated='2026-06-19'
should fail because June 19, 2026 is a Friday, not Thursday.
raw docstring

validate-entry-semanticsclj

(validate-entry-semantics entry idx)

Run all semantic checks on an entry.

Run all semantic checks on an entry.
raw docstring

validate-feed-semanticsclj

(validate-feed-semantics feed)

Run semantic checks on entire feed. Returns {:errors [...] :warnings [...]}.

Run semantic checks on entire feed.
Returns {:errors [...] :warnings [...]}.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close