Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

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

Solved by unefamilleavelo View solution

Started by unefamilleavelo 2 years ago · 6 replies · 204 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 ready-4-IT, 5 months ago
1 486 19 hours ago
General · by jean-louis67, 3 weeks ago
2 331 3 weeks ago
General · by Andy Miller, 4 weeks ago
0 326 4 weeks ago
General · by Veehem, 4 weeks ago
0 273 4 weeks ago
General · by milkboy, 4 weeks ago
0 279 4 weeks ago