Thread View: news.software.nntp
7 messages
7 total messages
Started by Tony Rentschler
Sat, 29 May 1999 00:00
INN - Filter outbound articles
Author: Tony Rentschler
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
14 lines
1253 bytes
1253 bytes
I'd like to apply a filter to articles as they are sent to a client newsreader and I was wondering if INN/nnrdp currently has a place where I can hook in a script or C library to do this. This would be like like filter_nnrpd.pl, but for articles headed in the opposite direction. I'd like to filter out certain articles within a group, based on the reader. Thanks. -- Tony Rentschler Senior Software Engineer The Associated Press
Re: INN - Filter outbound articles
Author: greg andruk
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
32 lines
2091 bytes
2091 bytes
Greg Andrews <gerg@shell1.ncal.verio.com> writes: > Tony Rentschler <t.rentschler@worldnet.att.net> writes: >> I'd like to apply a filter to articles as they are sent to a client >> newsreader and I was wondering if INN/nnrdp currently has a place where >> I can hook in a script or C library to do this. This would be like like >> filter_nnrpd.pl, but for articles headed in the opposite direction. I'd >> like to filter out certain articles within a group, based on the reader. > ^^^^^^^^^^^^^^^^^^^ > How do you propose to discover what newsreader is being used by > the user? Authinfo's enough. You just need to know who's logged in, not what they're usng. > Are you planning to filter the Overview data as well? Either way > the newsreader will report that articles are missing from the spool, > causing endless complaints from users. Not if the user requests the filter. See, for example, what AOL's doing with NoCeM and alt.net does with crossposts. > The best solutions I'm aware of are to put the content you don't > want the user to see into another group and block the user's access > to the group, or Clarinet's technique of not sending the articles > to the news server in the first place. But then it affects everyone whether they want it or not.
Re: INN - Filter outbound articles
Author: Greg Andrews
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
24 lines
1751 bytes
1751 bytes
Tony Rentschler <t.rentschler@worldnet.att.net> writes:
>
>I'd like to apply a filter to articles as they are sent to a client
>newsreader and I was wondering if INN/nnrdp currently has a place where
>I can hook in a script or C library to do this. This would be like like
>filter_nnrpd.pl, but for articles headed in the opposite direction. I'd
>like to filter out certain articles within a group, based on the reader.
^^^^^^^^^^^^^^^^^^^
How do you propose to discover what newsreader is being used by
the user?
Are you planning to filter the Overview data as well? Either way
the newsreader will report that articles are missing from the spool,
causing endless complaints from users.
The best solutions I'm aware of are to put the content you don't
want the user to see into another group and block the user's access
to the group, or Clarinet's technique of not sending the articles
to the news server in the first place.
-Greg
Re: INN - Filter outbound articles
Author: greg andruk
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
21 lines
1658 bytes
1658 bytes
Tony Rentschler <t.rentschler@worldnet.att.net> writes: > I'd like to apply a filter to articles as they are sent to a client > newsreader and I was wondering if INN/nnrdp currently has a place > where I can hook in a script or C library to do this. This would be > like like filter_nnrpd.pl, but for articles headed in the opposite > direction. I'd like to filter out certain articles within a group, > based on the reader. I've got some k0dez to do this sort of thing, but am holding off until the traditional spool and NOV replacements are integrated. The current dual personality makes it a hairy mess, and there's not much point in hacking even the current storage API buffer stuffer right now when it's poised to change. You might be able to make some use of nfilter here, for now. It's currently designed to run on the client, but a bit o' forking could convince it otherwise. See <URL:www.icarus-software.com/nfilter/index.html>
Re: INN - Filter outbound articles
Author: Tony Rentschler
Date: Sat, 29 May 1999 00:00
Date: Sat, 29 May 1999 00:00
41 lines
2627 bytes
2627 bytes
greg andruk wrote: > > Greg Andrews <gerg@shell1.ncal.verio.com> writes: > > > Tony Rentschler <t.rentschler@worldnet.att.net> writes: > >> [snip] > >> I'd like to filter out certain articles within a group, based on the reader. > > ^^^^^^^^^^^^^^^^^^^ > > > How do you propose to discover what newsreader is being used by > > the user? > > Authinfo's enough. You just need to know who's logged in, not what > they're usng. Right - I meant reader as in user, not the newsreader software. To read the filtered groups, the user will have to log in. > > > Are you planning to filter the Overview data as well? Either way > > the newsreader will report that articles are missing from the spool, > > causing endless complaints from users. > > Not if the user requests the filter. See, for example, what AOL's > doing with NoCeM and alt.net does with crossposts. > > > The best solutions I'm aware of are to put the content you don't > > want the user to see into another group and block the user's access > > to the group, or Clarinet's technique of not sending the articles > > to the news server in the first place. > > But then it affects everyone whether they want it or not. I can't do what I want just with groups. Say I'm putting baseball stories in a group, even if I break it down by league, team, or maybe even game, I still may not want all my readers to see all the stories in a particular group. So I have to be able to select who gets what as they request an article. But you're right, they also shouldn't be able to see the header of an article they can't have.
Re: INN - Filter outbound articles
Author: Greg Andrews
Date: Tue, 01 Jun 1999 00:00
Date: Tue, 01 Jun 1999 00:00
45 lines
2856 bytes
2856 bytes
Tony Rentschler <t.rentschler@worldnet.att.net> writes: >Greg Andrews <gerg@shell1.ncal.verio.com> writes: >> >> The best solutions I'm aware of are to put the content you don't >> want the user to see into another group and block the user's access >> to the group, or Clarinet's technique of not sending the articles >> to the news server in the first place. > >I can't do what I want just with groups. Say I'm putting baseball >stories in a group, even if I break it down by league, team, or maybe >even game, I still may not want all my readers to see all the stories in >a particular group. So I have to be able to select who gets what as they >request an article. But you're right, they also shouldn't be able to see >the header of an article they can't have. > If you can't use newsgroup access, then it sounds like you're facing the very same problem that Clarinet faced. Their solution (unless they've changed it since '96) was to not feed the articles to the subscriber's server that the subscriber's users weren't supposed to see. I.e. an entire site purchased Otherwise, you're going to have to seriously hack the NNTP reader daemon to look up the user in a database and find out what access level they have. Then when the user selects a group, the daemon will have to look up which articles are visible to the user's access level. Then the daemon will have to filter out unwanted threading data and articles sent to the user. And that user will *still* be told by their newsreader that there are articles missing from the group. (i.e. the article numbers will skip from 4 to 8, with 5, 6, and 7, marked as missing) This will generate complaints. What I'm trying to say is: What you're trying to do is very hard with standard Usenet servers and readers. There are ways to get the basic functionality, but the details will still bite you. You might be better off using a different storage method and user interface. -Greg
Re: INN - Filter outbound articles
Author: Tony Rentschler
Date: Tue, 01 Jun 1999 00:00
Date: Tue, 01 Jun 1999 00:00
57 lines
2971 bytes
2971 bytes
This is a multi-part message in MIME format. --------------08B1C90E95B88997CCABE389 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greg Andrews wrote: > > If you can't use newsgroup access, then it sounds like you're facing > the very same problem that Clarinet faced. Their solution (unless > they've changed it since '96) was to not feed the articles to the > subscriber's server that the subscriber's users weren't supposed to > see. I.e. an entire site purchased > > Otherwise, you're going to have to seriously hack the NNTP reader > daemon to look up the user in a database and find out what access > level they have. > What I'm trying to say is: What you're trying to do is very hard > with standard Usenet servers and readers. There are ways to get > the basic functionality, but the details will still bite you. > You might be better off using a different storage method and user > interface. I've pretty much come to the same conclusions you've noted above. However, I am actually generating the articles with a program (they're news stories, not Usenet articles), so I thought I could insert a special "X-" header field with routing info in it, then run the articles through a filter (such as the latest DNews has) as they move downstream. This would mean that groups containing articles with the extra field would be used for feeding only, not browsing, and that I'd need to set up some number of specialized downstream feeds to handle clients with different entitlements. --------------08B1C90E95B88997CCABE389 Content-Type: text/x-vcard; charset=us-ascii; name="trentschler.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Tony Rentschler Content-Disposition: attachment; filename="trentschler.vcf" begin:vcard n:Rentschler;Tony tel;fax:(212) 621-1512 tel;work:(212) 621-1985 x-mozilla-html:FALSE adr:;;50 Rockefeller Plaza;New York;NY;10020; version:2.1 email;internet:trentschler@ap.org title:Senior Software Engineer x-mozilla-cpt:;-20576 fn:Tony Rentschler end:vcard --------------08B1C90E95B88997CCABE389--
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