Skip to content

Conversation

@naoki-00-ito
Copy link
Member

This pull request introduces functionality to generate RSS feeds for individual authors and updates the response format in an existing API endpoint. The most important changes include adding a new RSS generation feature and ensuring compatibility in the response format for image generation.

RSS Feed Generation:

  • src/pages/[author]/rss.xml.js: Added a new file to generate RSS feeds for individual authors. This includes fetching blog posts by author, filtering them, and creating an RSS feed with metadata such as title, publication date, and description. (src/pages/[author]/rss.xml.jsR1-R33)

API Response Format Update:

  • src/pages/og/[slug].png.ts: Updated the GET function to return a Uint8Array instead of a plain string in the response body, ensuring compatibility with binary data handling for image generation. (src/pages/og/[slug].png.tsL23-R23)

@netlify
Copy link

netlify bot commented Aug 3, 2025

Deploy Preview for rowicy ready!

Name Link
🔨 Latest commit 179b22b
🔍 Latest deploy log https://app.netlify.com/projects/rowicy/deploys/688ed9b231e79700081137e4
😎 Deploy Preview https://deploy-preview-98--rowicy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@naoki-00-ito naoki-00-ito requested a review from Copilot August 3, 2025 03:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request introduces RSS feed generation for individual authors and fixes a binary data handling issue in the Open Graph image API. The changes enable users to subscribe to RSS feeds for specific authors' content while ensuring proper data type handling in image generation.

  • Added author-specific RSS feed generation with dynamic routing
  • Fixed binary data handling in Open Graph image API response
  • Implemented proper filtering and metadata for author-based content feeds

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/pages/[author]/rss.xml.js New RSS feed generator for individual authors with static path generation and content filtering
src/pages/og/[slug].png.ts Fixed response body to properly handle binary image data using Uint8Array

@naoki-00-ito naoki-00-ito merged commit 30609a2 into main Aug 3, 2025
5 checks passed
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.

3 participants