Thread View: news.software.nntp
4 messages
4 total messages
Started by gmwils
Fri, 19 Nov 1999 00:00
Inn patch for header only feed?
Author: gmwils
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
18 lines
1339 bytes
1339 bytes
Does anyone have a reasonably stable patch for inn/innfeed that will allow me
to offer a header only feed to my dreaderd boxen? By stable, I am happy to use
something that has been working for someone for over a month ;)
I'm using INN 2.2.1 under Linux 2.0.x using CNFS.
Much appreciated,
Geoff
btw. is there plans/timeline for this feature being included in INN? 2.3?
--
a paranoid is just someone with all of the facts at his disposal
- william seaward burroughs 1914-1997
Geoff M. Wilson <gmwils@zark.thedonkeys.org> www.zark.thedonkeys.org/~gmwils
Re: Inn patch for header only feed?
Author: Kai 'wusel' Siering
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
50 lines
3116 bytes
3116 bytes
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> wrote: % } Does anyone have a reasonably stable patch for inn/innfeed that will allow me % } to offer a header only feed to my dreaderd boxen? By stable, I am happy to use % } something that has been working for someone for over a month ;) % } % } I'm using INN 2.2.1 under Linux 2.0.x using CNFS. % % I don't think it's so difficult to do it. Changing % second argument for SMretrieve() in innfeed/article.c % to RETR_HEAD would help you. Err, you need to send control messages completely, and the headers need a "Bytes:" header -- quoting diablo-1.24-REL/README.READER: | DIABLO READER SUPPORT | | Diablo now has a reader module, dreaderd, which operates independantly | from the feeder. It implements the full NNTP command set and is | designed to maintain overview and an article cache based on a single | full or header-only feed supplied by a remote entity. If a full feed | is supplied, the reader module throws the body away since the feed is only | used to generate overview records. The reader module does NOT maintain | a history file, so you should only give it a single feed. If a header-only | feed is used, it is required to includes a Bytes: header in every article | and is required to include the entire article body for control messages. | The Diablo feeder is capable of outputing header-only feeds. [...] % } btw. is there plans/timeline for this feature being included in INN? 2.3? % % I think this kind of feed needs an nntp extension. I As already stated, it's "mode headfeed". Since I need this extension RSN, I'm going to patch innfeed some way or the other; if others are also working on this, I'd like to hear from you ;) (I intend to make this run-time configurable like streaming unless proven to be inefficient. Comments to this ap- proach apreciated; FollowUp-To: changed to poster for this reason.) kai -- Kai 'wusel' Siering eMail @ home: wusel@uu.org Traveller on the Information Highway doing full-time administration. The views expressed here are not neccessarily those of any employer. - Looking for peers for several non-european national TLHs, please - - contact me for details so we can arrange a peering. -
Re: Inn patch for header only feed?
Author: Katsuhiro Kondou
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
23 lines
1839 bytes
1839 bytes
In article <812atb$6qb$1@mired.zark.thedonkeys.org>, gmwils@zark.thedonkeys.org wrote; } Does anyone have a reasonably stable patch for inn/innfeed that will allow me } to offer a header only feed to my dreaderd boxen? By stable, I am happy to use } something that has been working for someone for over a month ;) } } I'm using INN 2.2.1 under Linux 2.0.x using CNFS. I don't think it's so difficult to do it. Changing second argument for SMretrieve() in innfeed/article.c to RETR_HEAD would help you. } btw. is there plans/timeline for this feature being included in INN? 2.3? I think this kind of feed needs an nntp extension. I am not going to introduce it into CURRENT tree until it's defined. I think it should be done thru another negotiaion like 'mode header'. -- Katsuhiro Kondou
Re: Inn patch for header only feed?
Author: bill davidsen
Date: Mon, 22 Nov 1999 00:00
Date: Mon, 22 Nov 1999 00:00
32 lines
2129 bytes
2129 bytes
In article <812hlh$hb8$1@inn.do.mms.mt.nec.co.jp>,
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> wrote:
| I don't think it's so difficult to do it. Changing
| second argument for SMretrieve() in innfeed/article.c
| to RETR_HEAD would help you.
|
| } btw. is there plans/timeline for this feature being included in INN? 2.3?
|
| I think this kind of feed needs an nntp extension. I
| am not going to introduce it into CURRENT tree until
| it's defined. I think it should be done thru another
| negotiaion like 'mode header'.
This is something the sending site can set, there's no need to
negotiate. I can currently set non-streaming and get that, or set limits
to disable no-check mode, so why not control header only at the sending
end?
I realize that having the sender offer header only mode is desirable,
but it shouldn't be a big thing to allow the feeding host to add
something like feed-mode {full,header,auto} to a site description. I
left auto in there to indicate that the feder offers it like streaming,
so any accepted extension to NNTP could be used, but not required.
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.
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