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 generator as a new package #10840

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

myl7
Copy link

@myl7 myl7 commented Apr 22, 2024

Changes

  • Add a new package astro-atom that works like astro-rss to generate Atom 1.0 feed (aka. RFC 4287)
  • Deprecated "Passing a glob result directly" is not added
  • Atom-specified attributes are not added, but the attribute names are changed to fit the ones in Atom feed. Maybe need to add a transformer for the two attribute sets.

Related #1657, #1113, proposals/0020-api-route-signature (mentioned)

I am not sure if a new proposal is required for this new package, since it expands the code base to be managed.
Anyway, I will first finish the left parts shown below to make this a complete work.

Testing

  • Tests like the ones in astro-rss are added correspondingly, except the ones in pagesGlobToRssItems.test.js. To add the later ones soon.

Docs

To be added soon, and it should be mostly similar to the one in astro-rss

Copy link

changeset-bot bot commented Apr 22, 2024

⚠️ No Changeset found

Latest commit: 798c20a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

None yet

1 participant