Article View: news.software.nntp
Article #61619Re: What's the layout of the XOVER response?
From: Curt Welch
Date: Thu, 24 Oct 2002 15:32
Date: Thu, 24 Oct 2002 15:32
48 lines
2979 bytes
2979 bytes
Bas Ruiter <lordsnow@home.nl> wrote: > 3. The XOVER seems to return info like this: > > <article #> <Subject> <From> <Date> <Msg-ID> <Lines> <???> <Xref> check out the NNTP command LIST OVERVIEW.FMT > Whitespace seems to be TAB. > > Being able to parse this line, it seems that it relies on: > > a. a correct e-mail address being present (a@b.c), > b. that no whitespace or @ appears in the Subject: Tabs and CR LF (for multiline headers) in the data are turned into spaces to guarantee that parsing is easy. You just extract the data between the tabs. > otherwise it's going to be difficult to where the Subject ends. > > What's the <???> above? it's <bytes> and <lines>, so that article is 631526 bytes and 10007 lines. The lines only count body lines and does not count the blank line between the header and the body whereas the bytes normally cover the entier article. However, it's undefined what form the article is in (i.e. do lines end with 2 bytes CR LF, or 1 LF, is the article dot escaped or not). The lines value is sometimes correct and sometimes just the Lines: header from the article which is many times not correct. In other words, bytes and lines are only hints for the user to use and not something that should ever be assumed to be accurate enough to help the software read or store articles. > Example XOVER line I recieved: > > 28327760 req by nobody - here u go::: - Kansas - The Ultimate > Kansas - 111 - What's on my Mind.mp3 (04/12) "-<madman>-" > mester@NO_SPAMeasynews.com Wed, 23 Oct 2002 23:30:02 GMT > <d3cerugtus5qvsc8u0703hq8q1vibkviep@4ax.com> 631526 10007 > Xref: newshub1.nl.home.com alt.binaries.sounds.mp3.complete_cd:17458829 > alt.binaries.sounds.mp3:28327760 > > Bas Ruiter -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021024113254.361$Tw@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<sjifru0p9sgelhr6qnnmm5f1gvmu49cua1@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <20021024113254.361$Tw@newsreader.com>
Subject: Re: What's the layout of the XOVER response?
Date: Thu, 24 Oct 2002 15:32:54 +0000
From: curt@kcwc.com (Curt Welch)
References: <sjifru0p9sgelhr6qnnmm5f1gvmu49cua1@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com SJgtti0y8GtMucZ2E=321JW0HPf3dIOTYMrW6ZXZ8K6pjo-C_,
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 47