Commit Graph
74 Commits
Author SHA1 Message Date
Brent Simmons 60bfa4e209 Ignore textinput sections in RSS feeds. (Which we see only with the Slashdot feed, but there may be others of course). Fixes #5459. 2026-10-02 09:56:12 -07:00
Brent Simmons d1eaf76763 Fix HTMLScanner to allow slashes in unquoted attribute values, which fixes feed discovery bugs (among other things). 2026-08-01 18:13:19 -07:00
Brent Simmons 1d54877be2 Support Atom xml:base — resolve relative URLs. Fixes #5088. 2026-07-28 10:10:49 -07:00
Brent Simmons 3a948b7556 Decode ‍ and ‌ entities. 2026-07-04 17:16:10 -07:00
Brent Simmons 8c02fb3ba4 Fix case where a title (or other tag) doesn’t have a prefix but is inside a namespaced section (<s:variant> for instance). Fixes #4422. 2026-05-26 19:45:34 -07:00
Brent Simmons 820dd504f1 Fix SwiftLint issues. 2026-05-22 10:01:54 -07:00
Brent Simmons cd3c6d0173 Simplify and make faster the time zone parser. 2026-04-24 12:54:42 -07:00
Brent Simmons 9972fed89a Simplify nextMonthValue. Edit some comments. 2026-04-24 11:59:12 -07:00
Brent Simmons 1a94463b70 Delete some unneeded comments. 2026-04-24 11:50:29 -07:00
Brent Simmons 450fc850e8 Edit comments. 2026-04-24 11:47:10 -07:00
Brent Simmons 41cab354ea Rename MutableItem to RSSItem. 2026-04-24 10:39:48 -07:00
Brent Simmons 3b9347ce05 Make RSParser depend on RSCore and use a single md5String implementation (in RSCore). Make Swift Testing work with RSCore. 2026-04-24 10:23:34 -07:00
Brent Simmons 598bec6b3e Share a MutableItem feed item object between RSS and Atom parsers. 2026-04-24 09:54:14 -07:00
Brent Simmons 9402655bce Use single shared unique ID calculator for Atom and RSS feeds. 2026-04-24 09:40:49 -07:00
Brent Simmons bc836fe901 Rename AtomAuthor.build to AtomAuthor.toParsedAuthor. 2026-04-24 09:02:30 -07:00
Brent Simmons d6eb8df7d0 Parse Atom summary. 2026-04-24 08:56:21 -07:00
Brent Simmons 9bfd09f7b5 Dropped the Mutable part of some private names. 2026-04-24 08:36:21 -07:00
Brent Simmons 8a4b30012e Pick up favicon from Atom feed, when specified. Edit some comments. 2026-04-24 08:28:13 -07:00
Brent Simmons 2a75872cba Update comment. 2026-04-24 08:18:35 -07:00
Brent Simmons 15ae566e2a Use withContiguousStorageIfAvailable to avoid Array(utf8) when possible. Performance enhancement when the string has no & characters. (Common for titles, for instance.) 2026-04-22 09:52:07 -07:00
Brent Simmons 8c7bb12928 Remove unneeded code. 2026-04-20 12:18:25 -07:00
Brent Simmons fa79a03fa6 Make pushImage return value discardable. 2026-04-20 12:16:32 -07:00
Brent Simmons 476bb19b9f Remove unneeded local helper function. 2026-04-20 12:15:42 -07:00
Brent Simmons 82406cc823 Delete RSParserObjC. Update references. Add tests. 2026-04-20 11:50:23 -07:00
Brent Simmons 88abb40a67 Handle invalid dates of format 2020/1/10 (even though they’re invalid). 2026-04-20 10:56:53 -07:00
Brent Simmons 381f84245a Add HTML scanner and link and metadata parsers. 2026-04-20 10:56:26 -07:00
Brent Simmons 7f4d62468c Add Swift OPML data models. 2026-04-20 10:55:50 -07:00
Brent Simmons 466dbf73b2 Add and use new decodingHTMLEntities function. 2026-04-20 10:55:25 -07:00
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