Thread View: news.software.nntp
19 messages
19 total messages
Started by prence
Mon, 05 Mar 2001 19:07
tracking responses to my post....
Author: prence
Date: Mon, 05 Mar 2001 19:07
Date: Mon, 05 Mar 2001 19:07
8 lines
972 bytes
972 bytes
I have posted this before but could not get a very satisfactory solution. We are creating a web-gateway for usenet. How can we track (and inform users) responses made to posts posted from our site ? Thanks for your help !
Re: tracking responses to my post....
Author: A Meowbot
Date: Mon, 05 Mar 2001 19:42
Date: Mon, 05 Mar 2001 19:42
10 lines
1684 bytes
1684 bytes
In news.software.nntp, prence <prence@removethis.hotpop.com> wrote: > We are creating a web-gateway for usenet. How can we track (and inform > users) responses made to posts posted from our site ? NNTP does not support this directly. You can keep a record of all the articles users post, then scan References: headers of subsequent articles for matching Message IDs.
Re: tracking responses to my post....
Author: Terrance Richard Boyes
Date: Mon, 05 Mar 2001 19:44
Date: Mon, 05 Mar 2001 19:44
18 lines
2280 bytes
2280 bytes
In news.software.nntp prence@removethis.hotpop.com wrote: > I have posted this before but could not get a very satisfactory > solution. > We are creating a web-gateway for usenet. How can we track (and inform > users) responses made to posts posted from our site ? Check the Message-ID of the original post against the References: Now how to implement that in the client is another matter... Something like building a small database of usernames against message-ids should do. -- <URL:http://www.pierrot.co.uk/> Team AMIGA Here at the Phone Company, we serve all kinds of people; from Presidents and Kings to the scum of the earth ..."
Re: tracking responses to my post....
Author: J.B. Moreno
Date: Mon, 05 Mar 2001 21:57
Date: Mon, 05 Mar 2001 21:57
16 lines
1656 bytes
1656 bytes
<prence@removethis.hotpop.com> wrote: > I have posted this before but could not get a very satisfactory > solution. > > We are creating a web-gateway for usenet. How can we track (and inform > users) responses made to posts posted from our site ? > > Thanks for your help ! Via the Message-id and Referemces -- exact details will depend upon what you are doing now or are willing to do. -- JBM "Moebius strippers only show you their back side." -- Unknown
Re: tracking responses to my post....
Author: prence
Date: Tue, 06 Mar 2001 03:44
Date: Tue, 06 Mar 2001 03:44
27 lines
1732 bytes
1732 bytes
We can create the database locally on the client but what is the most efficient way to check (track) if a response has been posted for one of the msgs. We could be required to handle about 1000 to 10000 posts a day or more and if we keep them alive in our tracking dbase for 20 days thats 200,000 posts to keep track of. Any suggestions on how to implement this ? ------- <prence@removethis.hotpop.com> wrote: > I have posted this before but could not get a very satisfactory > solution. > > We are creating a web-gateway for usenet. How can we track (and inform > users) responses made to posts posted from our site ? > > Thanks for your help ! Via the Message-id and Referemces -- exact details will depend upon what you are doing now or are willing to do. -- JBM "Moebius strippers only show you their back side." -- Unknown
Re: tracking responses to my post....
Author: those who know me have no need o...
Date: Tue, 06 Mar 2001 05:00
Date: Tue, 06 Mar 2001 05:00
20 lines
1367 bytes
1367 bytes
<3aa45c9a.34654336@news.alt.net> divulged: >We can create the database locally on the client how? i thought you said you were a web portal to netnews? >We could be required to handle about 1000 to 10000 posts >a day or more and if we keep them alive in our tracking dbase for 20 >days thats 200,000 posts to keep track of. don't get scared by those kinds of numbers. netnews is filled with huge numbers of things. >Any suggestions on how to implement this ? a database? -- okay, have a sig then
Re: tracking responses to my post....
Author: J.B. Moreno
Date: Tue, 06 Mar 2001 06:04
Date: Tue, 06 Mar 2001 06:04
21 lines
1873 bytes
1873 bytes
A Meowbot <meowbot@meowing.net> wrote: > In news.software.nntp, prence <prence@removethis.hotpop.com> wrote: > > > We are creating a web-gateway for usenet. How can we track (and inform > > users) responses made to posts posted from our site ? > > NNTP does not support this directly. You can keep a record of all the > articles users post, then scan References: headers of subsequent > articles for matching Message IDs. Probably better to assign the user a token and then include that in the Message-ID's and then scan the References header for matches to the user token. It's both easier, faster and of more general use. -- JBM "Moebius strippers only show you their back side." -- Unknown
Re: tracking responses to my post....
Author: meowbot
Date: Tue, 06 Mar 2001 06:27
Date: Tue, 06 Mar 2001 06:27
15 lines
1496 bytes
1496 bytes
In article <1ept4vx.r2cekgc3rrgvN%planb@newsreaders.com>, J.B. Moreno says... >Probably better to assign the user a token and then include that in the >Message-ID's and then scan the References header for matches to the user >token. > >It's both easier, faster and of more general use. That approach loses information. It lets posters learn of possible responses to _any_ article they posted, but not to be notified of followups to specific articles.
Re: tracking responses to my post....
Author: J.B. Moreno
Date: Tue, 06 Mar 2001 18:47
Date: Tue, 06 Mar 2001 18:47
28 lines
2021 bytes
2021 bytes
In article <Kr%o6.24$54.76@www.newsranger.com>, <meowbot@meowing.net> wrote: > In article <1ept4vx.r2cekgc3rrgvN%planb@newsreaders.com>, J.B. Moreno says... > > >Probably better to assign the user a token and then include that in the > >Message-ID's and then scan the References header for matches to the user > >token. > > > >It's both easier, faster and of more general use. > > That approach loses information. It lets posters learn of possible > responses to _any_ article they posted, but not to be notified of > followups to specific articles. Not really, it is just incomplete -- two different options, only use the token for messages where they have indicated they want notification of followups (this doesn't have to be unique per message, just per user), or use a variation that indicates they want notification of followups. And this is assuming that the notification is email or some other active mechanism, and not simply putting the message in a different color when viewing it in a list. -- J.B. Moreno
Re: tracking responses to my post....
Author: J.B. Moreno
Date: Tue, 06 Mar 2001 19:05
Date: Tue, 06 Mar 2001 19:05
24 lines
2273 bytes
2273 bytes
<prence@removethis.hotpop.com> wrote: > We can create the database locally on the client but what is the most > efficient way to check (track) if a response has been posted for one of > the msgs. We could be required to handle about 1000 to 10000 posts a > day or more and if we keep them alive in our tracking dbase for 20 days > thats 200,000 posts to keep track of. > > Any suggestions on how to implement this ? If it was me, I'd require the poster to register and as part of that process assign a user id that I would then include in every post by that user. That reduces the problem from X number of post to the much smaller number Y number of posters. Notification of the user depends upon how you'd like to go about it, email or simply a difference in the display of the articles. I don't know enough about your setup to give anything more concrete. -- JBM "Moebius strippers only show you their back side." -- Unknown
Re: tracking responses to my post....
Author: Terrance Richard Boyes
Date: Tue, 06 Mar 2001 19:23
Date: Tue, 06 Mar 2001 19:23
34 lines
3202 bytes
3202 bytes
In news.software.nntp prence@removethis.hotpop.com wrote: > We can create the database locally on the client but what is the most I'd have thought it better to keep it in a database on the server, then add some cgi-bin to interrogate it if you want the "inform the poster" bit to be done on request. > efficient way to check (track) if a response has been posted for one > of the msgs. We could be required to handle about 1000 to 10000 posts > a day or more and if we keep them alive in our tracking dbase for 20 > days thats 200,000 posts to keep track of. The numbers may look big in some ways, but that's nowt really :) 200,000 msgids is only about 10MB, and msgid keyed access should be pretty fast (remember it's a unique id and hashing it works well). You'll obviously need to store the userid against the msgid, and may want to add a timestamp to make expiry simple. If the nntp server you're using supports it you could check each new article as it arrives. If not then one way to do it would be to run a job every hour that scans all new articles since the last time it ran. Or vice versa check all msgids you store msgids against all new References:. I suggest trying it both ways, which one is quicker will be partly dependant on the numbers of new articles vs the number of stored msgids. Then you could either store the matches in another table, or email the poster, or ... -- <URL:http://www.pierrot.co.uk/> Team AMIGA Loose lips, sink ships.
Re: tracking responses to my post....
Author: A Meowbot
Date: Wed, 07 Mar 2001 01:33
Date: Wed, 07 Mar 2001 01:33
35 lines
3222 bytes
3222 bytes
J B Moreno <planb@newsreaders.com> wrote: > Not really, it is just incomplete -- two different options, only use > the token for messages where they have indicated they want notification > of followups (this doesn't have to be unique per message, just per > user), or use a variation that indicates they want notification of > followups. A couple things to consider here. With a WWW service, you want to keep the notification information around, it having been derived in advance. Otherwise the server will be groaning in pain once frequent reloaders show. Running two scans on the article stream to decide what needs to be flagged for notification is more expensive than running one, or course, so the one to pick is the accurate one. > And this is assuming that the notification is email or some other > active mechanism, and not simply putting the message in a different > color when viewing it in a list. What users tend to want in these services is to see a count or perhaps a summary of new replies when they sign in. So, you want to have the data all ready to go on short notice. If there is a delay while the server scans the group looking for stuff, the user assumes something is b0rken, starts whamming on the refresh, and makes the server very unhappy. Lots of things that work out for a long-running user client have to be rethought when a stateless thin client -- really little more than a dumb page terminal with pretty pictures -- becomes the interace. The approach for this that Terrance Richard Boyes describes in <20010306.192301.9E9801DE.1daa@pierrot.co.uk> is very nearly exactly what is wanted. It also points the way toward implementing several other features commonly requested by WWW reader users.
Re: tracking responses to my post....
Author: Anand Gupta
Date: Wed, 07 Mar 2001 10:16
Date: Wed, 07 Mar 2001 10:16
13 lines
1161 bytes
1161 bytes
What we would like to do is : Keep track of about 15-30 days worth of user's posts made from our webclient. Send an email alert to the user automatically the moment some response is made to his post. We are using a thin client based on ASP which interacts with third party NNTP servers. I can send more details directly by email.
Re: tracking responses to my post....
Author: Anand Gupta
Date: Wed, 07 Mar 2001 10:16
Date: Wed, 07 Mar 2001 10:16
45 lines
2793 bytes
2793 bytes
Scanning can be done using XPAT, right ? On the other hand, how would we get the server to trigger an alert automatically when a message arrives either through feed or as a direct posting. I believe this would be hard... On Tue, 06 Mar 2001 19:23:01 +0000 (GMT), tez@pierrot.co.uk (Terrance Richard Boyes) wrote: >In news.software.nntp prence@removethis.hotpop.com wrote: >> We can create the database locally on the client but what is the most > >I'd have thought it better to keep it in a database on the >server, then add some cgi-bin to interrogate it if you want >the "inform the poster" bit to be done on request. > >> efficient way to check (track) if a response has been posted for one >> of the msgs. We could be required to handle about 1000 to 10000 posts >> a day or more and if we keep them alive in our tracking dbase for 20 >> days thats 200,000 posts to keep track of. > >The numbers may look big in some ways, but that's nowt really :) >200,000 msgids is only about 10MB, and msgid keyed access should >be pretty fast (remember it's a unique id and hashing it works well). >You'll obviously need to store the userid against the msgid, and >may want to add a timestamp to make expiry simple. > >If the nntp server you're using supports it you could check >each new article as it arrives. If not then one way to do it >would be to run a job every hour that scans all new articles >since the last time it ran. Or vice versa check all msgids >you store msgids against all new References:. > >I suggest trying it both ways, which one is quicker will be >partly dependant on the numbers of new articles vs the number >of stored msgids. Then you could either store the matches >in another table, or email the poster, or ... > >-- ><URL:http://www.pierrot.co.uk/> Team AMIGA >Loose lips, sink ships. >
Re: tracking responses to my post....
Author: Anand Gupta
Date: Wed, 07 Mar 2001 10:16
Date: Wed, 07 Mar 2001 10:16
36 lines
2243 bytes
2243 bytes
We already have the users registering but including that in the message-id may be a little difficult since the server we are using insists on adding its own Message-IDs. Can we subscribe to some othere commercial news-server which will let us add our own message-ids ? On Tue, 6 Mar 2001 14:05:43 -0500, planb@newsreaders.com (J.B. Moreno) wrote: ><prence@removethis.hotpop.com> wrote: > >> We can create the database locally on the client but what is the most >> efficient way to check (track) if a response has been posted for one of >> the msgs. We could be required to handle about 1000 to 10000 posts a >> day or more and if we keep them alive in our tracking dbase for 20 days >> thats 200,000 posts to keep track of. >> >> Any suggestions on how to implement this ? > >If it was me, I'd require the poster to register and as part of that >process assign a user id that I would then include in every post by that >user. That reduces the problem from X number of post to the much smaller >number Y number of posters. > >Notification of the user depends upon how you'd like to go about it, >email or simply a difference in the display of the articles. > >I don't know enough about your setup to give anything more concrete. > >-- >JBM >"Moebius strippers only show you their back side." -- Unknown
Re: tracking responses to my post....
Author: Frank Slootweg
Date: Wed, 07 Mar 2001 15:33
Date: Wed, 07 Mar 2001 15:33
25 lines
1917 bytes
1917 bytes
Anand Gupta <prence@aclindia.net> wrote:
> What we would like to do is :
>
> Keep track of about 15-30 days worth of user's posts made from our
> webclient.
Why do you use a webclient (instead of a normal newsreader)?
What is the platform on which your client runs? I.e. Windows (which
version(s)), Mac (whatever?), Linux, other?
> Send an email alert to the user automatically the moment some response
> is made to his post.
For a normal newsreader this is probably not to hard ('mine', tin,
does this). However for your webclient you probably would have to start
from 'scratch'. If your webserver platform is UNIX, you can probably
'borrow' code from tin (Urs, is that OK?). If it is Windows (Win32) it
may be possible.
> We are using a thin client based on ASP which interacts with third
> party NNTP servers.
>
> I can send more details directly by email.
Re: tracking responses to my post....
Author: bill davidsen
Date: Wed, 14 Mar 2001 20:14
Date: Wed, 14 Mar 2001 20:14
38 lines
3043 bytes
3043 bytes
In article <060320011347222314%planb@newsreaders.com>, J.B. Moreno <planb@newsreaders.com> wrote: | In article <Kr%o6.24$54.76@www.newsranger.com>, | <meowbot@meowing.net> wrote: | | > In article <1ept4vx.r2cekgc3rrgvN%planb@newsreaders.com>, J.B. Moreno says... | > | > >Probably better to assign the user a token and then include that in the | > >Message-ID's and then scan the References header for matches to the user | > >token. | > > | > >It's both easier, faster and of more general use. | > | > That approach loses information. It lets posters learn of possible | > responses to _any_ article they posted, but not to be notified of | > followups to specific articles. | | Not really, it is just incomplete -- two different options, only use | the token for messages where they have indicated they want notification | of followups (this doesn't have to be unique per message, just per | user), or use a variation that indicates they want notification of | followups. One could use an entry in the keywords header which related to the user. A quick test showed that most if not all readers copy that information in a reply. If you were doing this at the server level you could grab all messages with some pattern, check for user, and send mail. Of course this can fairly easily be done with a program user-side which has a list of groups and message-ids, and which pulls the overview periodically and checks. In which case the user can do what s/he wants and no new software is needed server side. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "I am lost. I am out looking for myself. If I should come back before I return, please ask me to wait." -seen in a doctor's office
Re: tracking responses to my post....
Author: bill davidsen
Date: Wed, 14 Mar 2001 21:45
Date: Wed, 14 Mar 2001 21:45
26 lines
2604 bytes
2604 bytes
In article <3aa5edba.10819553@news.alt.net>, Anand Gupta <prence@aclindia.net> wrote: | Scanning can be done using XPAT, right ? | On the other hand, how would we get the server to trigger an alert | automatically when a message arrives either through feed or as a | direct posting. I believe this would be hard... | Not particularly. You can put it in the perl filter run against every incoming article. The database will become large over time, but it is an issue of resources, not that it's a hard problem, assuming that you have the information at posting time to associate the message-id with a mail address. The problem becomes much smaller if you are willing to track only replies to original posts and not additional posts in the thread. In other words replies to this post, vs. all traffic in a thread to which the user ever posted. Both are possible, one takes fewer resources. You can even limit yourself to "all replies within N days," where N=f(co$t). -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc At LinuxExpo Sun was showing Linux applications running on Solaris. They don't get it, the arrow points the other way. There's a reason why there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a religion, a way of life, and only incidentally an operating system.
Re: tracking responses to my post....
Author: bill davidsen
Date: Wed, 14 Mar 2001 21:48
Date: Wed, 14 Mar 2001 21:48
26 lines
2131 bytes
2131 bytes
In article <3aa5e886.9488013@news.alt.net>, Anand Gupta <prence@aclindia.net> wrote: | What we would like to do is : | | Keep track of about 15-30 days worth of user's posts made from our | webclient. | | Send an email alert to the user automatically the moment some response | is made to his post. | | We are using a thin client based on ASP which interacts with third | party NNTP servers. | | I can send more details directly by email. Do you have the cooperation of the server owner, or are you repackaging the news and just doing a suck/post feed using a normal reader account on the server? -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc At LinuxExpo Sun was showing Linux applications running on Solaris. They don't get it, the arrow points the other way. There's a reason why there's no SolarisExpo, Solaris is a tool; Linux is a philosophy, a religion, a way of life, and only incidentally an operating system.
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