aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar rom-1 <37835829+rom-1@users.noreply.github.com> 2021-01-03 20:37:57 +0100
committerGravatar GitHub <noreply@github.com> 2021-01-03 20:37:57 +0100
commitaa3e41d4b3f3f283232c14c4cfc1baa6d78833e0 (patch)
treeef967b5646b4292b8d16126298dcab59c5d2efbe /docs
parent022ed9912a6b6861413e6387e193f50826942f5c (diff)
Adding info about combining css classes (#3329)
* Adding info about combining css classes Adding info about combining css classes using comma separation * Update 05_Configuration.md * Apply suggestions from code review Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/en/users/05_Configuration.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/en/users/05_Configuration.md b/docs/en/users/05_Configuration.md
index 767ed2be4..ba8c5006b 100644
--- a/docs/en/users/05_Configuration.md
+++ b/docs/en/users/05_Configuration.md
@@ -182,6 +182,22 @@ Here we find that the block that encompasses nothing but the content of the arti
* Lesnumériques: ```article#body div.text.clearfix```
* Phoronix: ```#main .content```
+#### Combining CSS Classes
+Let's say we have an article which contains ads within its content, and we do not want to have those ads retrieved by FreshRSS. Example Source Code:
+```
+<div id='article'>
+<h2>wanted</h2>
+<p class='content'>wanted content</p>
+<p class='ad'>unwanted content</p>
+<h2>wanted</h2>
+<p class='content'>wanted content</p>
+<h2>wanted</h2>
+<p class='ad'>unwanted content</p>
+<p class='content'>wanted content</p>
+</div>
+```
+In this case it's possible to combine multiple CSS selectors with a comma: ```#article p.content, #article h2```
+
### Retrieve a truncated stream with external tools
Complimentary tools can be used to retrieve full article content, such as: