From aa3e41d4b3f3f283232c14c4cfc1baa6d78833e0 Mon Sep 17 00:00:00 2001 From: rom-1 <37835829+rom-1@users.noreply.github.com> Date: Sun, 3 Jan 2021 20:37:57 +0100 Subject: 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 Co-authored-by: Frans de Jonge --- docs/en/users/05_Configuration.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs') 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: +``` +
+

wanted

+

wanted content

+

unwanted content

+

wanted

+

wanted content

+

wanted

+

unwanted content

+

wanted content

+
+``` +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: -- cgit v1.2.3