Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Aleksandersen
12a735007d
Use query selector to better detect feed links
Check that all the required attributes are set. The rel attribute is a white-space separated list of values. Lookup 'alternate' in such a list instead of attempting a direct string match.
2018-09-04 12:54:10 +02:00
Daniel Jalkut
2567167f71 Stop embedding Swift libraries in the Safari App Extension, and rely upon the bundled Swift libraries in the host app instead. 2018-09-02 18:10:27 -04:00
Brent Simmons
141ae5cc2f Continue rename to NetNewsWire. 2018-08-28 22:18:24 -07:00
Daniel Jalkut
ab810e9f1c Change the validation code to always discard any pending requests for validation, and focus on the latest request. This works well for our purposes and avoids us queueing up a validation request and then having it somehow come in later than a more up-to-date request that may pertain to a different window or tab. 2018-08-19 17:55:46 -04:00
Daniel Jalkut
6caf85b598 I think it's important to have the persistent functions/variables live outside the document loaded handler, so they persist as long as the page is being viewed by the user. 2018-08-19 17:54:26 -04:00
Daniel Jalkut
8748e6f8cf Oops - need to multiply instead of divide to get accurate representation of delay timeout in nanoseconds. 2018-08-19 14:08:31 -04:00
Daniel Jalkut
86ba4b84a8 use the pre-calculated validation test. 2018-06-19 14:41:50 -04:00
Daniel Jalkut
3cb6ee35ab First stab at a new 'Subscribe to Feed' Safari App Extension. 2018-06-19 13:20:41 -04:00