Publisher Devto

Generate Dev.to RSS feed from all blog posts for automatic syndication

CommandmarketingMIT1 source files

Before you use this component

This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.

Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.

Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.

Source publisher
Claude Code Templates
Creator supplied by source
Not listed in source
Pinned source version
a344359459263d73d8948651c789244093c02e4e
License evidence
LICENSE

Source preview

cli-tool/components/commands/marketing/publisher-devto.md

---
allowed-tools: Read, Write, Bash, Glob
argument-hint:
description: Generate Dev.to RSS feed from all blog posts for automatic syndication
---

# Dev.to RSS Feed Generator

Generate a complete RSS feed from all your blog posts for automatic import to Dev.to.

**Usage:** `/publisher:devto` (no arguments needed)

**What it does:**
- Scans all blog posts in your codebase
- Converts markdown to HTML
- Generates RSS 2.0 feed with proper encoding
- Creates `public/rss-devto.xml` file
- Provides setup instructions for Dev.to

**Process:**

1. **Scan for Blog Posts**
   - Search codebase for markdown files
   - Common patterns:
     - `src/content/blog/**/*.md`
     - `content/blog/**/*.md`
     - `posts/**/*.md`
     - `blog/**/*.md`

2. **Parse Blog Posts**
   - Extract frontmatter (title, date, description, tags)
   - Convert markdown body to HTML
   - Encode HTML properly for RSS (CDATA sections)
   - Extract publication dates

3. **Generate RSS Feed**
   - Create valid RSS 2.0 XML structure
   - Include all blog posts as items
   - Add proper channel metadata
   - HTML-encode content for Dev.to compatibility

4. **Save Feed File**
   - Write to `public/rss-devto.xml`
   - Ensure proper XML formatting
   - Validate RSS structure

5. **Display Setup Instructions**
   - Show how to add RSS to Dev.to
   - Explain deployment requirements
   - Guide user through configuration

**One-time Setup:**
1. Run this command to generate RSS feed
2. Deploy your site (make RSS publicly accessible)
3. Go to https://dev.to/settings/extensions
4. Add your RSS URL (e.g., `https://yoursite.com/rss-devto.xml`)
5. Dev.to will auto-import all future posts

**Benefits:**
- Automatic syndication to Dev.to
- All future posts sync automatically
- No manual copying required
- Maintains original formatting

Preview capped at 60,000 characters. Download the bundle for every original file and notice.

Read the redistribution license
MIT License

Copyright (c) 2025 Daniel (San) Ávila

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Bundle SHA-256: bcf13cac25aac04ba6b5c6efb863ae9483768b60cc193583a29f98ecb4c2be69. Files are served as downloads and are never executed by this page.