Simbul / baker

The HTML5 ebook framework to publish interactive books & magazines on iPad & iPhone using simply open web standards
http://bakerframework.com
1.53k stars 380 forks source link

Update a downloaded issue #638

Open benoitchantre opened 11 years ago

benoitchantre commented 11 years ago

I haven't yet tried the newsstand mode, but I suppose this feature is not implemented because there's nothing related to "update" in the Localizable.string

Would it be possible to add that?

A publisher can make some changes and the end user has to be notified if there's an update for a downloaded issue.

An information like "update available" displayed under the title of the issue should be sufficient.

folletto commented 11 years ago

Is it even possible in Newsstand? Could you check on Apple's Documentation? :)

benoitchantre commented 11 years ago

Yes, I read the Newsstand FAQ and it appears you can update an issue, but only once in a 24h period. The download runs in the background if the user hasn't disabled this feature. Here's the technical note from Apple: http://developer.apple.com/library/ios/ipad/#technotes/tn2280/_index.html#//apple_ref/doc/uid/DTS40011215

nin9creative commented 11 years ago

I don't know if this is possible.  Unless the subscriber deleted the local download and redownloaded it?


From: Davide Casali notifications@github.com To: Simbul/baker baker@noreply.github.com Sent: Tuesday, January 15, 2013 12:19 PM Subject: Re: [baker] Update a downoaded issue (#638)

Is it even possible in Newsstand? Could you check on Apple's Documentation? :) — Reply to this email directly or view it on GitHub.

folletto commented 11 years ago

If you are referring to the question "The content of my publication needs to be updated throughout the day. Can I initiate a Newsstand background download more than once in a 24-hour period?" mind that Apple uses the word "publication" for the whole application and "issue" for the single download. The only thing that FAQ says is that you can't push more than one new issue ("updated publication"), even by saying "If you want your Newsstand app to deliver breaking news, consider sending an issue via background download".

So, up to this point, I still don't think it's possible to update an already released issue.

benoitchantre commented 11 years ago

Ok, then it's like a printed publication: once printed and taken from the newsstand, the end user can't have an update if the publisher has changed something. If it's not possible because Apple conceived it like that, we can close this issue and maybe write a small note about that in the wiki. Thanks again for your support.

folletto commented 11 years ago

Thanks to you for raising this. :) And if you or anyone discovers any news on this, please re-open the issue. :D

benoitchantre commented 11 years ago

It should be possible, Adobe did it. You can see it for example in Adobe Inspire Magazine. When you open their app, the shelf refresh the infos about issues (text, images). A notification is displayed if an update is available. Same process when you come back to the shelf from an issue.

I think the update feature they have implemented doesn't rely on the Newsstand library provided by Apple. It's a feature in their app that works the same way if you publish your issues in the newsstand or not.

image

benoitchantre commented 11 years ago

@folletto can you please reopen this issue? I think I have no permission to do that? Thanks

folletto commented 11 years ago

Reopened, however I think that unless Baker becomes SaaS or adds a server part that isn't possible.

benoitchantre commented 11 years ago

Here's a suggestion that's probably too simple to be realistic

benoitchantre commented 11 years ago

@nin9creative, is it a feature planned in MagRocket?

nin9creative commented 11 years ago

I could definitely support such a feature with MagRocket, but it would need Baker front end work to somehow check the server to see if any issues have been updated. However I would imagine that Adobe isn't constantly checking for updated issues, it's probably relying on some push notification telling their apps that there is an update available for an issue and prompting / reacting accordingly. That could be accomplished as well. MagRocket (when Push Notifications are built in) could allow an admin to change the uploaded issue asset and then send out a notification (the nature of the Push Notifications would need to change to support more than just the new newsstand content type) with the issue name or whatever and Baker could react to that to prompt the user to download again. But then there are exceptions like, the user is subscribed but hasn't yet downloaded - do you want to display the message to them, etc. etc...

I'd need to think about it more, but as @folletto said - you would need a server component that could support the feature to at least provide a mechanism for the Baker shelf to know something was updated.

A simpler approach would be to fully implement alert push notifications in Baker... Then if you make an update to an issue, you could send that type of notification. The end user would get the message telling them that a new version of XYZ issue was available and that they should delete/redownload it. Granted this isn't as slick, but it could work as well as an easier implementation.

folletto commented 11 years ago

I should check, however, are we sure you can buy individual magazines outside iOS when you use Adobe? I'm sure you can do that with subscriptions - and that should be already possible with Baker - but individual issues? Is there anyone that can confirm or deny? :)

nin9creative commented 11 years ago

I've only read related to subscriptions....  But I am not 100% sure.


From: Davide Casali notifications@github.com To: Simbul/baker baker@noreply.github.com Cc: Andrew andrew@nin9creative.com Sent: Wednesday, April 24, 2013 8:14 AM Subject: Re: [baker] Update a downoaded issue (#638)

I should check, however, are we sure you can buy individual magazines outside iOS when you use Adobe? I'm sure you can do that with subscriptions - and that should be already possible with Baker - but individual issues? Is there anyone that can confirm or deny? :) — Reply to this email directly or view it on GitHub.

benoitchantre commented 11 years ago

@nin9creative, the app from Adobe does a refresh of it's data when you open it or when you go back to the library. You automatically receive a push notification when a new issue is available, but not when there's an update of a downloaded issue.

nin9creative commented 11 years ago

Ah gotcha....

folletto commented 11 years ago

However, right now:

  1. You can just update the magazine, and people can simply archive and re-download it.
  2. You can update the JSON file and get the update in the shelf (as of #547).

What's really missing is just the notification for the release of an updated version.

nin9creative commented 11 years ago

Exactly

folletto commented 11 years ago

What if we check shelf.json and if there's a date difference we prompt a new download? Would that work?

nin9creative commented 11 years ago

That would work fine I would think... Simple.

benoitchantre commented 11 years ago

Good news :-)