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

feat(website): add rss feed #1159

Merged
merged 6 commits into from
Jan 16, 2025
Merged

feat(website): add rss feed #1159

merged 6 commits into from
Jan 16, 2025

Conversation

tylersayshi
Copy link
Contributor

@tylersayshi tylersayshi commented Jan 15, 2025

adds rss xml endpoint to the website.

should we add a button to link to the feed somewhere?

sample feed from time of PR:

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
   <atom:link href="https://waku.gg/api/rss.xml" rel="self" type="application/rss+xml" />
   <title>Waku</title>
   <link>https://waku.gg</link>
   <description>The minimal React framework</description>
   
   <item>
     <title>Introducing Waku</title>
     <link>https://waku.gg/blog/introducing-waku</link>
     <pubDate>Tue, 12 Dec 2023 00:00:00 GMT</pubDate>
     <description>Learn about the minimal React framework and how it enables RSC features.</description>
     <guid isPermaLink="true">https://waku.gg/blog/introducing-waku</guid>
   </item>
   <item>
     <title>Introducing createPages</title>
     <link>https://waku.gg/blog/introducing-create-pages</link>
     <pubDate>Tue, 16 Jan 2024 00:00:00 GMT</pubDate>
     <description>Learn about the new API for creating layouts and pages programmatically.</description>
     <guid isPermaLink="true">https://waku.gg/blog/introducing-create-pages</guid>
   </item>
   <item>
     <title>Introducing “pages router”</title>
     <link>https://waku.gg/blog/introducing-pages-router</link>
     <pubDate>Tue, 26 Mar 2024 00:00:00 GMT</pubDate>
     <description>Bringing a minimal API to the modern React server components era.</description>
     <guid isPermaLink="true">https://waku.gg/blog/introducing-pages-router</guid>
   </item>
   <item>
     <title>Server actions are here!</title>
     <link>https://waku.gg/blog/server-actions-are-here</link>
     <pubDate>Tue, 20 Aug 2024 00:00:00 GMT</pubDate>
     <description>Enjoy full support for React 19’s server actions API.</description>
     <guid isPermaLink="true">https://waku.gg/blog/server-actions-are-here</guid>
   </item>
   <item>
     <title>Root element API</title>
     <link>https://waku.gg/blog/root-element-api</link>
     <pubDate>Tue, 03 Dec 2024 00:00:00 GMT</pubDate>
     <description>Customize your Waku project’s root elements.</description>
     <guid isPermaLink="true">https://waku.gg/blog/root-element-api</guid>
   </item>
   <item>
     <title>Type-safe routing</title>
     <link>https://waku.gg/blog/type-safe-routing</link>
     <pubDate>Tue, 31 Dec 2024 00:00:00 GMT</pubDate>
     <description>Enjoy type safety for routing and navigation APIs in Waku projects.</description>
     <guid isPermaLink="true">https://waku.gg/blog/type-safe-routing</guid>
   </item>
 </channel>
</rss>

Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
waku ✅ Ready (Inspect) Visit Preview Jan 16, 2025 1:42am

Copy link

codesandbox-ci bot commented Jan 15, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@tylersayshi tylersayshi marked this pull request as draft January 15, 2025 07:46
@tylersayshi tylersayshi marked this pull request as ready for review January 15, 2025 08:16
@dai-shi
Copy link
Owner

dai-shi commented Jan 15, 2025

Can you check this please?
https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwaku-73ckebp6v-daishis-projects.vercel.app%2Fapi%2Frss.xml

@dai-shi
Copy link
Owner

dai-shi commented Jan 15, 2025

Check this:
https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwaku-nw443dhc4-daishis-projects.vercel.app%2Fapi%2Frss.xml

@tylersayshi
Copy link
Contributor Author

Should be good now. The last remaining warning is because the preview url is different from waku.gg

https://validator.w3.org/feed/check.cgi?url=https://waku-33yudjsgu-daishis-projects.vercel.app/api/rss.xml

Copy link
Owner

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

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

Very nice.

@dai-shi dai-shi merged commit ff5e06f into dai-shi:main Jan 16, 2025
26 checks passed
@tylersayshi tylersayshi deleted the website-rss branch January 16, 2025 02:17
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.

2 participants