Article View: news.software.readers
Article #195691Re: Xnews and filesizes
From: blah
Date: Sat, 17 Feb 2007 09:27
Date: Sat, 17 Feb 2007 09:27
34 lines
2587 bytes
2587 bytes
Murray Peterson <mwp@home.com.invalid> wrote in news:Xns98DA5D3A81F4farkle@64.59.135.159: > blah <blowfly@spamsnotham.invalid> wrote in > news:45d6aacd$0$18684$a82e6bb9@orc.meganetnews.com: > >> Does anyone know how to retrieve these popup size values? Eg., I want >> the sizes for say, a few hundred files. The fact that they will >> 'popup' individually means that Xnews has this information somewhere >> but how do I access it? It must be in the .hdr files but in some form >> of proprietary code (I've had a look). I can export the headers of >> interest to an nzb and read that wherein the byte sizes are readable >> but there will be a size for each part of a multi-part binary and I >> want the total. >> > > Standard headers only provide the number of lines per post. Any > estimate of the article size in bytes is just that -- an estimate. > The size of a binary file can be roughly calculated, but it depends on > the encoding method (yenc, uuencode, radix-64). > > The popups are a result of Xnews performing a calculation, not reading > some hidden information from a header. > Thanks for the reply. So Xnews performs these calculations instantaneously based on the line count using a fixed value (in bytes) for a line (maybe different for UUE and yEnc?). Therefore I could simply capture the 'Lines' column from Xnews and use the same value in my calculations. It would knock out one program on my path to glory (Newsleecher) and perhaps be more accurate (NL rounds to KB). Now I need to find the size value (in bytes) for a single line. Two values if UUE & yEnc are different. I've been a'Googling but no luck as yet.
Technical Details
Message-ID:
<45d6ca6b$0$18699$a82e6bb9@orc.meganetnews.com>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!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!nntpserver.com!zeus.nntpserver.com!10.1.1.41.MISMATCH!pfilter-v0.1!not-for-mailReferences:
<45d6aacd$0$18684$a82e6bb9@orc.meganetnews.com> <Xns98DA5D3A81F4farkle@64.59.135.159>Show Full Headers
Complete Article Headers
Message-ID: <45d6ca6b$0$18699$a82e6bb9@orc.meganetnews.com> Subject: Re: Xnews and filesizes Date: Sat, 17 Feb 2007 09:27:14 +0000 From: blah <blowfly@spamsnotham.invalid> References: <45d6aacd$0$18684$a82e6bb9@orc.meganetnews.com> <Xns98DA5D3A81F4farkle@64.59.135.159> 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!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!nntpserver.com!zeus.nntpserver.com!10.1.1.41.MISMATCH!pfilter-v0.1!not-for-mail Newsgroups: news.software.readers Organization: Mrs. Maggot's Factory User-Agent: Xnews/2006.06.28 X-No-Archive: yes Lines: 34 NNTP-Posting-Date: 17 Feb 2007 09:27:14 GMT X-Complaints-To: abuse@meganetnews.com