How to structure your RSS Feed for DEV.to Ingestion

https3A2F2Fdev-to-uploads.s3.us-east-2.amazonaws.com2Fuploads2Farticles2Fn4nf0c56osxbz7byi58f-1

A guide to formatting an RSS 2.0 feed so DEV.to imports your articles, images, and tags with zero formatting errors. 1. Quick Checklist: What to Do [ ] Wrap full article HTML inside <content:encoded><![CDATA[…]]></content:encoded>. [ ] Convert all image src, srcset, and link href attributes to absolute URLs (https://domain.com/…). [ ] Sanitize tags (<category>): alphanumeric only (a-z0-9), max 20 chars, max 4 tags per post. [ ] Provide a unique <guid isPermaLink=”true”> to prevent duplicate imports. [ ] Provide cover images via <enclosure> and as the first <img> inside <content:encoded>. [ ] In DEV Settings, keep “Mark RSS source as canonical” checked and “Replace self-referential links” unchecked. 2. RSS Field Reference …

Continue reading at DEV Community dev.to
Advertisement