Thread View: news.software.readers
4 messages
4 total messages
Started by Roy DeRousse
Sat, 26 Jul 1997 00:00
Gravity: Decode Binary Rule - Fallible?
Author: Roy DeRousse
Date: Sat, 26 Jul 1997 00:00
Date: Sat, 26 Jul 1997 00:00
28 lines
1491 bytes
1491 bytes
Do I understand Gravity's built-in "Decode Binary Rule" correctly? The condition is: Subject contains reg. expr. "[0-9]+/[0-9]+" If I understand this correctly, it says "Match headers that have one or more digits, followed by a slash, followed by one or more digits." Thus, it finds headers like "penguin.jpg [1/1]," the "[1/1]" being a common convention to indicate what part of a multi-part message that header belongs to. (My example is not a multi-part binary at all; it means part one of one.] That is all well and good, but there is nothing that FORCES the person posting to follow that convention. He could have a header titled "xyz" and still have penguin.jpg attached to it, yet this Gravity rule would never find it! If I am correct, is there any other more sure way to find messages with binary attachments? Thanks! -- Have fun! Roy DeRousse (relayer@iname.com) St. Louis, Missouri, USA
Re: Gravity: Decode Binary Rule - Fallible?
Author: David G. Goggin
Date: Sun, 27 Jul 1997 00:00
Date: Sun, 27 Jul 1997 00:00
25 lines
1676 bytes
1676 bytes
In article <MPG.e445754be2e3da8989682@news.inlink.com>, relayer@iname.com says... > > If I am correct, is there any other more sure way to find messages with > binary attachments? Thanks! > Yes, you're correct, and no, there's no sure fire way to tell from headers if the article contains an encoded file. You can modify this rule to better suit the article headers you typically see, or you can just select the headers you know have an encoded file and decode them manually with Ctrl-M. Also, theres no harm really in trying to decode an article that doesn't have an encoded file. You'll just see an "X" appear in the header's status column. Doesn't mean anything, just it couldn't find anything it could decode. So you could, I think, make the Decode Binary rule much more general and not really have to worry if it winds up trying to decode articles that don't have any encoded stuff in them. -- David G. Goggin -- goggin@gte.net
Re: Gravity: Decode Binary Rule - Fallible?
Author: Roy DeRousse
Date: Thu, 31 Jul 1997 00:00
Date: Thu, 31 Jul 1997 00:00
13 lines
1025 bytes
1025 bytes
Thanks, David. I found out about the "x" meaning "couldn't decode" too. Like you say - no big deal. I have changed my "decode binary" rule to check for the number of lines (150 or so) instead of looking for [x/x] in the header. Seems to work pretty well. -- Have fun! Roy DeRousse (relayer@iname.com) St. Louis, Missouri, USA
Re: Gravity: Decode Binary Rule - Fallible?
Author: David G. Goggin
Date: Fri, 08 Aug 1997 00:00
Date: Fri, 08 Aug 1997 00:00
15 lines
1227 bytes
1227 bytes
In article <MPG.e4b1d059afc95c989682@netnews.worldnet.att.net>, relayer@iname.com says... > Thanks, David. I found out about the "x" meaning "couldn't decode" too. > Like you say - no big deal. I have changed my "decode binary" rule to > check for the number of lines (150 or so) instead of looking for [x/x] in > the header. Seems to work pretty well. > Glad to hear you're cruising! -- David G. Goggin -- goggin@gte.net
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