SwiftHN icon indicating copy to clipboard operation
SwiftHN copied to clipboard

Offline reading

Open Dimillian opened this issue 10 years ago • 0 comments

One of the goal of SwiftHN, is to be able to read a not too outdated feed while being offline. And not only the comments & title, but the linked pages too.

At the moment the app use background refresh & fetch to refresh the news page when it have a chance to. So when you launch the app you have a cached content that it an hour or so older than the remote content.

It should be possible to add some other background task to fetch and first few links and cache them. So we could display a local HTML content of the page. Kinda like the Safari Reading List.

Or even better, we could use the Safari Reading List. We could add an option that automatically new HN articles to the Safari Reading List so they would automatically be available offline.

In the first solution we might be a kinda limited by the time allowed for a background task (around 30 seconds). But we could let the user do it manually within the app.

The second solution might be a bit spammy if you use your Safari Reading List for others things than HN.

Need to think about it.

Dimillian avatar Jul 30 '14 21:07 Dimillian