oakesja / elm-news

All elm news in one place
https://elm-news.com
59 stars 7 forks source link

Added support for Discourse as a replacement for Google Groups. #6

Closed igray closed 6 years ago

igray commented 6 years ago

See this post and this post. The elm-discuss google group is moving to Discourse.

Unfortunately, there is a configuration problem on the discourse server that prevents API access, but I'm trying to see if that can be resolved. I'll update this when I hear back about it.

oakesja commented 6 years ago

Hey @igray, thank you for taking the initiative of adding this! I was planning on looking into it this weekend, but you beat me to it! Keep me updated about the API access problem. An alternative might be to use feednami like this post suggests if the problem can't be solved. This would require using ports similar to how news from google groups is fetched.

igray commented 6 years ago

Yes, unfortunately, it's either that or use a proxy server (which the post also suggests). That would mean something outside of github pages.

I was briefly looking into either either installing this on a free-tier heroku or modifying it to run on AWS lambda, which is free for the first 1 million requests per month. I don't know what your traffic is, but if it's not much, you could use the cors-anywhere demo app without installing anything.

Anyway, using feednami also means that the decoder in this pull request won't work, but I'd be happy to write a new one.

igray commented 6 years ago

But also-- forgot to mention: Thank you for maintaining this project/website. I use it all the time!

oakesja commented 6 years ago

@igray I am glad to hear you use it all the time! I think I would rather not have to manager a server or AWS lambda just for getting around the cors issue. Could you take a look at using feednami similar to how the google groups news is fetched?

igray commented 6 years ago

Sure! I'll update this pull request when it's ready.

@oakesja It's updated

oakesja commented 6 years ago

@igray thanks again for adding this feature!