We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

remove CSS and HTML tags

onyourmark
onyourmark asked
on
Medium Priority
423 Views
Last Modified: 2012-05-11
Hello. Can anyone suggest an effective way to remove CSS and HTML tags from pages as they are being scraped?
Thanks.
"
Girl in the Bath, Peninsula Hotel, Tokyo | Surly Bastard
div#fancy_inner {border-color:#BBBBBB}
div#fancy_close {right:-15px;top:-12px}
div#fancy_bg {background-color:#FFFFFF}
.wp-rotator-wrap {
padding: 0; margin: 0;
}
.wp-rotator-wrap .pane {
height: 300px;
width: 400px;
overflow: hidden;
position: relative;
padding: 0px;
margin: 0px;
}
.wp-rotator-wrap .elements {
height: 300px;
padding: 0px;
margin: 0px;
}
.wp-rotator-wrap .featured-cell {
width: 400px;
height: 300px;
display: block;
position: absolute;
top: 0;
left: 0;
margin: 0px;
padding: 0px;
}
.wp-rotator-wrap .featured-cell .image {
position: absolute;
top: 0;
left: 0;
}
.wp-rotator-wrap .featured-cell .info {
position: absolute;
left: 0;
bottom: 0px;
width: 400px;
height: 50px;
padding: 8px 8px;
overflow: hidden;
background: url(http://surlybastard.org/wp-content/plugins/wp-rotator/feature-bg.png) transparent;
color: #ddd;  
}
.wp-rotator-wrap .featured-cell .info h1 {
margin: 0;
padding: 0;
font-size: 15px;
color: #CCD;
}
.wp-rotator-wrap .current-cell { z-index: 500; }
Surly Bastard<br>
You annoy me.
Girl in the Bath, Peninsula Hotel, Tokyo<br>
<br>
I forget who she was.
Recent entries
Me by Andreas<br>
Burlesque<br>
For Japan<br>
Ribcage<br>
Lil Bastard<br>
Meta
Log in<br>
XHTML<br>
Recent comments
Blogroll
Documentation<br>
Plugins<br>
Suggest Ideas<br>
Support Forum<br>
Themes<br>
WordPress Blog<br>
WordPress Planet<br>
Pages
Test<br>
Cats
My Shit<br> (89)
Shit I like<br> (10)
Things I didnt create<br> (10)
Things that dont suck<br> (8)
Archives
Select month
April 2011  (3)
March 2011  (8)
February 2011  (5)
January 2011  (29)
December 2010  (26)
November 2010  (28)
Tag Cloud
All photos © Jim O'Connell, unless otherwise noted. 
"

Open in new window

Comment
Watch Question

Most Valuable Expert 2011
Author of the Year 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Mohamed AbowardaSenior Software Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Most Valuable Expert 2011
Author of the Year 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.