You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Patches sent by mail by @tiosgz. Applied with `git am`. It's my very
first time in this kind of [git email
workflow](https://git-send-email.io/). Pfiu !.
Command used:
```sh
git am --3way --ignore-space-change v2-0001-fix-retrieving-article-description.patch
git am --3way --ignore-space-change v2-0002-docs-configuration-fix-update-abstract_-chars_cou.patch
git am --3way --ignore-space-change v2-0003-tests-add-test-cases-for-abstract_delimiter.patch
```
Supersedes #202
cc @craigbox@YDX-2147483647
To fill each [item description element](https://www.w3schools.com/xml/rss_tag_title_link_description_item.asp):
243
+
Used, in combination with `abstract_delimiter`, to determine each [item description element](https://www.w3schools.com/xml/rss_tag_title_link_description_item.asp):
244
244
245
245
- If this value is set to `-1`, then the articles' full HTML content will be filled into the description element.
246
-
- be careful: if set to `0` and there is no description, the feed's compliance is broken (an item must have a description)
247
246
- Otherwise, the plugin first tries to retrieve the value of the keyword `description` from the [page metadata].
248
-
- If the value is non-negative and no `description` meta is found, then the plugin retrieves the first number of characters of the page content defined by this setting. Retrieved content is the raw markdown converted roughly into HTML.
247
+
- If that fails and `abstract_delimiter` is found in the page, the article content up to (but not including) the delimiter is used.
248
+
- If the above has failed, then the plugin retrieves the first number of characters of the page content defined by this setting. Retrieved content is the raw markdown converted roughly into HTML.
249
+
250
+
Be careful: if set to `0` and there is no description, the feed's compliance is broken (an item must have a description).
249
251
250
252
`abstract_chars_count`: number of characters to use as item description.
251
253
252
254
Default: `150`
253
255
254
256
----
255
257
256
-
#### `abstract_delimiter`: abstract delimiter
257
-
258
-
Used to fill each [item description element](https://www.w3schools.com/xml/rss_tag_title_link_description_item.asp):
258
+
### `abstract_delimiter`: abstract delimiter
259
259
260
-
- If this value is set to `-1`, then the full HTML content will be filled into the description element.
261
-
- Otherwise, the plugin first tries to retrieve the value of the key `description` from the page metadata.
262
-
- If the value is non-negative and no `description` meta is found, then the plugin retrieves the first number of characters of the page content defined by this setting. Retrieved content is the raw markdown converted rougthly into HTML (i.e. without extension, etc.).
260
+
Please see `abstract_chars_count` for how this setting is used. A value of `""` (the empty string) disables this step.
263
261
264
-
`abstract_delimiter`: string to mark .
262
+
`abstract_delimiter`: string to mark where the description ends.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
0 commit comments