Tlatwork
Tlatwork

Reputation: 1525

Missing rss.xml while attempting to bring blogdown (hugo blog) on r-bloggers?

Goal: Bring a blogdown (Hugo) blog on r-bloggers.

There is plenty Information on that topic, suggesting that the rss.xml file has to be modified, see

However, when i create a blog, i am missing that file.

> dir.create("blogdown")
> setwd("blogdown/")
> blogdown::new_site()
> list.files(pattern = "rss.xml", recursive = TRUE)
character(0)

Upvotes: 0

Views: 120

Answers (1)

Yihui Xie
Yihui Xie

Reputation: 30114

The RSS feed is called index.xml instead of rss.xml.

> list.files(pattern = "[.]xml", recursive = TRUE)
[1] "public/categories/index.xml"      "public/categories/r/index.xml"   
[3] "public/index.xml"                 "public/post/index.xml"           
[5] "public/sitemap.xml"               "public/tags/index.xml"           
[7] "public/tags/plot/index.xml"       "public/tags/r-markdown/index.xml"
[9] "public/tags/regression/index.xml"

Upvotes: 2

Related Questions