Thread View: news.software.readers
8 messages
8 total messages
Started by King of the R.O.U.S.'s
Tue, 01 Jul 2008 15:03
40tude Filter on body content?
Author: King of the R.O.U.S.'s
Date: Tue, 01 Jul 2008 15:03
Date: Tue, 01 Jul 2008 15:03
10 lines
1676 bytes
1676 bytes
Hi All Is there any way to mark posts as ignore depending on content in the body of the post (namely all the blogspot.com SPAM)? I tried using Body in the filter but without success. Is there a way to do this? And if so, how? ~Inigo
Re: 40tude Filter on body content?
Author: Ryoma
Date: Tue, 01 Jul 2008 18:59
Date: Tue, 01 Jul 2008 18:59
12 lines
2716 bytes
2716 bytes
On Tue, 1 Jul 2008 16:03:50 +0100, *King of the R.O.U.S.'s* wrote:
> Is there any way to mark posts as ignore depending on content in the body
> of the post (namely all the blogspot.com SPAM)?
http://www.40tude.com/dialog/wiki/index.php/ScriptXBody
--
Ryoma
ICQ#41121680
ScarletBook
@2590@
Re: 40tude Filter on body content?
Author: King of the R.O.U.S.'s
Date: Wed, 02 Jul 2008 18:36
Date: Wed, 02 Jul 2008 18:36
14 lines
2043 bytes
2043 bytes
Ryoma wrote: > On Tue, 1 Jul 2008 16:03:50 +0100, *King of the R.O.U.S.'s* wrote: > >> Is there any way to mark posts as ignore depending on content in the body >> of the post (namely all the blogspot.com SPAM)? > > http://www.40tude.com/dialog/wiki/index.php/ScriptXBody OK, looks great, but I can't see any instructions on what to do with this or how to use it once it's where it's meant to be. Would somebody be good enough to give me a little more direction with this please. ~Inigo
Re: 40tude Filter on body content?
Author: Blinky the Shark
Date: Wed, 02 Jul 2008 19:00
Date: Wed, 02 Jul 2008 19:00
26 lines
2353 bytes
2353 bytes
King of the R.O.U.S.'s wrote:
> Ryoma wrote:
>
>> On Tue, 1 Jul 2008 16:03:50 +0100, *King of the R.O.U.S.'s* wrote:
>>
>>> Is there any way to mark posts as ignore depending on content in the body
>>> of the post (namely all the blogspot.com SPAM)?
>>
>> http://www.40tude.com/dialog/wiki/index.php/ScriptXBody
>
> OK, looks great, but I can't see any instructions on what to do with
> this or how to use it once it's where it's meant to be. Would somebody
> be good enough to give me a little more direction with this please.
Have you looked at Dialog's sample rules? (I'm not sure if a body rule
is present there and I don't have up right now the system on which I have
Dialog, but it's conceivable.)
--
Blinky
Is your ISP dropping Usenet?
Need a new feed?
http://blinkynet.net/comp/newfeed.html
Re: 40tude Filter on body content?
Author: Ryoma
Date: Wed, 02 Jul 2008 19:08
Date: Wed, 02 Jul 2008 19:08
34 lines
3263 bytes
3263 bytes
On Wed, 2 Jul 2008 19:36:37 +0100, *King of the R.O.U.S.'s* wrote:
> OK, looks great, but I can't see any instructions on what to do with
> this or how to use it once it's where it's meant to be. Would somebody
> be good enough to give me a little more direction with this please.
First then all you obviously have to retrieve all bodies, not
only headers.
Try this replacing WHATYOUNEED with a word:
program OnBeforeSavingMessage;
const parola_body='WHATYOUNEED';
const maxint=2147483647;
var k:integer;
z:string;
begin
BuildPostText(Message, IsEmail);
z:=message.text;
k:=pos(parola_body,z);
if k > 0 then message.insert (1, 'X-Body: WHATYOUNEED');
end;
begin;
end.
--
Ryoma
ICQ#41121680
ScarletBook
@2591@
Re: 40tude Filter on body content?
Author: King of the R.O.U.S.'s
Date: Tue, 08 Jul 2008 23:13
Date: Tue, 08 Jul 2008 23:13
10 lines
1963 bytes
1963 bytes
Blinky the Shark wrote: > Have you looked at Dialog's sample rules? (I'm not sure if a body rule > is present there and I don't have up right now the system on which I have > Dialog, but it's conceivable.) Yup, first place I looked (after just trying and hoping for the best LOL). ~Inigo
Re: 40tude Filter on body content?
Author: King of the R.O.U.S.'s
Date: Tue, 08 Jul 2008 23:18
Date: Tue, 08 Jul 2008 23:18
38 lines
2439 bytes
2439 bytes
Ryoma wrote: > First then all you obviously have to retrieve all bodies, not > only headers. No problem with that, just want to avoid having to read them all the time. > Try this replacing WHATYOUNEED with a word: So do I replace this with what I want to avoid, or a keyword to use in the filter? > program OnBeforeSavingMessage; > > const parola_body='WHATYOUNEED'; > const maxint=2147483647; > var k:integer; > z:string; > > begin > BuildPostText(Message, IsEmail); > > z:=message.text; > k:=pos(parola_body,z); > if k > 0 then message.insert (1, 'X-Body: WHATYOUNEED'); > > end; > begin; > end. What do I do with this? Where do I put it? I'm OK with filters (Usually) but this is rather out of my league. Thanks BTW :^> ~Inigo
Re: 40tude Filter on body content?
Author: Ryoma
Date: Wed, 09 Jul 2008 17:56
Date: Wed, 09 Jul 2008 17:56
16 lines
3114 bytes
3114 bytes
On Wed, 9 Jul 2008 00:18:04 +0100, *King of the R.O.U.S.'s* wrote:
> What do I do with this? Where do I put it? I'm OK with filters
> (Usually) but this is rather out of my league.
That is called a script, precisely an "Event script" as in
Settings/Scripting... You have to copy/taste it in
OnBeforeSavingNessage then compile and reload all scripts.
It simply finds the word you're looking. While filters search in
headers this script searches in body.
--
Ryoma
ICQ#41121680
ScarletBook
@2592@
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads