Giter VIP home page Giter VIP logo

daily's Introduction

Daily RSS

Daily News/Blog aggregator website and you could use this website as a template to create you own public rss daily reader by adding you own rss addresses collection in R/list.txt . Daily R is a light news/blog aggregator website for R.

Features

  • Real daily update and you could use RSS reader or click archive to find entries of the old posts

  • No AD

  • Remove the author to make more contents focused

  • Update everyday via a automated process

  • Use Github PR API to control posts

  • Re-direct to the orginal pages by click title in the homepage and wait 10s to re-direct in the post page

  • We reserve the right to delete any inappropriate posts

Contribute

  • Add your rss address and dates to the R/list.txt

  • Use getrss from scifetch to convert rss xml file into dataframe and use the following code to generate md files and PR to this repo.

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']))
    name = gsub("%", "", name)
    name = gsub("[^a-z0-9]+", "-", name)
    name = gsub("--+", "-", name)
    # file name too long issue
    name = substr(name, 1, 200)
    p = sprintf('content/post/%s.md', paste0(name))
    
    sink(p)
    cat('---\n')
    cat(yaml::as.yaml(x[i,],))
    cat('disable_comments: true\n')
    cat('---\n')
    cat(as.character(x[i, 5]))
    sink()
}
  • Add comma and your name to the YAML front matter block in contributor.md

Recipe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.