publisher-devto
Generate Dev.to RSS feed from all blog posts for automatic syndication
وصف مستورد لم يراجعه محرر بعد
جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.
التنزيل
التثبيت
بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.
لهذا المشروع
يوضع في: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/publisher-devto.zip -d .claude/commandsلحسابك على الجهاز كله
يوضع في: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/publisher-devto.zip -d ~/.claude/commands
التعليمات
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.xmlfile - Provides setup instructions for Dev.to
Process:
-
Scan for Blog Posts
- Search codebase for markdown files
- Common patterns:
src/content/blog/**/*.mdcontent/blog/**/*.mdposts/**/*.mdblog/**/*.md
-
Parse Blog Posts
- Extract frontmatter (title, date, description, tags)
- Convert markdown body to HTML
- Encode HTML properly for RSS (CDATA sections)
- Extract publication dates
-
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
-
Save Feed File
- Write to
public/rss-devto.xml - Ensure proper XML formatting
- Validate RSS structure
- Write to
-
Display Setup Instructions
- Show how to add RSS to Dev.to
- Explain deployment requirements
- Guide user through configuration
One-time Setup:
- Run this command to generate RSS feed
- Deploy your site (make RSS publicly accessible)
- Go to https://dev.to/settings/extensions
- Add your RSS URL (e.g.,
https://yoursite.com/rss-devto.xml) - 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
الملفات
- LICENSE1 ك.ب
- publisher-devto.md1.8 ك.ب
ما وجده الفحص الآلي
فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.
- يحتاج مراجعةأدوات مسموحة بلا حدود
في الملف cli-tool/components/commands/marketing/publisher-devto.md
التعليقات (0)
لا تعليقات بعد. كن أول من يعلّق.
سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).