Compare commits
No commits in common. "38096d90b5c37f0c51a33d3fd76f202b22b939bc" and "32f83352140d54413abeed47f8f5482e3ae98703" have entirely different histories.
38096d90b5
...
32f8335214
6 changed files with 6 additions and 89 deletions
|
@ -9,8 +9,8 @@ compile_sass = false
|
||||||
# Whether to build a search index to be used later on by a JavaScript library
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
build_search_index = false
|
build_search_index = false
|
||||||
|
|
||||||
generate_feeds = true
|
generate_feed = true
|
||||||
feed_filenames = ["index.xml"]
|
feed_filename = "index.xml"
|
||||||
|
|
||||||
theme = "juice"
|
theme = "juice"
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ juice_logo_name = "RSS Please"
|
||||||
juice_logo_path = "feed-icon.svg"
|
juice_logo_path = "feed-icon.svg"
|
||||||
juice_extra_menu = [
|
juice_extra_menu = [
|
||||||
{ title = "News", link = "/news/"},
|
{ title = "News", link = "/news/"},
|
||||||
{ title = "Sponsor", link = "https://github.com/sponsors/wezm"},
|
|
||||||
{ title = "GitHub", link = "https://github.com/wezm/rsspls"},
|
{ title = "GitHub", link = "https://github.com/wezm/rsspls"},
|
||||||
]
|
]
|
||||||
repository_url = "https://github.com/wezm/rsspls"
|
repository_url = "https://github.com/wezm/rsspls"
|
||||||
|
|
|
@ -183,11 +183,6 @@ Optional output directory to write the feeds to. If not specified it must be
|
||||||
supplied via the `--output` command line option. Directory will be created if
|
supplied via the `--output` command line option. Directory will be created if
|
||||||
it does not exist.
|
it does not exist.
|
||||||
|
|
||||||
Tilde expansion is performed on the path in the config file. This allows you to
|
|
||||||
refer to the home directory of the user running `rsspls`. For example,
|
|
||||||
`~/Documents/rsspls` could be used to place the output in your `Documents`
|
|
||||||
folder.
|
|
||||||
|
|
||||||
### proxy
|
### proxy
|
||||||
|
|
||||||
Optional proxy address. If specified, all requests will be routed through it.
|
Optional proxy address. If specified, all requests will be routed through it.
|
||||||
|
@ -240,20 +235,7 @@ recommended to specify the `link` selector explicitly.
|
||||||
|
|
||||||
### feed.config.summary
|
### feed.config.summary
|
||||||
|
|
||||||
Optional CSS selector relative to `item` that will supply the content of the
|
Optional CSS selector relative to `item` that will supply the content of the RSS item.
|
||||||
RSS item. This value may be a single CSS selector, or an array of CSS
|
|
||||||
selectors.
|
|
||||||
|
|
||||||
The CSS selectors may also include a comma separated list of elements to match.
|
|
||||||
For example: `summary = "p, blockquote"` will match `p` or `blockquote`
|
|
||||||
elements, adding them to the RSS feed in the order then are encountered in the
|
|
||||||
HTML document.
|
|
||||||
|
|
||||||
The array form of `summary` allows the order of the matched elements to be
|
|
||||||
controlled, enabling elements to be added to the feed in a different order to
|
|
||||||
the source HTML document. For example, `summary = ["p", "blockquote"]` causes
|
|
||||||
`rsspls` to make a pass over the source HTML document, adding `p` elements to
|
|
||||||
the feed, followed by a pass adding `blockquote` elements to the feed.
|
|
||||||
|
|
||||||
### feed.config.date
|
### feed.config.date
|
||||||
|
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
+++
|
|
||||||
title = "Version 0.9.0 released"
|
|
||||||
date = 2024-07-08T13:53:46+10:00
|
|
||||||
|
|
||||||
#[extra]
|
|
||||||
#updated = 2024-02-20T22:57:15+10:00
|
|
||||||
+++
|
|
||||||
|
|
||||||
The 0.9.0 release has been published. The summary selector now supports matching
|
|
||||||
multiple elements, tilde expansion is performed on the output path, and more.
|
|
||||||
|
|
||||||
<!-- more -->
|
|
||||||
|
|
||||||
## Version 0.9.0
|
|
||||||
|
|
||||||
[This release][release] adds support for matching multiple elements in the
|
|
||||||
`feed.config.summary` selector. These may be specified comma separated like `p,
|
|
||||||
blockquote`, or as an array like `["p", "blockquote"]`. The array form allows
|
|
||||||
the order the elements are added to the generated feed to be controlled. See
|
|
||||||
[the documentation for more details](@/documentation.md#feed-config-summary).
|
|
||||||
|
|
||||||
Tilde expansion is now performed on the `output` path in the configuration file. This
|
|
||||||
allows a path like `~/Documents/rsspls` to be specified in order to output into the
|
|
||||||
`Documents` folder of the user running `rsspls`.
|
|
||||||
|
|
||||||
The page caches will now be invalidated if the configuration is changed. This way
|
|
||||||
feeds will always be regenerated when the config file is edited. Previously they
|
|
||||||
would only be regenerated when the source HTML changed.
|
|
||||||
|
|
||||||
It's now possible to build `rsspls` using the native TLS library of the
|
|
||||||
platform instead of `rustls`. This is particularly handy on Windows ARM where
|
|
||||||
building the `ring` dependency of `rustls` currently [requires having `clang`
|
|
||||||
installed][ring]. To build with `native-tls` do the following:
|
|
||||||
|
|
||||||
cargo build --release --locked --no-default-features --features native-tls
|
|
||||||
|
|
||||||
[Full Changelog](https://github.com/wezm/rsspls/compare/0.8.1...0.9.0)
|
|
||||||
|
|
||||||
If you find `rsspls` useful you can [sponsor me on GitHub][sponsor].
|
|
||||||
|
|
||||||
[release]: https://github.com/wezm/rsspls/releases/tag/0.9.0
|
|
||||||
[sponsor]: https://github.com/sponsors/wezm
|
|
||||||
[ring]: https://github.com/briansmith/ring/blob/7c0024abaf4fd59250c9b79cc41a029aa0ef3497/BUILDING.md
|
|
|
@ -1,4 +1,4 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Firava";
|
font-family: "Firava";
|
||||||
src: url(/fonts/Firava.woff2) format("woff2");
|
src: url(/fonts/Firava.woff2) format("woff2");
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
|
@ -100,10 +100,6 @@ footer a:hover {
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 950px) {
|
@media screen and (max-width: 950px) {
|
||||||
.nav-item {
|
|
||||||
display: inline-block;
|
|
||||||
margin: 0.5em 5px;
|
|
||||||
}
|
|
||||||
.hero {
|
.hero {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
|
@ -115,26 +111,8 @@ footer a:hover {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
|
||||||
.nav-item {
|
|
||||||
font-size: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero {
|
|
||||||
padding: 40px 30px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 450px) {
|
@media screen and (max-width: 450px) {
|
||||||
header.pos-absolute {
|
|
||||||
position: relative;
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
}
|
|
||||||
.hero-image {
|
.hero-image {
|
||||||
width: 222px;
|
width: 222px;
|
||||||
}
|
}
|
||||||
nav {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,6 +70,7 @@ header {
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-color: var(--primary-color);
|
background-color: var(--primary-color);
|
||||||
|
overflow-x: hidden;
|
||||||
padding: 0 40px;
|
padding: 0 40px;
|
||||||
|
|
||||||
.explore-more {
|
.explore-more {
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<body>
|
<body>
|
||||||
{% block header %}
|
{% block header %}
|
||||||
|
|
||||||
<header class="pos-absolute">
|
<header class="pos-absolute" style="background-color: transparent">
|
||||||
{{ macros::render_header() }}
|
{{ macros::render_header() }}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue