Article View: news.software.readers
Article #229634extracting file name from the subject line
From: Etian
Date: Wed, 04 Feb 2009 21:22
Date: Wed, 04 Feb 2009 21:22
12 lines
1777 bytes
1777 bytes
I'm building some indexing and searching tools, A key requirement is to extract the probable file name from the subject line and other overview information. I know that there is no foolproof or spoofproof way to do that, but surely somebody has already coded a reasonably accurate method which complies with the most popular posting standards, and has placed it in open source somewhere. Some factors that might be used in the algorithm are: subject-line/filename formatting used by the popular binary posters, known file extensions, and byte count consistent with the file type. Etian sonic-news
Technical Details
Message-ID:
<XGnil.6431$%P.3473@newsfe19.iad>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!border1.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!feeder2-2.proxad.net!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe19.iad.POSTED!94e7a524!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <XGnil.6431$%P.3473@newsfe19.iad> Subject: extracting file name from the subject line Date: Wed, 04 Feb 2009 14:22:27 -0700 From: Etian <981273478687926293180@sonic-news.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!border1.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!feeder2-2.proxad.net!nx01.iad.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe19.iad.POSTED!94e7a524!not-for-mail User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 Newsgroups: news.software.readers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 12 X-Complaints-To: abuse@Sonic-News.com--send only the headers and the reason for your complaint NNTP-Posting-Date: Wed, 04 Feb 2009 21:23:03 UTC Organization: Sonic-News.com--complete, high-retention, from $3.99/month