Disable html contents in RSS feed

In my blog, I generated a interactive figure using ggiraph through d3.js in the svg format under blogdown in R with academic theme. However, some RSS feeder (e,g. rblogger.com) has trouble to feed the svg figures.

My question is whether we can remove the svg figure in the generated RSS feed (e.g. index.xml).

there are many ways

  • drop rblogger :wink: & create your own feeds

  • change the svg creating templates

    {{ with .OutputFormats.Get “html” -}}
    svg goes here

  • create your own RSS template

    • clone the svg generating templates
    • remove the svg parts

my sample feed templates are here

1 Like