?

Log in

No account? Create an account
Overloading the Machine -- Day [entries|friends|calendar]
johnsu01

[ website | wjsullivan.net ]
[ userinfo | livejournal userinfo ]
[ calendar | livejournal calendar ]

Cutting out the Yahoo Groups banner in Gnus [14 Sep 2006|05:10pm]

One of the nice things about Gnus is that you can have it automatically remove junk from the messages you read. Such junk includes banner advertisements at the bottom of messages. One obnoxious example is the block that gets tagged on to the bottom of every message that comes from a Yahoo! Groups mailing list. I read a few such mailing lists, including the one for del.icio.us. It looks like:

Yahoo! Groups Links                                                                                                               
                                                                                                                                                 
<*> To visit your group on the web, go to:                                                                                                       
    http://groups.yahoo.com/group/ydn-delicious/                                                                                                 
                                                                                                                                                 
<*> Your email settings:                                                                                                                         
    Individual Email | Traditional                                                                                                               
                                                                                                                                                 
<*> To change settings online go to:                                                                                                             
    http://groups.yahoo.com/group/ydn-delicious/join                                                                                             
    (Yahoo! ID required)                                                                                                                         
                                                                                                                                                 
<*> To change settings via email:                                                                                                                
    mailto:ydn-delicious-digest@yahoogroups.com                                                                                                  
    mailto:ydn-delicious-fullfeatured@yahoogroups.com                                                                                            
                                                                                                                                                 
<*> To unsubscribe from this group, send an email to:                                                                                            
    ydn-delicious-unsubscribe@yahoogroups.com                                                                                                    
                                                                                                                                                 
<*> Your use of Yahoo! Groups is subject to:                                                                                                     
    http://docs.yahoo.com/info/terms/

Ugh. A lot of times that's longer than the message itself.

So, for the groups that those messages come to, I edited the banner parameter (by typing G c on the group name) to be a regexp:

\(^Yahoo! Groups Links\(.\|                                                                                                                      
\)*http://docs\.yahoo\.com/info/terms/\)

And now I don't have to see the extra noise. This could be made more specific, but I think it's pretty safe.

hober's old post got me started.

2 comments|post comment

navigation
[ viewing | September 14th, 2006 ]
[ go | previous day|next day ]