📡 WordPress has Built-in RSS Feeds for Everything
Display posts on other sites, newsletters, or mobile apps. WordPress RSS feeds are ready to use. No plugins needed.
📝 Feed URLs
# Main feed (latest 10 posts) https://yoursite.com/feed/ # Category feed https://yoursite.com/category/news/feed/ # Tag feed https://yoursite.com/tag/wordpress/feed/ # Author feed https://yoursite.com/author/admin/feed/ # Search feed https://yoursite.com/?s=keyword&feed=rss2 # Comments feed https://yoursite.com/comments/feed/ # Custom post type feed https://yoursite.com/portfolio/feed/ # RSS (default), RDF, RSS2, Atom https://yoursite.com/feed/rss2/ https://yoursite.com/feed/atom/
🎯 Fetch RSS with JavaScript
// Using RSS to JSON API (rss2json.com)
fetch('https://api.rss2json.com/v1/api.json?rss_url=https://yoursite.com/feed/')
.then(res => res.json())
.then(data => {
data.items.forEach(item => {
console.log(item.title);
console.log(item.link);
console.log(item.pubDate);
});
});
// PHP SimpleXML
$rss = simplexml_load_file('https://yoursite.com/feed/');
foreach ($rss->channel->item as $item) {
echo '<h3>' . $item->title . '</h3>';
echo '<p>' . $item->description . '</p>';
}
💡 Use Cases
- Email newsletters (Mailchimp, ConvertKit read RSS)
- Display blog posts on another website
- Mobile app content (fetch RSS, parse JSON)
- Cross-site content syndication
- Create a news aggregator
“Client wanted blog posts on their main corporate site. RSS feed + fetch. No API, no plugins. Free, fast, built-in. WordPress RSS is underrated.”
