Author Topic: List Excludes  (Read 2974 times)

hpguru

  • Sr. Member
  • ****
  • Posts: 257
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://lightning.prohosting.com/~hpguru/
    • Email
List Excludes
« on: August 28, 2002, 06:34:46 PM »
I'm trying to add an exclude to my ad list (help - "BlockList Creation.html") but it doesn't seem to be working. For example there is a "banner" entry in my AdList to catch path elements of the form "*banner*". I want to create an exclusion for "ourbannerlogo". In my AdList I enter

banner
~ourbannerlogo

but this exclude is not matched. If I replace "~ourbannerlogo" with "~*bannerlogo" it matches but this is too general. What am I doing wrong?

Facing each other,
a thousand miles apart.

Edited by - hpguru on 28 Aug 2002  19:36:13
Facing each other,
a thousand miles apart.

altosax

  • Sr. Member
  • ****
  • Posts: 328
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
List Excludes
« Reply #1 on: August 28, 2002, 07:13:18 PM »
what is the complete url containing ourbannerlogo?
what list are you using?

if you provide more info's surely someone here will help you to solve this.

regards,
altosax.

 
 

hpguru

  • Sr. Member
  • ****
  • Posts: 257
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://lightning.prohosting.com/~hpguru/
    • Email
List Excludes
« Reply #2 on: August 28, 2002, 07:43:32 PM »
There isn't one. I used that as an example. I'm just playing with results in the test window for now but if you do a Google image search for "bannerlogo" you'll find that the vast majority are not ads. I would like to exclude "(Some_Specific_)bannerlogo" as the need arises but "~*bannerlogo" is just too general and may permit a few ads to get through. "~bannerlogo" will work to exclude say "ourbannerlogo" but it would also exclude "unholyspammersbannerlogo". :-/

The help file gives the example of

*.gif
~*/gamera.gif

So I don't understand why

banner
~ourbannerlogo

won't work.

Facing each other,
a thousand miles apart.
Facing each other,
a thousand miles apart.

hpguru

  • Sr. Member
  • ****
  • Posts: 257
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://lightning.prohosting.com/~hpguru/
    • Email
List Excludes
« Reply #3 on: August 28, 2002, 07:53:50 PM »
Here is another example. Seems it should work but it doesn't.

ads.
~downloads.


Facing each other,
a thousand miles apart.
Facing each other,
a thousand miles apart.

altosax

  • Sr. Member
  • ****
  • Posts: 328
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
List Excludes
« Reply #4 on: August 28, 2002, 08:07:06 PM »
i was thinking, why not:

~ourbannerlogo
banner

and:

~downloads
ads

i'm thinking that if it first matches ads it stops scanning list so ~downloads can not be found.

i'll do some test when i'll go offline,
altosax.

 
 

hpguru

  • Sr. Member
  • ****
  • Posts: 257
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://lightning.prohosting.com/~hpguru/
    • Email
List Excludes
« Reply #5 on: August 28, 2002, 08:32:12 PM »
That didn't work. Besides the help file mentioned above states

 
quote:
You can also add "exclude" lines By prefixing a line with the '~' character. They can be used to limit what a list will match, and are only checked if a regular match is found first in the list. The list will return as true only if none of the exclude lines match.


Facing each other,
a thousand miles apart.
Facing each other,
a thousand miles apart.

Scott Lemmon

  • Full Member
  • ***
  • Posts: 103
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://proxomitron.cjb.net/
    • Email
List Excludes
« Reply #6 on: August 28, 2002, 10:06:21 PM »
It depends on how you're calling the list.  unless the check begins with the word you're trying to match, it won't match unless you also add a leading wildcard of some type (which is why the example has "*" in it). Also, if you're calling the list with something like (*$LST(myList)) it won't work like you might expect because as each character is scanned against the list, the exclude will be "false" at a different point from where the match would be true.  It might be easier to see without a list...
 
   *(foo&(^barfoo))

would still match "barfoo" because at the point where "foo" is true "barfoo" is, in fact, false.  Confused yet?  ;-)






 
 

hpguru

  • Sr. Member
  • ****
  • Posts: 257
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://lightning.prohosting.com/~hpguru/
    • Email
List Excludes
« Reply #7 on: August 28, 2002, 10:21:36 PM »
quote:

Confused yet?  ;-)



No but I need all the help I can get!

Thanks Scott. I'll take that and see what I can come up with. Currently I'm using an exclude list but that is slowing me down too much.

Facing each other,
a thousand miles apart.
Facing each other,
a thousand miles apart.