Manually create an RSS feed with URLs

Create an RSS feed manually

I currently have the "problem" that I have to enter a few of my customers' websites in RSS directories, but these websites are not based on WordPress and therefore do not have an RSS feed.

If a website has been set up with WordPress, you can simply add a "/ feed /" to the domain and you will automatically be taken to the RSS feed. For example on the Sir Apfelot blog:

Alternative: manual creation of a static RSS file

The detour to get an RSS feed after all is to manually create such a file. Of course, this does not make much sense in practice if the content of the website changes frequently. In my blog, I would have to put together a new file several times a day to keep it up to date.

For many customers, however, the websites are quite "static". That is, they only change every few months or years, but otherwise remain as they are.

Use and slim down RSS template from WordPress

In order to create an RSS file manually, we need a basic framework that we can fall back on. The WordPress RSS template is very suitable for this.

I just loaded the current feed of my blog into the text editor and then removed information such as tags, categories, images and a lot more.

In principle, what remains is a basic structure that only has the URL, title and description as content fields. In the header area there is some information about the website and the feed URL, which you only have to adapt to the corresponding website.

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"

	<title>Titel der Webseite</title>
	<atom:link href="" rel="self" type="application/rss+xml" />
	<description>Kurze Beschreibung der Webseite</description>
		<title>Titel 1</title>
		<link>URL 1</link>
		<guid isPermaLink="true">URL 1</guid>
		<description>Beschreibung 1</description>

		<title>Titel 2</title>
		<link>URL 2</link>
		<guid isPermaLink="true">URL 2</guid>
		<description>Beschreibung 2</description>

With the help of this framework, I create a file for the customer's pages, which I save as rss.xml and upload to the server via FTP.

The RSS file can then be reached under this example URL:

Reference to the feed in the HEAD of the website

This is only optional, but recommended: You can refer to the RSS feed in the source code of your website by inserting the following line between the ... tags:

With this code, browsers also recognize that your website has an RSS feed and display a corresponding symbol in the address line.

<link rel="alternate" type="application/rss+xml" title="RSS" href=""

Check RSS feed

If you have problems registering your feed with portals, it could be that you have a syntax error in the code.

If the feed has no errors, you will see this ad.
If the feed has no errors, you will see this ad.

It is therefore advisable to use a feed validator (like this one here: to consider. This usually throws out a few warnings, but you can find serious errors, such as tags that are not closed or the like.

Did you like the article and did the instructions on the blog help you? Then I would be happy if you the blog via a Steady Membership would support.

Post a comment

Your e-mail address will not be published. Required fields are marked with * marked

In the Sir Apfelot Blog you will find advice, instructions and reviews on Apple products such as the iPhone, iPad, Apple Watch, AirPods, iMac, Mac Pro, Mac Mini and Mac Studio.