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>
pull/3335/head
rom-1 4 years ago committed by GitHub
parent 022ed9912a
commit aa3e41d4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      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:

Loading…
Cancel
Save