New APOD RSS Feed Required

Introductions, Rules, Announcements, and Feedback
OgetayK
Asternaut
Posts: 3
Joined: Tue Dec 01, 2020 7:47 am

New APOD RSS Feed Required

Post by OgetayK » Sun Nov 21, 2021 9:35 pm

This is a thread to create a new RSS feed for APOD. Currently, APOD's RSS Feed has some flaws. It is our hope that the APODs volunteer-run Asterisk community can create a properly functioning RSS feed. This is an important need, especially for the news platforms such as Flipboard. We try to reach out to as many as possible. Although APOD reaches millions every day, since different types of platforms have different audiences, we must be able to reach all, especially for educational purposes, and avoid possible polarization.

Here are some insights:
Best,
Ogetay

User avatar
RJN
Baffled Boffin
Posts: 1610
Joined: Sat Jul 24, 2004 1:58 pm
Location: Michigan Tech

Re: New APOD RSS Feed Required

Post by RJN » Wed Nov 24, 2021 2:19 am

Yes, well stated. In is indeed our hope at APOD that an RSS-savvy volunteer will come forward.
- RJN

aularon
Asternaut
Posts: 3
Joined: Fri Jan 08, 2021 8:04 pm

Re: New APOD RSS Feed Required

Post by aularon » Wed Nov 24, 2021 5:59 am

Good day,

I volunteer to work on this. I should have a working feed for you to test fairly shortly. I will need some non-technical help and input from your side, about which I will get back to you soon.

I maintain the [Arabic APOD mirror](https://apod.me/), and have some good understanding of APOD content.

Best,
Hasan

OgetayK
Asternaut
Posts: 3
Joined: Tue Dec 01, 2020 7:47 am

Re: New APOD RSS Feed Required

Post by OgetayK » Wed Nov 24, 2021 3:28 pm

aularon wrote:
Wed Nov 24, 2021 5:59 am
Good day,

I volunteer to work on this. I should have a working feed for you to test fairly shortly. I will need some non-technical help and input from your side, about which I will get back to you soon.

I maintain the [Arabic APOD mirror](https://apod.me/), and have some good understanding of APOD content.

Best,
Hasan
Thank you for your interest Hasan, we are looking forward to hearing back from you. Meantime, everyone, please always feel free to work with other volunteers as a group or you can work on it individually too. Remember this is not a work dedicated to only one person, one can always work on it until we hit our target.

Ogetay

Bhavin Joshi

Re: New APOD RSS Feed Required

Post by Bhavin Joshi » Wed Nov 24, 2021 3:54 pm

Hi There!
I get APOD on my Ubuntu desktop. I am from India.
I am interested in volunteering.

Regards.

Bhavin Joshi
https://bhj.im

aularon
Asternaut
Posts: 3
Joined: Fri Jan 08, 2021 8:04 pm

Re: New APOD RSS Feed Required

Post by aularon » Wed Nov 24, 2021 8:37 pm

OgetayK wrote:
Wed Nov 24, 2021 3:28 pm
aularon wrote:
Wed Nov 24, 2021 5:59 am
Good day,

I volunteer to work on this. I should have a working feed for you to test fairly shortly. I will need some non-technical help and input from your side, about which I will get back to you soon.

I maintain the [Arabic APOD mirror](https://apod.me/), and have some good understanding of APOD content.

Best,
Hasan
Thank you for your interest Hasan, we are looking forward to hearing back from you. Meantime, everyone, please always feel free to work with other volunteers as a group or you can work on it individually too. Remember this is not a work dedicated to only one person, one can always work on it until we hit our target.

Ogetay
Thank you, Ogetay. I totally agree with the points you raised, having multiple people contributing to this makes it more rich and sustainable.

I created a script that generates the RSS feed, here is the first generated feed: https://apod.me/en.rss
Next steps:
  1. I will clean up the script code and upload it to github under MIT license, so that anyone can see, modify, use and contribute to the code.
  2. You, and essentially any one, can report issues / suggest improvements. I personally haven't used an RSS reader in ages.
  3. Deployment: While I can host the daily-generated feed files on my server (apod.me), I believe it is better on the long run to have a mechanism to update the feed on apod.nasa.gov itself. This needs further discussion.
Best,
Hasan

aularon
Asternaut
Posts: 3
Joined: Fri Jan 08, 2021 8:04 pm

Re: New APOD RSS Feed Required

Post by aularon » Thu Nov 25, 2021 10:12 pm

Source code: https://github.com/etabits/apodrss (MIT Licensed)

The script was updated to also output other feed formats (Atom 1.0 & JSON Feed 1.0).
The script is smart enough to link youtube's image in case we have a youtube video embed, it also goes the extra mile to fetch embedded vimeo video image and link to it in the feed.

Please anyone feel free to check the code, adapt it, send pull request, raise issues, etc. Also, please let me know what do you think... I want your feedback, positive or negative! I still don't know if it is working for you :roll: — Afterwards, process (generation mechanism) should be formalized, as mentioned in my previous reply.

Best,
Hasan