Commit Graph
46 Commits
Author SHA1 Message Date
Brent Simmons 5cd96be5c8 Delete no-longer-needed RSParsedFeedTransformer. 2026-04-19 20:44:45 -07:00
Brent Simmons 22480c9565 Add Swift RSS and Atom parsers. 2026-04-19 20:44:33 -07:00
Brent Simmons 96cca9621b Add OPMLParser. 2026-04-19 20:44:07 -07:00
Brent Simmons e36ac80ee2 Add public annotation. 2026-04-19 20:43:47 -07:00
Brent Simmons 4f68e70813 Add XMLSAXParser. 2026-04-19 20:43:30 -07:00
Brent Simmons c1caa72e4a Add XMLSAXParserDelegate. 2026-04-19 20:32:37 -07:00
Brent Simmons 4888fbe26d Add XMLScanner. 2026-04-19 20:26:43 -07:00
Brent Simmons 5949478e48 Add XMLNamespaceContext and tests. 2026-04-19 14:20:59 -07:00
Brent Simmons e8fbf8663a Add XMLNamespace. 2026-04-19 14:16:12 -07:00
Brent Simmons 082e3f2975 Add XMLAttributes and tests. 2026-04-19 14:15:59 -07:00
Brent Simmons 5d46a356ef Shorten top comment. 2026-04-19 14:15:23 -07:00
Brent Simmons a0e3016b2e Add XMLEntities and tests. 2026-04-19 13:58:25 -07:00
Brent Simmons de6c6b5ec6 Add XMLASCII utilities and tests. 2026-04-19 11:26:11 -07:00
Brent Simmons cd6e990b31 Encode feed as UTF8 before passing to parser. 2026-04-19 11:05:57 -07:00
Brent Simmons 160ef5bcf3 Use new DateParser. 2026-04-19 09:00:51 -07:00
Brent Simmons c7d42fdd3c Add Swift md5String utility and tests. 2026-04-19 09:00:01 -07:00
Brent Simmons 8a029280c2 Speed up DateParser. Now about 50x faster than old C version. 2026-04-18 22:27:17 -07:00
Brent Simmons 51b43115a8 Port RSDateParser to Swift as DateParser. 2026-04-18 22:05:24 -07:00
Brent Simmons 35877cb18c Switch to Swift Markdown parser/renderer. 2026-04-18 12:37:07 -07:00
Brent Simmons b0ef44d08f Parse channel image in RSS, Atom, and RSS-in-JSON feeds. We hope that they are square these days. Fixes #5258. 2026-04-14 15:24:44 -07:00
Brent Simmons da41360cee Handle two-digit years in pubDate — assume this century. Add tests for this. Fixes #5244. 2026-04-12 11:29:12 -07:00
Brent Simmons 79154c555a Switch from swift-markdown to Tidemark. 2026-03-07 21:39:13 -08:00
Brent Simmons e2a85a3119 Add fix for > 3 digits in milliseconds. 2026-01-02 20:12:00 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons 9180ec3ecd Fix various SwiftLint warnings. 2026-01-02 15:05:23 -08:00
Brent Simmons e45490fb1e Fix various SwiftLint warnings. 2026-01-02 11:57:55 -08:00
Brent Simmons fb1b901efe Fix various SwiftLint warnings. 2026-01-02 11:42:12 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons ccf81a15d4 Fix various SwiftLint warnings. 2025-12-31 13:50:52 -08:00
Brent Simmons 4fd16aadc9 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:20:48 -08:00
Brent Simmons e83082d417 Convert RSParser to approachable concurrency. 2025-11-12 08:46:15 -08:00
Brent Simmons 845789f165 Mark things as Sendable  — fix Sendability warnings. 2025-11-09 10:44:09 -08:00
Brent Simmons c40235ba6e Avoid setting article.link to nil. Fix #4828 2025-11-05 20:05:23 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 7638c1b8b8 Bump version. 2025-10-30 14:02:07 -07:00
Brent Simmons f879a5d3a4 Render Markdown when markdown is present and contentHTML is nil. 2025-10-29 16:31:23 -07:00
Brent Simmons 616ad0822a Add Markdown support to parser — parse source:markdown in RSS feeds. 2025-10-29 13:51:20 -07:00
Brent Simmons 4343afd27c Create async wrapper for parser(parserData) method. 2025-10-17 22:38:24 -07:00
Brent Simmons 212d9b40be Resolve link URLs. Handle Daring Fireball’s sometimes-crossed permalinks and external links. 2025-10-14 18:50:17 -07:00
Brent Simmons 7314f9a7f3 Lightly improve isValidURLString. 2025-10-14 16:17:13 -07:00
Brent Simmons ea771e9b27 Add code and tests to parse relative home page URLs in Atom feeds. 2025-10-14 11:23:37 -07:00
Brent Simmons a3ab1f00ba Add implementation and test for supporting a root author element in Atom feeds. Fix #2797. 2025-09-30 10:32:19 -07:00
Brent Simmons 868d326334 Detect the situation, at parse time, where a guid is a permalink and it contains a space character — don’t report it as a permalink. Fix #1230. 2025-09-15 09:57:45 -07:00
Brent Simmons 928fe006a8 Make maxEntityLength the actual length of the longest entity name in the entities dictionary. 2025-04-24 21:42:46 -07:00
Brent Simmons 1ee6ea09bb Add smallcircle entity. Fix #4583. 2025-04-24 21:30:11 -07:00
Brent Simmons adb6c51a96 Move modules to Modules folder. 2025-04-23 17:13:24 -07:00