Find & replace

desk-user
Mon, 25 Jan 2016 16:31:11 +0000
Full-Text RSS

I need to find and replace that tag:

And here are my config file :

Generated by FiveFilters.org’s web-based selection tool

Place this file inside your site_config/custom/ folder

Source: http://siteconfig.fivefilters.org/grab.php?url=http%3A%2F%2Fauto.ahram.org.eg%2FNews%2F12686.aspx

body: //div[contains(concat(’ ‘,normalize-space(@class),’ ‘),’ img_Block ')]//img | //p

srtip: //div[contains(concat(’ ‘,normalize-space(@class),’ ‘),’ columns ‘) and (contains(concat(’ ‘,normalize-space(@class),’ ‘),’ padding ‘)) and (contains(concat(’ ‘,normalize-space(@class),’ ‘),’ m_m ‘))]//div[contains(concat(’ ‘,normalize-space(@class),’ ‘),’ adv ‘) and (contains(concat(’ ‘,normalize-space(@class),’ ‘),’ hide-for-small '))]//div
strip: //a

#Parser
tidy: yes
parser: html5lib

Clean HTML after procesing

prune: no

test_url: http://auto.ahram.org.eg/News/12686.aspx

13 posts - 3 participants