Page 1 of 1

Excluded page parts

Posted: 15 Dec 2018, 15:58
by kaosnews
I'm trying to understand this option (Excluded page parts) - but I don't really knows how to use it. For example there is a page with:

header (using <header></header>)
content block (using <div id="contentblock"></div>)
sidebar (using <div id="sidebar"></div>)
and footer (using <footer></footer).

I only want to look in the content block but not in the header/footer and sidebar. How do I use the Excluded page parts?

Re: Excluded page parts

Posted: 17 Dec 2018, 11:55
by kaosnews
Ok, I understand the option. I looked at some projects using the 'excluded page parts' - it's really very simple :)

Re: Excluded page parts

Posted: 18 Dec 2018, 13:22
by Maksym
If you want EPF to parse only one part of the page, then I suggest excluding everything before and after that part. In your case I'd use 2 "Excluded page parts" like this:

From: EMPTY
To: <div id="contentblock">

From: <div id="sidebar">
To: EMPTY

Empty "from" field means "beginning of the page". Empty "To" field means the "end of the page".