Author Topic: Remove MSN from NHL.com and ESPN.com  (Read 1565 times)

pooms

  • Jr. Member
  • **
  • Posts: 75
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
Remove MSN from NHL.com and ESPN.com
« on: April 21, 2002, 05:26:08 AM »
Certain sites such as
http://www.nhl.com and http://www.espn.com
are "wrapped" by MSN stuff, generally a header, a footer and
some additional advertising block on the side.
I wrote the following rule to get ride of the MSN content, based
on the fact that they conveniently inserted HTML comments to mark
the beginning and end of the MSN content.

Name = "Kill MSN Content"
Active = TRUE
Bounds = "<!--( |-)("|BEGIN |)MSN (Header|Footer|SideBar|module)*MSN (Header|Footer|SideBar|module)* -->"
Limit = 10000
Match = "*"
Replace = "<!-- MSN stuff removed -->"



 
 

Jor

  • Moderator
  • Sr. Member
  • *****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Remove MSN from NHL.com and ESPN.com
« Reply #1 on: April 21, 2002, 02:28:08 PM »
Thanks, this is a good filter