Commit Graph

25 Commits

Author SHA1 Message Date
Brent Simmons fb9a1d610c Parse enclosures in RSS. 2017-12-18 15:35:50 -08:00
Brent Simmons cc3f77571b Make JSONTypes public. Add JSONUtilities. 2017-12-10 13:53:00 -08:00
Brent Simmons 3d72ba4b44 Add case for detecting <https://www.natashatherobot.com/feed/> as an RSS feed.
It’s missing the opening <rss> tag, but it has enough other distinct markers that we can detect it as RSS.

Add two tests to make sure it’s detected and that the parser handles it.
2017-12-07 20:05:58 -08:00
Brent Simmons f28d921aff Avoid skipping parsing Dr. Drang’s JSON Feed, which can’t be detected that it’s a JSON Feed with only partial data, since it has the version element at the end. Add a test for this. 2017-12-01 13:19:30 -08:00
Brent Simmons efcc4fedaa Add tests for Dr. Drang’s JSON Feed. 2017-11-30 13:19:22 -08:00
Brent Simmons 1e528ee8b0 Fix bug detecting Macworld’s RSS feed as an RSS feed. The feed doesn’t start with the standard XML header. 2017-11-28 21:29:09 -08:00
Brent Simmons ff7695c290 Parse Open Graph images when parsing metadata from an HTML page. 2017-11-26 11:38:03 -08:00
Brent Simmons 97079108be Add Atom parser test for getting the home page link. It passed, which means the bug I’m currently hunting (no favicon for Dr. Drang) is somewhere else. 2017-11-25 13:02:21 -08:00
Brent Simmons a593661ba9 Add feed detection test for DCRainmaker feed. Make sure it’s detected as RSS. Fix #146. 2017-11-11 10:37:28 -08:00
Brent Simmons f9b3eeb4d7 Switch macOS deployment target to 10.13. Get MarkAllReadCommand working as an undoable command. 2017-10-29 11:14:10 -07:00
Brent Simmons c80c6c30f8 Fix builder errors, mostly in RSParser. 2017-10-04 13:28:48 -07:00
Brent Simmons 1e856b7924 Convert RSParser to Swift 4. Now using Xcode 9. Buid still broken. 2017-07-08 12:21:29 -07:00
Brent Simmons 483e00b2da Add more tests to RSParser. 2017-06-27 06:56:03 -07:00
Brent Simmons c32e1a3933 Fix bug finding channel element in RSS-in-JSON parser. 2017-06-26 19:51:01 -07:00
Brent Simmons 49a5e58ff2 Move feedType function to FeedType.swift. Add a few more cases to FeedParserTypeTests. 2017-06-26 19:37:30 -07:00
Brent Simmons 3bb9887513 Add HTML tests to RSParser. 2017-06-25 18:11:38 -07:00
Brent Simmons a53a0c4697 Add RSDateParserTests to RSParser. 2017-06-25 17:46:48 -07:00
Brent Simmons 67279b6796 Turn on more errors/warnings for RSParser, including treat-warnings-as-errors. 2017-06-25 17:42:30 -07:00
Brent Simmons c56f887ab4 Start adding RSParser tests. 2017-06-25 17:15:47 -07:00
Brent Simmons e9c19e427a Make it build. Add a README. 2017-06-25 16:32:07 -07:00
Brent Simmons 1ad4474b29 Make progress on getting RSParser.framework to build. 2017-06-25 14:06:01 -07:00
Brent Simmons 6f0e4a9da6 Start JSONFeed parser. No idea if it works yet. 2017-06-25 11:48:44 -07:00
Brent Simmons 8589c21091 Start RSS-in-JSON parser. 2017-06-25 10:23:30 -07:00
Brent Simmons 552ab693a3 Create common data structure for all feeds. Using Swift structs, because I love them so awfully much. 2017-06-20 22:00:19 -07:00
Brent Simmons b00b2f39d7 Start work on turning RSXML.framework into RSParser.framework. 2017-06-20 21:18:46 -07:00