To: Digitalman
Hello, could you please tell me what code to put into newslink to filter
out certain text strings from the entire message?
By: Jas Hud to Digitalman on Fri Nov 30 2007 12:51 pm
To: Digitalman Hello, could you please tell me what code to put into newslink to filter out certain text strings from the entire message?
Add something like:
if(body.indexOf('some text') >= 0) continue;
Somewhere around this section of code:
if(truncsp(body).length==0) { printf("Message %lu not imported (blank)\r\n",ptr); continue; }
digital man (xbox-live: digitlman)
do you think this will noticably effect the speed of polling,etc since it's scanning each message for the string(S) ?
By: Jas Hud to Digital Man on Sat Dec 01 2007 11:22 am
do you think this will noticably effect the speed of polling,etc since it scanning each message for the string(S) ?
I honestly don't know. Try it and see? :-)
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,033 |
Nodes: | 17 (0 / 17) |
Uptime: | 50:44:10 |
Calls: | 503,616 |
Calls today: | 17 |
Files: | 136,740 |
U/L today: |
1 files (2K bytes) |
D/L today: |
32,765 files (3,550M bytes) |
Messages: | 443,936 |
Posted today: | 7 |