From 66240ae344cdf3e8b1170b4bf9e68cb205edb020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A5=9A=E6=96=B0=E5=85=83?= Date: Tue, 7 Sep 2021 13:48:46 +0800 Subject: [PATCH] Update about.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 方便测试。 --- content/about.md | 2 ++ 1 file changed, 2 insertions(+) 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']))