Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
方便测试。
  • Loading branch information
chuxinyuan authored Sep 7, 2021
1 parent 66240ae commit f6cc2be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,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']))
Expand Down

0 comments on commit f6cc2be

Please sign in to comment.