Article View: news.software.readers
Article #232222Re: [MP Gravity] feature request
From: Tom B.
Date: Sun, 05 Apr 2009 05:08
Date: Sun, 05 Apr 2009 05:08
98 lines
5906 bytes
5906 bytes
frag <news4@ukrm.co.uk> wrote ... > > Tom B. wibbled... > > > > Rom <-@-.invalid> wrote ... > > > > [...] > > > > > > So, .. the best solution seems to be: let > > > > the user set a token or FQDN. For those that don't want to bother, > > > > you still need a default RHS. So either "whatever.invalid" OR > > > > omitting the server and using the host domain could work for RHS. > > > > > > Unless there's something I'm not aware of that Gravity can do/does > > > with sent articles with a MID currently generated by Gravity in the > > > Outbox, then leaving MID generation to the server would probably be > > > good as the default, instead of Gravity generating MIDs as now. And > > > also allow overriding with a FQDN or whatever for those users that > > > know where to look and want to. > > > > Setting the default message-ID to server generated might create a > > problem as it stands now. I have a vague recollection that it > > breaks the "replies to my message recognition." I'll have to dig up > > that info and/or do a little testing. But if we can implement the > > above properly, it should not be an issue later. I know Gravity is > > not your default reader. Thanks for the comments. BTW, I checked and letting the server generate the ID *does* break the "replies to my messages". Well not actually break it, it just won't recognize replies to your posts. > I'll have to have a look at the NNTP protocol as I can't remember right > now, but if you let the server generate the message ID I *think* it > tells you the generated message ID right after it accepts an article. Right, the server returns a recommended MID, and after it accepts the post, it returns the message ID. Here is the NIN trace, when letting the server assign the ID: send: 50 4f 53 54 0d 0a POST read- 33 34 30 20 4f 6b 2c 20 72 65 63 6f 6d 6d 65 6e 340 Ok, recommen 64 65 64 20 49 44 20 3c 37 33 70 6d 35 31 46 76 ded ID <73pm51Fv 6f 73 68 37 55 31 40 6d 69 64 2e 69 6e 64 69 76 osh7U1@mid.indiv 69 64 75 61 6c 2e 6e 65 74 3e 0d 0a idual.net> [... trim send article] read- 32 34 30 20 41 72 74 69 63 6c 65 20 70 6f 73 74 240 Article post 65 64 20 3c 37 33 70 6d 35 31 46 76 6f 73 68 37 ed <73pm51Fvosh7 55 31 40 6d 69 64 2e 69 6e 64 69 76 69 64 75 61 U1@mid.individua 6c 2e 6e 65 74 3e 0d 0a l.net> > If that is the case then Gravity might be able to use that MID to keep > track of the users own messages. I say might as I haven't had a look at > that bit of code, it might simply append a token into the client > generated MID and use that token to track the users posts, in which case > remmebering the server generated MIDs will require re-coding that part > and storing those MIDs somewhere. Gravity does that now (well sort of). Currently, Gravity stores the posted MIDs in ArtIDs.dat in newsdb. These are the MIDs used to recognize replies (for rules and filters). But for some reason, it only writes Gravity - generated MIDs, not server generated IDs. > Alternatively we can have a simple check box "Highlight your own posts" > which can simply auto generate a token for use in MID and use that to > track, with an option for the user to override the auto generation so it > can be set completely so the tracking will work in any news reader that > uses the same mechanism. Recognizing the users own posts is trivial now. Its the replies to them that is the hard part. Gravity looks through the references, looking for the IDs stored in ArtIDs.dat so you can use that in a rule or filter and do whatever you want with a reply - score it, show an alert, add to the watch list, include it in a filter, etc. But as I noted, server generated IDs are not written to ArtIDs.dat. The only mechanism used by other readers is the reference IDs like Gravity does. > If the user doesn't want their own posts highlighted Gravity lets the > server generate the MIDs and doesn't do anything with them. I guess it would be too good to be true if you can simply write the server-returned MIDs in ArtIDs.dat with the Gravity-generated IDs, thereby preserving, even improving, the replies rule/filter condition. -- Tom B. * * * Gravity Web Pages * * * http://mpgravity.sourceforge.net/ http://gravity.tbates.org/ http://lightning.prohosting.com/~tbates/gravity/
Technical Details
Message-ID:
<MPG.244206e0f37bfa79989747@news.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<MPG.243a16f4e737e197989686@news.solani.org> <MPG.243a1277d00a0f57989737@news.individual.net> <MPG-Thanks-5042-Tom-B-10129110c@emteedee.invalid> <MPG.243eca838d4810f698973a@news.individual.net> <1kl20r60lp1bj$.kv4hi2k6tcuy$.dlg@40tude.net> <MPG.244076dd27c3ddf998973e@news.individual.net> <1ibtpx006m2k0$.edevssmfgujl$.dlg@40tude.net> <MPG.24409ebfc46ed03989740@news.individual.net> <geoqn7rmbrl2.zboxlbgk7u0.dlg@40tude.net> <MPG.244165bfdbfa76d3989741@news.individual.net> <gr8q4u$u9c$1@mail.ukrm.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <MPG.244206e0f37bfa79989747@news.individual.net> Subject: Re: [MP Gravity] feature request Date: Sun, 5 Apr 2009 01:08:35 -0400 From: Tom B. <nfn03862@naples.net> References: <MPG.243a16f4e737e197989686@news.solani.org> <MPG.243a1277d00a0f57989737@news.individual.net> <MPG-Thanks-5042-Tom-B-10129110c@emteedee.invalid> <MPG.243eca838d4810f698973a@news.individual.net> <1kl20r60lp1bj$.kv4hi2k6tcuy$.dlg@40tude.net> <MPG.244076dd27c3ddf998973e@news.individual.net> <1ibtpx006m2k0$.edevssmfgujl$.dlg@40tude.net> <MPG.24409ebfc46ed03989740@news.individual.net> <geoqn7rmbrl2.zboxlbgk7u0.dlg@40tude.net> <MPG.244165bfdbfa76d3989741@news.individual.net> <gr8q4u$u9c$1@mail.ukrm.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 98 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net e5y/n48WpggFvHCJiH/hSwbaoZqHykLJWapuPtKG0bchNuIHY= Cancel-Lock: sha1:NuV+Yk2atvEKX8R2nx4Aw+nixc0= User-Agent: MicroPlanet-Gravity/2.80.0