On Thu, 24 May 2001, Nikol Su wrote:

> The result is:
>  <a href="http://www.theinquirer.net/14050107.htm";
> style="text-decoration:none"> Intel overclocks <br>Pentium 4 </a><br>
>
> I need to get rid of the 'style="text-decoration:none" ' and also the
> "<br>"

Check out StripAttributes and StripTags. Documentation is here:

http://www.newsclipper.com/writinghandlers.html

You want to do something like:

  @$data = grep { $_ = StripAttributes($_,'style') } @$data;
  @$data = grep { $_ = StripTags($_,'br') } @$data;

David

____________________________________________________________________________
David Coppit <[EMAIL PROTECTED]>        President, Spinnaker Software
http://www.newsclipper.com/ -- Snip and ship dynamic content to your website

If you would like to unsubscribe from this mailing list send an email to
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist
YOUR_EMAIL_ADDRESS" (without the quotes).

Reply via email to