You should be able to just tack .json to the end of most URLs on this site to get corresponding a machine-readable endpoint. And that should be open without logging in.
Hey Matthew, I’ve made an attempt at fetching the announcements feed from this site for display on the new fedoraproject.org/start page. However, I’m seeing a “CORS” error in the developer console and the feed doesn’t show up. (Please ignore the theme problems; it’s a work in progress. )
Is this something you can fix on the discussion.fedoraproject.org side? If not, there may be another possibility where we could restrict the news feed updates to only happen when the entire site is rebuilt on the Fedora infrastructure side.
Unfortunately, it doesn’t appear to have worked. I think you should be able to see the effects immediately by refreshing https://fedoraproject.org/start. There’s no rush on this.
@glb Are you pulling down the logo from the feed? We don’t have a graphic specifically for the announce list, but since that’s what these messages are, I think maybe it’d be better to have them labeled that way.
You are very welcome to hack on the theme if you want to. (Or you can create issues in the GitLab repository to request that someone else make the changes.)
The start page is defined in start.vue. Around line 65 is where that icon is being referenced. Changing it would just be a matter of uploading another image and changing that line.
As far as I’m concerned, just jump in and start submitting MRs. That’s what I did.
BTW, if you are working on a new thumbnail image for the announcements feed on the start page, it would be helpful if you could make it the same dimensions as the thumbnails that are coming from Fedora Magazine (472x200). What I have now is trying to add an appropriately sized grey background, but it is buggy and doesn’t work right when the code fails to fetch data from discourse. If the source images are the same size, then I can remove the conditionals and I think that will fix the problem.