# RSS Feed does not validate

**URL:** <https://forum.getkirby.com/t/rss-feed-does-not-validate/3066>\
**Category:** Questions\
**Tags:** v2\
**Created:** [January 17, 2016, 10:09am UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066 "2016-01-17T10:09:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![flohei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flohei/32/1374_2.png) [@flohei](https://forum.getkirby.com/u/flohei)\
**Post date:** [January 17, 2016, 10:09am UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/1 "2016-01-17T10:09:42Z")

</div>

Hi there,

I’m currently in the process of migrating my Jekyll site to Kirby. So far, so good. For my RSS feed, I just took the out of the box plugin and created a page and a template for it as suggested in the README.

Unfortunately, this output does not validate against the W3C Feed Validator. You can see my results [here](http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Flab.flohei.de%2Fkirby-starterkit%2Fblog%2Ffeed). Is this just me or is it a general problem with the plugin? Anyone else seeing this?

Thanks,  
–f

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 17, 2016, 10:37am UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/2 "2016-01-17T10:37:06Z")

</div>

Looks like there’s something missing. The problem is not that it does not validate, but the php error messages. Pls. check if your feed folder in /site/plugins contains the following files:

- feed.php
- template.php (this one seems to be missing)

---

<div class="post-metadata">

**Author:** ![flohei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flohei/32/1374_2.png) [@flohei](https://forum.getkirby.com/u/flohei)\
**Post date:** [January 17, 2016, 11:07am UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/3 "2016-01-17T11:07:20Z")

</div>

Hm, in /site/plugins/feed/ I have three files

- feed.php,
- [readme.md](http://readme.md), and
- template.php.

I think this is everything you guys have in that repo, right?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 17, 2016, 11:10am UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/4 "2016-01-17T11:10:17Z")

</div>

Yes, then that’s ok.

But you get php error messages for variables that are not defined …

What does your feed look like if you open it in a browser?

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [January 17, 2016, 11:31am UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/5 "2016-01-17T11:31:54Z")

</div>

The error messages point to the file `site/templates/feed.php`. This template shouldn’t be the `template.php` that ships with the plugin, but contain something like the [example code](https://github.com/getkirby/plugins/tree/master/feed#example-usage).

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 17, 2016, 12:23pm UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/6 "2016-01-17T12:23:59Z")

</div>

That’s exactly the problem.

---

<div class="post-metadata">

**Author:** ![flohei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flohei/32/1374_2.png) [@flohei](https://forum.getkirby.com/u/flohei)\
**Post date:** [January 17, 2016, 12:25pm UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/7 "2016-01-17T12:25:52Z")

</div>

Oh, okay, then I completely misunderstood it. Sorry about that. I will try it with the example code provided. Thank you very much for your kind assistance.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:00pm UTC](https://forum.getkirby.com/t/rss-feed-does-not-validate/3066/8 "2025-02-06T17:00:21Z")

</div>


