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

Add atom feed to the blog #46

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Add atom feed to the blog #46

merged 1 commit into from
Jan 24, 2025

Conversation

bioball
Copy link
Contributor

@bioball bioball commented Jan 22, 2025

This adds an antora extension to generate an atom feed based off blog articles! Closes #6

The feed will be available at https://pkl-lang.org/blog/feed.xml.

New articles will automatically be added to the feed. Every article should have date, author, and author-url top-level attributes.

I added this nifty little icon (I'm not good at UX, so... feel free to suggest a better placement)

Screenshot 2025-01-22 at 3 14 14 PM

Screenshot 2025-01-22 at 3 20 53 PM

This adds an antora extension to generate an atom feed based off blog
articles.

New articles will automatically be added to the feed.
@@ -1,3 +1,7 @@
:date: 2024-08-13
:author: Josh Basch
:author-url: https://github.com/HT154
Copy link
Contributor Author

@bioball bioball Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: we can't substitute these attributes in the byline, because it breaks when we embed that byline into index.adoc.

Also, these attributes must be placed before the header.

Copy link
Contributor

@stackoverflow stackoverflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this nifty little icon (I'm not good at UX, so... feel free to suggest a better placement)

Looks fine. Best would be to have the icon in the search bar, but most browsers removed that functionality and require an extension now.

@bioball bioball merged commit aa5cd88 into apple:main Jan 24, 2025
3 checks passed
@bioball bioball deleted the rss-feed branch January 24, 2025 14:32
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

Successfully merging this pull request may close these issues.

Missing blog feed
2 participants