Crates.io | rss4mdbook |
lib.rs | rss4mdbook |
version | 0.2.42 |
source | src |
created_at | 2023-03-07 16:02:18.228167 |
updated_at | 2023-03-07 17:28:38.308739 |
description | a generator for mdBook as CLI tool, export RSS.xml into u want path... |
homepage | https://rs.101.so/dev/cli_rss4mdbook.html |
repository | https://github.com/zhrust/rss4mdbook |
max_upload_size | |
id | 803741 |
size | 58,181 |
a generator for mdBook as CLI tool, export RSS.xml into u want path...
mdBook is great, but not auto export RSS, and the mdbook-rss is not work now...
so make it self ;-)
as Rustacean homework ...
as crate, can:
If you already have a Rust environment set up, you can use the cargo install command:
$ cargo install rss4mdbook
Cargo will build the rss4mdbook
binary and place it in $HOME/.cargo.
Compiled binary versions of rss4mdbook
are uploaded to GitHub when a release is made. You can install rss4mdbook
manually by downloading a release, extracting it, and copying the binary to a directory in your $PATH
, such as /usr/local/bin
.
For more information,
...TBD
..TBD
daily usage , only one shot:
...
[rss4mdbook]
url-base = "https://rs.101.so"
gen
command, append the lasted 4 articles as rss.xml$ rss4mdbook gen /path/2u/mdbook/book.toml
that all,
should make pub.sh
under u mdBook site root,
include commands like:
will auto upgrade site and RSS.
BYW:
u need modify u theme/index.hbs
insert the rss.xml at some where.
...
230308 ZQ publish 2 version
230306 ZQ init.
_~-+`~_
() / > ♡ \ \/
'_ ⎕ _'
/ '-----' |
...act by ferris-actor v0.2.4 (built on 23.0303.201916)