Help - Search - Members - Calendar
Full Version: Strip Content - Multiple Matches, But Only The First Is Removed
Web Design Seo Forum > 3D Web Design English Forum > Joomla Scraper
CyberVerme
Hello,

I need to remove a particular div, but there are several correspondences distributed throughout the code.

example:

HTML
html, html, html, etc...
<div class="image-title">bla bla bla bla</div>
html, html, html, etc...
<div class="image-title">ble ble ble ble</div>
html, html, html, etc...
<div class="image-title">bli bli bli bli</div>


I want to completely remove all <div class="image-title">

In Strip Content I put the following:
QUOTE
<div class="image-title"> | </ div>


But it is removing only the first match.

On the page that I'm doing the scraper I have a varied amount of divs distributed throughout the code and would like to remove all.

How can I do this?

Thanks
Web Design Seo
Цитат
But it is removing only the first match.

To work well this function, strings must be unique, must be in html code nly once.
CyberVerme
QUOTE (Web Design Seo @ Oct 14 2013, 03:07 AM) *
To work well this function, strings must be unique, must be in html code nly once.


As I am doing a scraper is not I who defines how many times the same div will appear over html code.

How should I do when I want to remove all html corresponding with strip Content?

Thank you
CyberVerme
This is a function that the system should do. Because we do not control the html of the sites we scrape and assure you that in many situations we have several html elements identical to be removed.

Any position about this?
Web Design Seo
Is possible to make component to work in this way. But there must be one new option inside - to work in this way or in other way.

This new function will be planned for next update (in next 1-2 weeks).
CyberVerme
QUOTE
Is possible to make component to work in this way. But there must be one new option inside - to work in this way or in other way.

This new function will be planned for next update (in next 1-2 weeks).


This problem has been solved? the new version with the fix has already been released?
Web Design Seo
This is not problem, this is new function. And will be inside next version. We will post in extension topic new post when is ready.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.

Web Analytics