Problem with Kirby RSS feed an ifttt

Hi all,
I use kirby 2.06 with baseblog theme for my blog. The RSS feed is generated with the RSS plugin, which is part of baseblog theme. The generated feed works well with different RSS readers. What does not work is using the feed with ifttt, which throws the error message “Not a valid feed url, missing feed title”. A check with feed validator ( Feed Validator Results: https://blog.hofherr.me/feed ) shows errors as well. Here the link to my feed: https://blog.hofherr.me/feed

Any hints appreciated.

Thanks,

Matthias

Edit this file: site/plugins/feed/template.php

Find the line:

<atom:link href="<?php echo xml($url) ?>" rel="self" type="application/rss+xml" />

and replace with:

<atom:link href="<?php echo xml($url) ?>/feed/" rel="self" type="application/rss+xml" />

Find the line:

<guid><?php echo xml($item->id()) ?></guid>

and replace with:

<guid isPermaLink="false"><?php echo xml($item->id()) ?></guid>

I also noticed that in your RSS the link is https://blog.hofherr.me/blog , but you probably want just https://blog.hofherr.me/

In this find the line:

<link><?php echo xml($link) ?></link>

and replace it with:

<link><?php echo xml($url) ?></link>

Then it should validate at validator.w3.org. But I am not sure about the error you get from ifttt, since it complains about “missing feed title”, and from what I see the title is there. So maybe there is some other issue with ifttt.

1 Like

Hi Ozy,

thanks a lot for the fast help! Works for feed validator with your recommended changes.
The ifttt-problem is not solved, still the same error message. I get the feeling the problem is on ifttt side.
I will check with ifttt.

Thanks,

Matthias

Yes, the feed is valid now. I just noticed that you access the feed as “https://blog.hofherr.me/feed” without the trailing slash, so replace:

<atom:link href="<?php echo xml($url) ?>/feed/" rel="self" type="application/rss+xml" />

with

<atom:link href="<?php echo xml($url) ?>/feed" rel="self" type="application/rss+xml" />

So you will not get the warning at the validator.

Thanks again!
:smile: