Author Topic: Fix Alta Vista Boolean Operators (stack ver.)  (Read 937 times)

cj.

  • Full Member
  • ***
  • Posts: 135
    • ICQ Messenger -
    • AOL Instant Messenger - smithchasmel8
    • Yahoo Instant Messenger - chasmel8@yahoo.com
    • View Profile
    • Email
Fix Alta Vista Boolean Operators (stack ver.)
« on: August 19, 2001, 04:19:39 PM »
Greetings, All!

# [Begin Filter Set] --------------------------------------------
# Filter Name       : Fix Altavista Boolean Operators
# Version           : 2.0 (Stack version)
# Filter made by    : Evgeny AKA Homeric with ideas by clone
# Under Music       : Russian Songs for Children - ????????
# Date              : Tue, 20 Jun 2001
# Update            : Sat, 18 Aug 2001
# Description       : Altavista Boolean operators
# Browser           : any
# Requires          : Naoko 4 beta 5
# Comment           : Use a text editor to add this filter
# Comment           : to your current configuration. Enjoy!
#
# [Begin Notes (English)] ---------------------------------------
#
# After the reorganisation, Altavista's engine does not understand short
# boolean operators such as &(AND), &! (AND NOT), |(OR), ~(NEAR). This
# filter transforms user's request into the form that can be understood by
# Altavista's engine by replacing short boolean operators &, |, &! and ~
# with AND, OR, AND NOT and NEAR respectively.
#
# [End Notes] ---------------------------------------------------
# [Begin Filters] -----------------------------------------------

[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: Fix Altavista Boolean Operators (Out) 2nd edition"
URL = "www.altavista.com/sites/search/res_text*%(7C|7E|26)"
Match =
"(#%(7C$SET(#=OR)|7E$SET(#=NEAR)|26%21$SET(#=AND+NOT)|26$SET(#=AND)))+#"
Replace = "$JUMP(@)"

# [End Filters] -------------------------------------------------
# [End Filter Set] ----------------------------------------------



--
With best regards, Homeric
* Now playing: silence...
* Origin: Love asks faith, and faith asks firmness.--Herbert

[Special thanks to Homeric for posting this at the Yahoo Groups - prox-list forum.]



Edited by - cj. on 19 Aug 2001  17:44:05
-cj.-
______