-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
Generate atom.xml for Blog section #84
Comments
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
You moved your website form Hugo to Next.js, right? Maybe something like this would work: https://github.com/rauchg/blog/blob/master/lib/atom.js The posts would have to be filtered of course, by "sectionSlug", perhaps? Plus other changes, so the atom feed link is available on the website. |
@JakubIwanowski yes, last week we moved to Next.js. We do not have strong requirement for Atom, so if there is something better already for Next.js for rss feeds, feel free to use it. I'm not a fan of https://github.com/rauchg/blog/blob/master/lib/atom.js as this would require us to maintain a separate json file with list of blog posts. |
@JakubIwanowski sorry, I was not behind building the website, I'm new to Next.js and just learned that actually the config file is maintained by default by Next.js so yeap, looks like what you linked is a good idea and https://github.com/asyncapi/website/blob/master/config/posts.json would be what you would have to read to get list of posts |
Alright! |
So the atom feed looks like this for now:
It shows 10 latest posts from the blog section. The script is run on build :
Do you want me to to change/add/delete something from the feed? |
looks good, would suggest few things though:
I'd like to have all posts in the feed, not just the last 10 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
This issue has been automatically marked as stale because it has not had recent activity 😴 |
Done thanks to @MikeRalphson |
Reason/Context
There are people out there that use feeds readers tools, but not only. I, for example, use https://blogtrottr.com/ to get an email whenever there is new post in GitHub Blog. We should enable users to subscribe to just Blog section if they do not want to subscribe to Newsletter, follow twitter or join Slack.
Description
The text was updated successfully, but these errors were encountered: