Skip to content
GPLWP Guides

How to automatically publish news content on WordPress

Content Time About 30–60 minutes 6 steps Updated 3 Dec 2026

CONTENT
The short answer

WordPress can display news feeds with its built-in RSS block, but it does not automatically turn feed items into posts. For automatic publishing, use a feed or API importer, configure scheduled fetching, and test with drafts before enabling publication.

The route
  1. 01Choose a permitted news source
  2. 02Understand the manual route
  3. 03Install and configure an importer
  4. 04Test one source first
  5. 05Prevent duplicate posts
  6. 06Make scheduled imports reliable

What you need

  • A self-hosted WordPress site with admin access
  • A permitted RSS feed or news API source
  • A category and author account for imported posts
  • A backup or staging site for testing

Choose a permitted news source

Choose an RSS feed or news API from a publisher that permits republishing, aggregation, or linking. Decide whether your site will show headlines and excerpts, link readers to the original article, or publish content supplied through an API.

Do not assume that an accessible feed grants permission to copy full articles. Check the source terms, keep the original attribution, and avoid importing more content than you are allowed to use.

Understand the manual route

WordPress can show an external feed through the built-in RSS block, but that displays feed entries rather than creating WordPress posts. The block supports titles, authors, dates, excerpts, lists, and grids.

To build your own importer, a developer would fetch the feed with WordPress's feed parser, check each item's identifier or source URL against stored records, create posts with wp_insert_post(), and run the importer on a scheduled WP-Cron event. WordPress documents both the feed parser and scheduled event APIs, but this route needs custom code, error handling, duplicate checks, and ongoing maintenance.

Install and configure an importer

For a hands-off setup, install a news or RSS importer that can create WordPress posts from your chosen source. Add the feed URL or connect the news API, then set the post type, author, category, tags, featured-image behaviour, attribution, and fetch interval.

Start with the imported status set to Draft or Pending review. Turn on automatic publishing only after you have checked several real imports. If you want API-powered news importing and automatic posting with less custom work, Newsomatic is a suitable product choice for this job.

Test one source first

Run a single import and check the title, body, excerpt, source link, publication date, category, author, images, and canonical URL. Confirm that the importer creates one post for one source item and does not repeatedly update or republish the same story.

Keep an eye on shortened feeds. If the source provides only an excerpt, the importer cannot reliably create a complete article unless it has a permitted full-content or API endpoint. Do not scrape a publisher's site to work around that limitation.

Prevent duplicate posts

Use the source item's stable ID, GUID, or canonical URL as the duplicate key, rather than matching titles alone. Titles can change, while two unrelated stories can share similar wording.

Duplicate imports are often caused by overlapping scheduled fetches, especially when an importer runs again before a large previous batch has finished. Support reports have identified short fetch intervals and overlapping cron runs as a cause, so increase the interval, limit each batch, and make sure only one scheduled job handles each source.

Make scheduled imports reliable

WordPress uses WP-Cron for scheduled plugin tasks, but WP-Cron is triggered by page loads. A quiet site can therefore import late, and a busy site can run several overdue tasks together. WordPress recommends using a real server cron or hosting scheduler to trigger scheduled tasks when timing matters.

Check Settings → General for the site's timezone, then test an import at a known time. If your host supports WP-CLI, a scheduled server task can run wp cron event run --due-now. Review failed requests, API limits, feed errors, and image-download failures after the first day rather than assuming a successful cron run means a post was created.

The fast route

Let Newsomatic do it

API-powered news importing and auto-posting for news sites; pick it when hands-off content aggregation matters most.

Get Newsomatic

Sources

  1. wordpress.org /documentation/article/rss-block/?utm_source=openai
  2. developer.wordpress.org /reference/functions/fetch_feed/?utm_source=openai
  3. wordpress.org /support/topic/duplicates-in-the-feed/?utm_source=openai
  4. developer.wordpress.org /plugins/cron/?utm_source=openai

Questions

Can WordPress automatically import RSS items as posts without a plugin?
Not through the normal WordPress editor. WordPress's RSS block displays external feed entries, but turning each item into a post requires custom code that fetches the feed, checks for duplicates, inserts posts, and runs on a schedule. That custom importer can use WordPress's feed parser, post-insertion function, and WP-Cron APIs, but it needs developer maintenance.
Why are my automatically published news posts late?
Automatically published news posts are often late because WP-Cron runs when someone visits the site rather than continuously. Low-traffic sites may not trigger the importer on time, while overloaded sites may process tasks late. Check the site's timezone and use a hosting cron or server scheduler to trigger WordPress scheduled tasks at regular intervals.
How do I stop duplicate news posts?
Stop duplicates by storing and checking each source item's GUID, stable ID, or canonical URL before creating a post. Do not rely on the title alone. Also check for overlapping importer runs, very short fetch intervals, failed locks, and multiple jobs importing the same feed. A longer interval and one importer per source can prevent repeated batches.
Can an RSS feed provide the full news article?
Usually it depends on what the publisher puts in the feed. Some feeds provide only a headline, excerpt, date, and link, while others include full content or media details. An importer cannot create a complete article from an excerpt alone without fetching additional content, and copying that content may breach the publisher's terms. Use the source's permitted API or republish only the material you are licensed to use.
Should automatically imported news posts publish immediately?
Use Draft or Pending review first, then switch to immediate publishing only after checking several imports. Review attribution, images, dates, categories, duplicate handling, source permissions, and API failures. A Friday-evening failure can otherwise publish broken posts, missing images, or repeated stories until someone notices.