Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Coming Attraction: "Kill Files" (Ignore and more)

Posted on 06/19/2002 4:43:21 PM PDT by John Robinson

Many familar with USENET News may have heard of the killfile, or of killfiling someone. A killfile is simply a list of names you wish to ignore. Any posts with a matching name in the killfile are discarded, unread.

The Focus software will have the ability to killfile posters, or in other words, the often requested "Ignore" feature.

However, Focus killfiles will be much more.

First, a little info about how the posting software works. When a post is made, a number of records are placed onto a list. This list is the source data for the Self-Search routine among other things. Each record is associated with a comment, but a comment can have any number of such records. The record associates a user with a comment, and also notes how the association is made. This association field is similar to what you might see in a mail program. There are 'From' and 'To' associations, as well as 'CC' and 'BCC' associations. Each mean something different, but all associate a user with a comment.

FROM - The user who posted the comment.

TO - A user mentioned in the "To:" field.

CC - This will be reserved for bumps. It's currently not used.

BCC - This will be used for concealed bumps. Have a long bump list? Use BCC and conserve screen real estate!

The Focus version of the killfile will operate on these associations. This is the "What". You will be able to ignore all bumps (CCs) 'in some particular context'.

The "Context" is the magic, it defines when you ignore "What".

Want to ignore bumps? "What" = "bumps", "Context" = "all".

Want to ignore all posts involving you on a particular thread? "What" = anything, "Context" = some thread.

Want to ignore all posts from some user? "What" = anything, "Context" = some user

Or just their bumps? "What" = "bumps", "Context" = some user.

BUT WAIT, THERE'S MORE ...

Not only will you be able to describe what you want to ignore, you will also be able to describe other actions as well. An "Action" is one of: Ignore, Deny, Allow, or Promote.

IGNORE -- silently discard the comment from your self-search

DENY -- informs the user that you do not wish to receive such-and-such.

ALLOW -- accepts the comment into your self-search.

PROMOTE -- accepts and flags the comment. Want special notice of anything JohnRob bumps to you? "What" = "Bump"; "Context" = "user John Robinson"; "Action" = "Promote"

You can specifically "ALLOW" comments because you can set defaults. You can setup your defaults to never allow bumps from anyone. And then further instruct the software to allow bumps from JohnRob. The more specific defined rule wins.

Now, I should note that IGNORED or DENIED comments are still accessible. It will take an extra click to get to these, but that will not be a problem because you didn't want to see them in the first place.

Additionally, you will be able to delete individual comments from your Self-Search, or even wipe the slate completely.

These features are not yet ready, I have some footwork to do before I go there, but this is what is in store for you.

Of related interest, we will have the ability to WATCH various things. A separate list will allow us to know, via automatic BCC bump, any new thread posted to your favorite forum. The watch list is further out yet, but will be a reality as time permits.


TOPICS: Focus Software
KEYWORDS: killfiles
Navigation: use the links below to view more comments.
first 1-2021-4041-6061-69 next last

1 posted on 06/19/2002 4:43:21 PM PDT by John Robinson
[ Post Reply | Private Reply | View Replies]

To: John Robinson
Wow I do not know how I feel about that..could be no one will want to talk to me John..I just read on another forum that FR is not allowing graphics anymore is that true?
2 posted on 06/19/2002 4:46:46 PM PDT by RnMomof7
[ Post Reply | Private Reply | To 1 | View Replies]

To: John Robinson
I may also have a DISSUADE action, which is similar to DENY but gives the user an option to do it anyway. It will say, in effect, something similar to "I do not like receiving bumps, this better be good."
3 posted on 06/19/2002 4:47:57 PM PDT by John Robinson
[ Post Reply | Private Reply | To 1 | View Replies]

To: RnMomof7
Not allowing graphics? Not true!
4 posted on 06/19/2002 4:48:30 PM PDT by John Robinson
[ Post Reply | Private Reply | To 2 | View Replies]

To: John Robinson
Thanks...I didn't think so

Nice of you to talk to me:>)

5 posted on 06/19/2002 4:49:56 PM PDT by RnMomof7
[ Post Reply | Private Reply | To 4 | View Replies]

To: John Robinson
*AHEM* The ignore feature will also need to IGNORE comments in-thread and Freepmail too. That will be handled similarly.
6 posted on 06/19/2002 4:51:31 PM PDT by John Robinson
[ Post Reply | Private Reply | To 1 | View Replies]

To: John Robinson
How totally funked up does your table design look?
7 posted on 06/19/2002 4:54:27 PM PDT by smith288
[ Post Reply | Private Reply | To 6 | View Replies]

To: John Robinson
Oh my , there was a thread just last night where a Freeper was asking how he could do something that was very similar to what you seem to be describing.

We gave him a hard time!

8 posted on 06/19/2002 5:02:26 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 1 | View Replies]

To: Dick Vomer
ping!
9 posted on 06/19/2002 5:05:15 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 8 | View Replies]

To: John Robinson
Does this mean that I will be able to ignore my own posts in my self-search list, so that I see only the responses, and not my own posts?
10 posted on 06/19/2002 5:08:08 PM PDT by Atlas Sneezed
[ Post Reply | Private Reply | To 1 | View Replies]

To: snopercod; Grampa Dave; Carry_Okie; okie01; d14truth; John Jorsett; daviddennis
ping!
11 posted on 06/19/2002 5:08:16 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 9 | View Replies]

To: Beelzebubba
Does this mean that I will be able to ignore my own posts in my self-search list, so that I see only the responses, and not my own posts?

That would be excellent. If one posts an article that gets a lot of response you lose sight of pings that you would like to see!

A lot of time is wasted just trying to find replys to you that you have not responded to!

12 posted on 06/19/2002 5:13:58 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 10 | View Replies]

To: smith288
Not bad, really.

There is a comment table, a comment_user table with the comment-to-user associations, and a killfile table.


create table killfile (
    kf_rule_id int unsigned not null auto_increment primary key,
    kf_owner_uid mediumint unsigned not null,
    kf_action enum('ignore', 'deny', 'dissuade', 'allow', 'promote') not null,
    kf_what enum('all', 'from', 'to', 'replied', 'cc', bcc') not null,
    kf_context enum('user', 'forum', 'thread', 'comment') not null,
    kf_context_id int unsigned not null,

    index owner (kf_owner_uid, kf_context, kf_context_id)
);
When a post is made, and the program is writing the comment-to-user table, it will consult the kf_rule table where kf_owner_uid = the target user, and kf_context will be, in turn, the current thread, the current forum, the current user, etc.

Mind you none of this lives as real code just yet. It's still on my scratch book for the most part.

13 posted on 06/19/2002 5:15:42 PM PDT by John Robinson
[ Post Reply | Private Reply | To 7 | View Replies]

To: John Robinson
That is perl code?
14 posted on 06/19/2002 5:18:41 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 13 | View Replies]

To: smith288
kf_context also has an 'all' in that enum. And the value of kf_action, if found, is used to adjust the fate of a marker on the comment_user table. Regardless of what is in the killfile, a record will be written to comment_user-- that table is used for much more than self-search. The marker field will, however, be included in the self-search indexes.
15 posted on 06/19/2002 5:22:20 PM PDT by John Robinson
[ Post Reply | Private Reply | To 7 | View Replies]

To: Ernest_at_the_Beach
SQL. MySQL to be exact.
16 posted on 06/19/2002 5:22:40 PM PDT by John Robinson
[ Post Reply | Private Reply | To 14 | View Replies]

To: Ernest_at_the_Beach
Perl code looks more like:


sub get_reply {
    my $reply = {};

    $reply->{text} = $Focus::r->cgi->param('reply');
    if ($reply->{text} =~ m#<\w+(?:.|\n)*>#i) {  # MAGIC
        $reply->{text} = html_filter($reply->{text});
    }
    else {
        $reply->{text} = html_format($reply->{text});
    }

    my $l = new Focus::UserLookup;

    $l->lookup($Focus::r->cgi->param('name'));

    $reply->{rcpt_string} = $l->lookup_string;
    $reply->{rcpt_list}   = $l->lookup_list;

    if ($reply->{text} !~ /\S/) {
        push @{$reply->{errors}}, "Enter a reply.";
    }

    push @{$reply->{errors}}, map { $_->{text} } $l->errors if $l->errors;

    $reply;
}
Scared ya, didn't I?
17 posted on 06/19/2002 5:28:21 PM PDT by John Robinson
[ Post Reply | Private Reply | To 14 | View Replies]

To: John Robinson
Oops. kf_rule table == killfile in the example.
18 posted on 06/19/2002 5:31:23 PM PDT by John Robinson
[ Post Reply | Private Reply | To 13 | View Replies]

To: John Robinson
Yes, you done good there.

Doesn't look like COBOL or FORTRAN!

19 posted on 06/19/2002 5:32:29 PM PDT by Ernest_at_the_Beach
[ Post Reply | Private Reply | To 17 | View Replies]

To: John Robinson
Im the kind of guy who will just make it with access and tinker until it is the way i want it. Is that your type of scratch pad or is it physical paper?
20 posted on 06/19/2002 5:35:38 PM PDT by smith288
[ Post Reply | Private Reply | To 13 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041-6061-69 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson