Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription feed #22

Open
lennet opened this issue Nov 21, 2017 · 5 comments
Open

Subscription feed #22

lennet opened this issue Nov 21, 2017 · 5 comments

Comments

@lennet
Copy link
Contributor

lennet commented Nov 21, 2017

Swift Playgrounds 2.0 Supports third party subscriptions https://developer.apple.com/library/content/documentation/Xcode/Conceptual/swift_playgrounds_doc_format/SubscriptionFeedFormat.html . How about creating an awesome swift playgrounds feed ?

@uraimo
Copy link
Owner

uraimo commented Nov 21, 2017

GREAT idea!
It looks like that this also requires zipping the playgroundbooks and to provide some thumbnail/preview images for each one.
So, we should verify that each playground's license allows redistribution.

@lennet
Copy link
Contributor Author

lennet commented Nov 21, 2017

yes, I used the the github releases feature for the zipping (https://github.com/lennet/image-filtering/blob/master/feed.json) and that works fine! How about creating an each issue to each playground in the list and asking them to create a release on their github repo. Could be easier to maintain than many releases or zips in one repo

@macserv
Copy link

macserv commented Jul 21, 2018

That definitely sounds like the best approach.

@lennet, do you think you could go ahead and create the JSON subscription feed now, and add those playgrounds which are currently published as a release? Even if it’s only a few items, I’m eager to subscribe. I also feel that developers would be more likely to publish their own playgrounds as releases if the feed actually existed, in order to be included.

Once the feed is available, I’d be happy to create issues for every playground in your list asking the developers to publish a release. Thanks for all the work you’ve done to curate this list!

@treyharris
Copy link

@lennet It looks like this didn't get followed up on, but I'm just now starting to play with the Playgrounds iOS app and it doesn't accept these URL's—including the one you link above (
https://github.com/lennet/image-filtering/blob/master/feed.json).

Checking the advertised URL's on Apple's site (which are all for Playgroundbooks requiring proprietary third-party hardware), it looks like they link to a locales.json URL rather than a feed.json URL, so perhaps something about the subscription format has changed in an undocumented way.

@lennet
Copy link
Contributor Author

lennet commented Nov 16, 2018

Sorry for the late response. I totally forgot about it.. Sorry the link I posted is only a link to the GitHub interface of the file and not the raw json. Adding https://raw.githubusercontent.com/lennet/image-filtering/master/feed.json in your app should work. A localized JSON would be nicer but my content isn't localized yet.

Back to the original topic of the Thread:

I'm not sure how stable the subscription format is. My feed broke often in the past due to undocumented format changes :/. I'm wondering if it makes sense to add an abstraction layer on top of apples format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants