Topic Path: Symbol Reference > Classes > TIdNNTP Class > TIdNNTP Methods > ParseXOVER Method
ContentsIndexHome
PreviousUpNext
TIdNNTP.ParseXOVER Method

Parses an XOVER response line into variables.

procedure ParseXOVER(
    Aline: String; 
    var AArticleIndex: Integer; 
    var ASubject: String; 
    var AFrom: String; 
    var ADate: TDateTime; 
    var AMsgId: String; 
    var AReferences: String; 
    var AByteCount: Integer; 
    var ALineCount: Integer; 
    var AExtraData: String
);
Parameters 
Description 
Aline 
Response line to be parsed.
 
AArticleIndex 
NNTP article number for the message.
 
ASubject 
Subject header for the article.
 
AFrom 
author of the article.
 
ADate 
posting date for the article.
 
AMsgId 
NNTP message identifier for the article.
 
AReferences 
list of message identifers for the threading hierarchy for the article.
 
AByteCount 
size of the article in bytes.
 
ALineCount 
number of lines in the body of the article.
 
AExtraData 
  • fields from LIST OVERVIEW.FMT.
 

ParseXOVER is a procedure used to parse a line in an NNTP XOVER response, as supplied in XOver, into variables. ParseXOVER will separate the information from the article OVERVIEW database in ALine into the corresponding variable parameters. 

AArticleIndex is the NNTP article number for the message. 

ASubject is the subject header for the article. 

AFrom is the author of the article. 

ADate is the posting date for the article. Note: ADate is converted from GMT to a representation in the the local timezone during parsing. 

AMsgId is the NNTP message identifier for the article. 

AReferences is a list of message identifers that indicate the threading hierarchy for the article. 

AByteCount is the size of the article in bytes. 

ALineCount is the number of lines in the body of the article. 

AExtraData contains optional fields as indicated by the NNTP LIST OVERVIEW.FMT command. 

ParseXOver can be used in the OnNewNewsList event handler when the NNTP client needs to examine individual elements returned in an XOver response line.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.