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

Fix pre-generated RSS URLs #2443

Merged
merged 9 commits into from
Jan 21, 2022
Merged

Fix pre-generated RSS URLs #2443

merged 9 commits into from
Jan 21, 2022

Conversation

natemoo-re
Copy link
Member

Changes

Testing

  • Tests updated

Docs

Bug fix only

@changeset-bot
Copy link

changeset-bot bot commented Jan 21, 2022

🦋 Changeset detected

Latest commit: 3e210dc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
astro Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) test labels Jan 21, 2022
Copy link
Contributor

@jonathantneal jonathantneal left a comment

Choose a reason for hiding this comment

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

Nice. RSSResult[]. Multiple URLs. ❤️

@netlify
Copy link

netlify bot commented Jan 21, 2022

✔️ Deploy Preview for astro-docs-2 ready!

🔨 Explore the source changes: 8dbce80

🔍 Inspect the deploy log: https://app.netlify.com/sites/astro-docs-2/deploys/61eb3019e4139e000736d6a1

😎 Browse the preview: https://deploy-preview-2443--astro-docs-2.netlify.app

@natemoo-re natemoo-re merged commit ed0b46f into main Jan 21, 2022
@natemoo-re natemoo-re deleted the fix/rss-urls branch January 21, 2022 22:38
@github-actions github-actions bot mentioned this pull request Jan 21, 2022
@zadeviggers
Copy link
Contributor

Woah, thanks for doing this! Sorry I went dark - some real life stuff came up.

SiriousHunter pushed a commit to SiriousHunter/astro that referenced this pull request Feb 3, 2023
* Allow pre-generated urls to be passed in rss feeds

* Fix variable name

* Add isValidURL helper function

* Remove scary RegEx and tidy up code

* add test for using pregenerated urls

* fix: allow rss to be called multiple times

* test: normalize rss feed in test

* chore: add changeset

Co-authored-by: Zade Viggers <[email protected]>
Co-authored-by: zadeviggers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants