diff --git a/content/about.md b/content/about.md index ce5ab18ec2..40df4827c1 100644 --- a/content/about.md +++ b/content/about.md @@ -31,6 +31,8 @@ Daily News/Blog aggregator website and you could use this website as a template - Use `getrss` from [scifetch](https://github.com/yufree/scifetch) to convert rss xml file into dataframe and use the following code to generate `md` files and PR to this repo. ```r +if (!dir.exists("content")) dir.create("content") +if (!dir.exists("content/post")) dir.create("content/post") x <- scifetch::getrss('path-to-your-own-rss-xml-files') for (i in 1:NROW(x)) { name = gsub("^http[s]?://|/$", "", tolower(x[i, 'linkTitle']))