Back to blog
6 min read Tutorials

Import an RSS Feed into WordPress Posts (and Add New Items Automatically)

An RSS feed is an XML file with one <item> per post: title, link, publish date, categories, a summary and often the full text. If you move a blog from another platform that still has a feed, collect posts from your own sites into one, or copy the news of a partner site you have permission to republish, you can import that feed into WordPress posts. Import Export by RockStarLab reads the feed straight from its address, maps the feed fields to post fields and can re-check the feed on a schedule, adding only new items.

Free: everything here works in the free plugin. We tested with Import Export by RockStarLab 2.2.13 and WordPress 7.1, using the feed of another WordPress site.

Short Answer

In Import Export by RockStarLab > Import, choose Blog Posts, paste the feed address (for a WordPress site, https://example.com/feed/) into Or import a file from a URL and click Fetch File. Auto Map maps title, pubDate, category, description, content and author. On the Options step, check existing items by Title and choose Skip for matches, so a second run only adds new items.

Step 1: Fetch the Feed

Paste the feed address and click Fetch File. The plugin downloads it as an XML file:

Import Step 2: feed.xml, 15.38 KB, XML, downloaded from the feed address
The feed is downloaded as an XML file.

The preview showed 10 rows, one per feed item, with 12 columns: title, link, comments, pubDate, category, guid, description, dc:creator, content:encoded and the comment feed columns. Items with two categories had both in one cell, such as “Brewing Guides, Coffee Origins”.

A WordPress feed contains only the latest items, 10 by default (Settings > Reading > “Syndication feeds show the most recent”). To import an entire blog from WordPress, use its export file instead; see Convert a WordPress XML Export File to CSV or Excel for how such a file is imported.

Step 2: Map the Feed Fields

Click Auto Map. It mapped six of the twelve columns:

Mapped fields: title to post_title, pubDate to post_date, category to taxonomy_category, description to post_excerpt, dc:creator to author_login, content:encoded to post_content
Auto Map maps six feed fields.
Feed field Post field
title Title
pubDate Date
category Categories
description Excerpt
dc:creator Author (by user name)
content:encoded Content

The link, guid and comment columns stay unmapped. Many feeds have no content:encoded and put the text in description; then Auto Map sends description to Content instead. Our feed had no author names, so the posts got the importing user as author.

Step 3: Import Only New Items

On the Options step, we set Check for Existing Items by Field to Title and If Match Found to Skip:

Import Options: Check for Existing Items by Title, If Match Found Skip, If No Match Found Create
Existing titles are skipped.

The first import created all 10 posts in one second. Each post got the feed’s publish date, its categories, the summary as the excerpt and the full text as content. New posts are created as drafts unless the file has a status column, so you can review them and publish them from Posts with Bulk actions > Edit > Status.

Import finished: 10 successful, 10 created, 0 skipped
First run: 10 posts created.

We ran the same import again. All 10 items were skipped, because posts with those titles already existed:

Import finished: 0 created, 10 skipped
Second run: all 10 items already imported.

Step 4: Check the Feed on a Schedule

Because the file came from a URL, the import can run on a schedule and download the current feed each time. Save the settings as a template and schedule the import as shown in Automatic WordPress Import from a URL on a Schedule. With Skip for matching titles, every run adds only items that are new since the last one.

With WP-CLI or an AI Agent

On a server, download the feed and import it with the same mapping as Auto Map; rss-map.json holds the five pairs below the command:

curl -o feed.xml https://example.com/feed/
wp rsl-ie import feed.xml --type=post --mapping=@rss-map.json --unique-field=post_title --if-exists=skip --user=admin
[{"source_field":"title","target_field":"post_title"},
 {"source_field":"pubDate","target_field":"post_date"},
 {"source_field":"category","target_field":"taxonomy_category"},
 {"source_field":"description","target_field":"post_excerpt"},
 {"source_field":"content:encoded","target_field":"post_content"}]

On our test site with Import Export by RockStarLab 2.2.63, import job 11 created 8 drafts from a 10-item feed with the feed’s publish dates, categories, excerpts and content, and skipped 2 items whose titles the site already had. Job 12, the same command a second time, skipped all 10.

An AI agent connected through the WordPress MCP Adapter does it from the feed address. WordPress itself gives the agent only read-only abilities for site, user and environment information; the download, the mapping and the import come from the plugin:

With Import Export by RockStarLab, import the feed https://example.com/feed/ as draft posts with title, publish date, categories, excerpt and content, and skip items whose title already exists.

The agent calls rsl-ie/upload-from-url with the feed address, rsl-ie/import-prepare for the columns, adds pubDate and description to the mapping and starts rsl-ie/import-start with unique_field post_title and skip for matches.

Tips

  • Only import feeds you may republish. A feed being public does not give you the right to copy its posts.
  • Images: with Automatically Import Media Files on, images in the item text are downloaded into your Media Library and the posts point to the local copies.
  • Edited titles: the check uses the title. If the source renames a post, the next run imports it again as a new post.
  • Other platforms: Blogger, Medium, Substack, Ghost and most CMSs publish RSS feeds with the same item fields; Atom feeds use different element names, so map them by hand.

FAQ

How do I import an RSS feed into WordPress posts?

In Import Export by RockStarLab, choose Import, Blog Posts, paste the feed address into the URL field and click Fetch File. Auto Map maps title, pubDate, category, description, content:encoded and dc:creator to the post fields; start the import.

Can WordPress import an RSS feed automatically?

Yes. A URL import can run on a schedule; with Check by Title and Skip, each run adds only new items.

Does the import keep the original publish dates?

Yes. pubDate is mapped to the post date, so each post gets the date of its feed item.

Why does the feed import only 10 posts?

The feed itself contains only the latest items. For a WordPress source, raise “Syndication feeds show the most recent” in its Reading settings, or import its full export file.

Get the free plugin on WordPress.org.

Dmitriy
About author

Dmitriy

WordPress Developer with 15+ years of commercial experience. Elite Author on ThemeForest and creator of custom WordPress plugins. Passionate about clean code, performance optimization, and building useful tools for the WordPress community.

JOIN THE CONVERSATION

Comments 0

Have a question or a tip to share? Leave it below.

Leave a comment

Your email address will not be published. Required fields are marked *

We store your name, email and comment to show and moderate it; your email is never published. Spam protection is provided by Cloudflare Turnstile and profile pictures by Gravatar. See our Privacy Policy.


Try the plugin with no risks!

New users get 1 month with access to all premium features. Experience the most powerful WordPress data engine today.

Download Now
Get PRO for FREE