Hello Jules
On 27-Mar-01, you wrote:
> LETSGETTOIT:
>
> EDITO.1='"------------------------ Yahoo! Groups Sponsor
> ---------------------~-~>\0ADo you have 128-bit SSL encryption server
> security?\0AGet VeriSign\27s FREE Guide, \22Securing Your\0AWeb Site for
> Business.\22 Get it
>
now!\0Ahttp://us.click.yahoo.com/\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?/TM\0A---------------------------------------------------------------------_->"'
> EDITO.2='"------------------------ Yahoo! Groups Sponsor
> ---------------------~-~>\0AGet great low international calling
> rates\0Afrom Net2Phone! Click
>
Here!\0Ahttp://us.click.yahoo.com/\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?/TM\0A---------------------------------------------------------------------_->"'
> EDITO.3='"------------------------ Yahoo! Groups Sponsor
> ---------------------~-~>\0AMake good on the promise you made at
> graduation to keep\0Ain touch. Classmates.com has over 14 million
> registered\0Ahigh school alumni--chances are you\27ll find your
>
friends!\0Ahttp://us.click.yahoo.com/\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?/TM\0A---------------------------------------------------------------------_->"'
> EDITO.4='"------------------------ Yahoo! Groups Sponsor
> ---------------------~-~>\0ASecure your servers with 128-bit SSL
> encryption!\0AGrab your copy of VeriSign\27s FREE Guide,\0A\22Securing
> Your Web site for Business.\22 Get it
>
now!\0Ahttp://us.click.yahoo.com/'"\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?"'/TM\0A---------------------------------------------------------------------_->"'
> EDITO.5='"------------------------ Yahoo! Groups Sponsor
> ---------------------~-~>\0AWe give away $70,000 a month! Come to
> iWin.com for\0Ayour chance to
>
win!\0Ahttp://us.click.yahoo.com/\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?\?/TM\0A---------------------------------------------------------------------_->"'
> EDITO.6='"________________________________________________\0ADo You
> Yahoo!?\0AGet email at your own domain with Yahoo! Mail.
> \0Ahttp://personal.mail.yahoo.com/"'
> EDITO.7='"_________________________________________________________\0ADo
> You Yahoo!?\0AGet your free @yahoo.com address at http://mail.yahoo.com"'
> EDITO.8='"_____________________________________________________\0ADo You
> Yahoo!?\0AGet your free @yahoo.\?\? address at http://mail.yahoo.\?\?"'
> EDITO.9='"Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/"'
You might try this, it works here in YAM:
/**************** snipping yahoogroups ads *****************/
snip1=pos("------------------------ Yahoo! Groups Sponsor
---------------------~-~>",text)
snip2=pos("---------------------------------------------------------------------_->",text,snip1+1)+12
if snip1~=0 then do
geaendert=1
text=delstr(text,snip1,snip2-snip1)
end
/**************** snipping yahoogroups ads2 *****************/
snip1=pos("-----------------------------------------------------------",text)
snip2=pos("---------------------------------------------------------_->",text,snip1+1)+12
if snip1~=0 then do
geaendert=1
text=delstr(text,snip1,snip2-snip1)
end
Watch wrap here too. Often leaves a trailing:
---------------------------------------------------------_-> though. It
didn't with egroups, but often does with Yahoo Groups. The 2nd one does
not leave this. At any rate the adds get snipped with a lot less code.
Email me if you want to see the whole script. It's called FixAdds.yam. I
modified it from the egroups script, and I guess I did something wrong.
Regards
--
Mike Leavitt [EMAIL PROTECTED] + team Amiga +
__________________________________________________________________
MicroDot-II Mailing List - http://www.vapor.com/md2/
MicroDot-II FAQ: http://faq.vapor.com/md2/
Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP
Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE