openring rs
1.0.0
openring-rs Atom/RSS 피드에서 웹링을 생성하는 도구이므로 해당 피드의 기사로 템플릿을 채우고 자신의 블로그에 포함할 수 있습니다. 예제 템플릿은 in.html 에 제공됩니다.
이것은 Drew DeVault 오픈링의 러스트 포트이며 주요 차이점은 다음과 같습니다.
--cache 사용할 때 조절을 존중하고 조건부 요청을 보냅니다(권장!)--before 사용하여 피드 필터링을 허용합니다. 이 내용을 실제로 보려면 이 블로그 게시물의 바닥글을 참조하세요.
https://luke.hsiao.dev/blog/openring-rs/
cargo install --locked openring
A webring for static site generators written in Rust
Usage: openring [OPTIONS] --template-file <FILE>
Options:
-n, --num-articles <NUM_ARTICLES> Total number of articles to fetch [default: 3]
-p, --per-source <PER_SOURCE> Number of most recent articles to get from each feed [default: 1]
-S, --url-file <FILE> File with URLs of Atom/RSS feeds to read (one URL per line, lines starting with '#' or "//" are ignored)
-t, --template-file <FILE> Tera template file
-s, --url <URL> A single URL to consider (can be repeated to specify multiple)
-b, --before <BEFORE> Only include articles before this date (in YYYY-MM-DD format)
-c, --cache Use request cache stored on disk at `.openringcache`
--max-cache-age <MAX_CACHE_AGE> Discard all cached requests older than this duration [default: 14d]
-v, --verbose... Increase logging verbosity
-q, --quiet... Decrease logging verbosity
-h, --help Print help (see more with '--help')
-V, --version Print version
openring-rs 가 지원하는 템플릿은 Tera를 사용하여 작성되었습니다. 자세한 내용은 테라 문서를 참고하세요.
그냥 재미로요.