How do I get a blog blog on R-Bloggers?

I create my blog using blogdown, but when I tried to send it to R-Bloggers, it will not be accepted because my feed returns the following error:

This XML document is invalid, likely due to invalid characters. 
XML error: Undeclared entity error at line 6, column 35 

Apparently feed for my site does not contain full RSS content. How to make it store all the content?

+4
source share
1 answer

Hugo (https://gohugo.io/templates/rss/) RSS xml , " " Hugo. , RSS /SECTION/index.xml(, http://spf13.com/project/index.xml). http://spf13.com/post/index.xml.

XML RSS:

<description>{{ .Summary | html }}</description>

(https://discourse.gohugo.io/t/full-text-rss-feed/8368/2), , , .Summary .Content. , : https://randomgeekery.org/2017/09/15/full-content-hugo-feeds/

, XML- Hugo :

<description>{{ .Content | html }}</description>

rss.xml layouts/, .

, , , , config.toml (https://github.com/gcushen/hugo-academic/issues/346 https://gohugo.io/templates/output-formats/) RSS header.html (https://gohugo.io/templates/rss/), .Summary .Content .

+4

Source: https://habr.com/ru/post/1694153/


All Articles