diff --git a/src/deploy/config.md b/src/deploy/config.md index 08acb65771..4d6fc6761e 100644 --- a/src/deploy/config.md +++ b/src/deploy/config.md @@ -116,7 +116,7 @@ When using our new config, please leave the following environment vairable blank ::: -`HOTLINK_TEMPLATE`: replace image URL in the description to avoid anti-hotlink protection, leave it blank to disable this function. Usage reference [#2769](https://github.com/DIYgod/RSSHub/issues/2769). You may use any property listed in [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL#Properties) (suffixing with `_ue` results in URL encoding), format of JS template literal. e.g. `${protocol}//${host}${pathname}`, `https://i3.wp.com/${host}${pathname}`, `https://images.weserv.nl?url=${href_ue}` +`HOTLINK_TEMPLATE`: replace image URL in the content to avoid anti-hotlink protection, leave it blank to disable this function. Usage reference [#2769](https://github.com/DIYgod/RSSHub/issues/2769). You may use any property listed in [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL#Properties) (suffixing with `_ue` results in URL encoding), format of JS template literal. e.g. `${protocol}//${host}${pathname}`, `https://i3.wp.com/${host}${pathname}`, `https://images.weserv.nl?url=${href_ue}` `HOTLINK_INCLUDE_PATHS`: limit the routes to be processed, only matched routes will be processed. Set multiple values with comma `,` as delimiter. If not set, all routes will be processed diff --git a/src/guide/parameters.md b/src/guide/parameters.md index 35f7313c20..64d4aea78a 100644 --- a/src/guide/parameters.md +++ b/src/guide/parameters.md @@ -31,11 +31,11 @@ The following URL query parameters are supported, Regex support is built-in. Set `filter` to include the content -- `filter`: filter `title` and description +- `filter`: filter `title` and `content` - `filter_title`: filter `title` only -- `filter_description`: filter `description` only +- `filter_description`: filter `content` only - `filter_author`: filter `author` only @@ -47,11 +47,11 @@ E.g. [https://rsshub.app/dribbble/popular?filter=Blue|Yellow|Black](https://rssh Set `filterout` to exclude unwanted content. -- `filterout`: filter `title` and description +- `filterout`: filter `title` and `content` - `filterout_title`: filter `title` only -- `filterout_description`: filter `description` only +- `filterout_description`: filter `content` only - `filterout_author`: filter `author` only @@ -121,7 +121,7 @@ This is an experimental API ::: -- `image_hotlink_template`: replace image URL in the description to avoid anti-hotlink protection, leave it blank to disable this function. Usage reference [#2769](https://github.com/DIYgod/RSSHub/issues/2769). You may use any property listed in [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL#Properties) (suffixing with `_ue` results in URL encoding), format of JS template literal. e.g. `${protocol}//${host}${pathname}`, `https://i3.wp.com/${host}${pathname}`, `https://images.weserv.nl?url=${href_ue}` +- `image_hotlink_template`: replace image URL in the content to avoid anti-hotlink protection, leave it blank to disable this function. Usage reference [#2769](https://github.com/DIYgod/RSSHub/issues/2769). You may use any property listed in [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL#Properties) (suffixing with `_ue` results in URL encoding), format of JS template literal. e.g. `${protocol}//${host}${pathname}`, `https://i3.wp.com/${host}${pathname}`, `https://images.weserv.nl?url=${href_ue}` - `multimedia_hotlink_template`: the same as `image_hotlink_template` but apply to audio and video. Note: the service must follow redirects, allow reverse-proxy for audio and video, and must drop the `Referer` header when reverse-proxying. [Here is an easy-to-deploy project that fits these requirements](https://github.com/Rongronggg9/rsstt-img-relay). The project accepts simple URL concatenation, e.g. `https://example.com/${href}`, in which `example.com` should be replaced with the domain name of the service you've deployed - `wrap_multimedia_in_iframe`: wrap audio and video in `