Tom's Gravity Pages
[ HOME ] [ INDEX ]

Example Display Filters

Last fooled around with: July 28, 2001
Set up your own custom display filters under
Newsgroup > Define Filter Display > New

For a shortcut, click the FILTER button on the filter bar.

Versions 2.2 and higher add the filter condition to show the
entire thread if any article matches the filter.

Include Thread

Don't forget the "advanced" window.
You will need it to use an OR condition or regular
expression in a filter.
ALERT! You cannot use a BODY condition in
your filters. They will not work properly.

Example filters:


Show only threads with unread articles

This one is a favorite. It shows unread articles but also includes the entire thread. The only thing you need to do is make a filter to show unread articles and check the box "Include the entire thread if any article matches the filter."
Marked as unread

Show unread articles and include recent articles

View unread articles and include recent ones.
Marked as unread
Or
   (
   Not
   Posted > 1 days ago
   )

NOTE: Use the "advanced" window to get the "OR" condition.


See who is posting with Gravity

This one is just for fun (unless you have something more important to do). It isn't quite foolproof but will let you see most people who post with Gravity. It filters on the MPG, which Gravity prepends to the article message ID. Press H to see the headers and you will see what version they are using.
 Header contains reg. expr. "[M][P][G]"

Show my own posts.

 From contains "nfn03862@naples.net"

Show replies to me and include my articles.

 From contains "nfn03862@naples.net"
 Or
 In reply to my message 

Show only Gravity articles

 Subject contains "gravity"

Optional .. Add Marked as unread


Show larger articles, useful for binaries..

 Lines > 800

Or, modify it to show only unread

 Lines > 800
 And
 Marked as unread

Show new articles (helpful for locating recent posts).

While you are at it make another for 2 or 3 day. These are very useful to quickly find recently-posted articles.
 Not
 Posted > 1 days ago

Show recent scored articles.

 Not
 Posted > 1 days ago
 And
 Score > 0

Show low scored articles.

(Why? I don't know but it was requested once)
 Not
 Score > 0

Show multi-part articles

Cleans up a group with many multipart binaries.
 Subject contains reg. expr. "[0-9]+/[0-9]+"
 And
 Subject does not contain "re: "

Optional .. Add Marked as unread


Show jpg images

Subject contains ".jpg"

If you want to avoid seeing replies that don't contain an attachment add a lines condition like this.

Subject contains ".jpg"
And
Lines > 400

Show jpgs, gifs or un-named single part binaries.


 (
 Lines > 400
 And
 Subject does not contain reg. expr. "[0-9]+/[0-9]+"
 )
Or
 (
 Lines > 400
 And
    (
    Subject contains ".jpg"
    Or
    Subject contains ".gif"
    )
 )

You may need to fine tune it. But this filter shows

You can specify other file extensions the same way. Note that if you use a regular expression and want to include the period it should be escaped with a back slash, like this ..


  Subject contains reg. expr. "\.jpg|\.gif"

Show unread local

 Unread articles that are local

Show watched threads

 In a watched thread

Optional .. Add Marked as unread


Show tagged articles.

This is very handy if you like to test rules and use the tag as a user flag.
 All articles that are tagged

Show protected, for my "archives"

 All articles that are protected

Show binary descriptions

Subject contains reg. expr. "(\(|\[){1}0+/[0-9]+(\)|\])"

This filter will show only the description articles of multi-part binaries i.e. (0/4) or (00/34) 0r (000/333). Set this up under advanced and don't forget the checkbox for regular expressions. If you only want to see the unread articles use the following one.

Unread articles
And
  (
 Subject contains reg. expr. "(\(|\[){1}0+/[0-9]+(\)|\])"
  )

Back to top of page