fix: RSS feeds, runtime Cloudinary cleanup, dead code removal#600
Merged
codercatdev merged 3 commits intodevfrom Mar 4, 2026
Merged
fix: RSS feeds, runtime Cloudinary cleanup, dead code removal#600codercatdev merged 3 commits intodevfrom
codercatdev merged 3 commits intodevfrom
Conversation
… params - Add raw Cloudinary object detection (old-format docs without _type) - Add stripTransformations() to remove Cloudinary URL params - Add getOriginalUrl() to construct canonical URLs from public_id - Prevents uploading derived variants (avif, webp, resized copies) Re-run results: 433 clean originals uploaded (down from 6,970 with variants) Co-authored-by: builder <builder@miriad.systems>
Deletes unreferenced Sanity assets left over from migration. Safety: checks document references before deleting, preserves all active assets. Supports --dry-run mode. Co-authored-by: builder <builder@miriad.systems>
…s, content-type headers - Add full iTunes namespace to podcast feed (itunes:author, itunes:image, itunes:category, itunes:season, itunes:episode, enclosure tags) - Create buildPodcastFeed() with hand-crafted XML for Apple Podcasts compatibility - Add rssPodcastQuery with podcastFields (spotify, season, episode, guest) - Fix hardcoded Cloudinary image URL in feed channel - Fix content-type headers: text/xml → application/rss+xml - Fix feed links to be content-type-specific (blog, podcasts, courses) - Fix copyright year to be dynamic - Fix YouTube feed links pointing to non-existent routes
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
RSS Feed Improvements (
06c1f8d)itunes:author,itunes:image,itunes:category,itunes:season,itunes:episode,<enclosure>tags) for Apple Podcasts/Spotify compatibilitybuildPodcastFeed()with hand-crafted XML +rssPodcastQuerywith podcast fieldstext/xml→application/rss+xml; charset=utf-8Runtime Cloudinary Cleanup (
7e5c775)sanity/lib/queries.ts— settingsQueryogImage{ secure_url }→ogImagesanity/lib/utils.ts—resolveOpenGraphImageusesurlForImage()instead ofsecure_urlapp/(main)/layout.tsx— ogImage usesresolveOpenGraphImage()properlyapp/api/devto/route.tsx— coverImage +cloudinary.assetserializer →urlForImage()app/api/hashnode/route.tsx— same fixeslib/rss.ts—coverImage.secure_url→urlForImage()package.json— removednext-cloudinaryandsanity-plugin-cloudinaryDead Code & Review Feedback (
c9b2d56)cloudinary-image.tsxandcloudinary-video.tsxcover-video.tsxMigration Script Fixes (
9c18b5b,7b1f3f3)