Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Feed plugin : twig template removing `</link>`

Solved by unefamilleavelo View solution

Started by unefamilleavelo 2 years ago · 6 replies · 414 views
2 years ago

Hi,

I have installed the "feed" pluging but generated rss feed is invalid. After analyzing, the twig template contains this code:

TWIG
<link>{{ page.url(true) }}</link>

The resulting output is missing the </link> string. It looks like some process is removing it. Any other string is fine, but </link> is automatically removed after some parsing. How can I fix this please ?

2 years ago

Try disabling other plugins and see if the issue is still there

2 years ago

Thanks, I have tried that, one by one, but none of the other plugins seems to impact this.

2 years ago

I would try to debug the "feed" plugin itself in such case. Or report the issue on plugins GitHub repo

2 years ago

Backlinking is always appreciated in such cases. On both sides

2 years ago Solution

I have started a brand new instance of Grav, added all plugings, set the parameters, copied all pages. Everything works fine. I still can't figure out what was wrong with the previous instance but I will close this thread.

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago