Article View: news.software.readers
Article #166135Lou Please enhance Xnews Duplicate Header handling
From: Mr Rubb
Date: Sat, 30 Apr 2005 13:50
Date: Sat, 30 Apr 2005 13:50
112 lines
6712 bytes
6712 bytes
"delete duplicates" is very helpful and powerful utility especially when
using multiple news servers and can be more if enhanced.
There are 2 basic types duplicate headers
-----------------------------------------
Type 1- User created duplicates (not reside on servers) and poster created
and exist on a server. My primary ISP has have 6 servers across the the us,
my premium serice has one.
In the case of where only one duplicate headed having a previously
downloaded attachment the other without Xnews can be enhancesd by a change
to make sure it threads and keep duplicate headers that have files
attachments threaded AND NOT therwad headers without downloaded
files.
Unthreaded duplicate headers are blindly deleted.
I use Xnews V6.12.01 and I know it assigns higher prioriy to origional
existing headers threaded before using "find missing duplicates" assumes it
has an attachment and keeps new duplicate headere created by the find
missing parts unthreaded and deletes the unthreaded.
Somne examples that create duplicated.
Ex1: If you queued a header posted a server to the same que name twice.
Ex2: When using "find missing parts" from and server other than the
primary or an overriden server will copy all the parts to que in
addition to the missing. Resulting is a duplicate only one is
threaded.
Type 2 - Posted duplicates, when a corrupt fileis created when posting is
killed midway into an artical all the parts in the artical are uploaded
went. It's likely the file existing file being uploaded at kill time is
corrupt.
In this case both headers will have an attachment. One may be corrupted and
you don't want the origional copies, you want to download and thread the
duplicate.
Xnews can be enhanced to check the server timestamp and delete the older.
Server duplicarss seem to propagete to ques and when I was baffled that
some diplicated were never deletesd I tracked that to them "created on the
server". Thats actually good if the user know that they are server
duplicats he can download both and use "par" utility to identify if one is
corrupted.
If the post came from Xnews could add a tag to the existing identity
"Dtoken" it puts in headers with a resend number and alwaya thread the
highest number and trow away the oldest.
In any case some safety tips:
Xnews V6.12.01 assigns higher prioriy to origional existing headers
threaded before using "find missing duplicates" assumes it has an
attachment and keeps new duplicate headere created by the find missing
parts unthreaded and deletes the unthreaded.
1- Always compact after creating a que after running delete duplucate.
Also for safety try running compact before deleting duplicates and if its
not needed the menus will not be highlighted and it wont run.
In addition to defragmenting the file with downloaed files the .QDR or .HDR
files are reorganized sequentially and lower the chance and make it easier
to delete the duplicates you don't want headers you xnews will delete
headers. A side benefit is loading and delting header will be 100 times
faster.
2- i usually do my searching for missing downloads parts before any
downloading. Thsn override to use the low cost ISP ten only download
article from the premium server not found on the low cost ISP.
3- In the case where you want to merge 2 queues "delete duplicates can
still be used
Do this:
. Use show only headers with attached files filter and transfer headers
with downloads from both queues to a 3rd mew queue. (Do not compact them)
. Run delete duplicatsd on the 3rd new queues to make sure the que has no
duplicate and compact the new queue..
. Run invert filter on one the the queues your merging and all headers
without attached files will be diplayed. Select and transfer them all to
the 3rd new queue. It should be safe now to run delete duplicates and only
copies without downloaded fiels should be deleted.
Repeat invert filter tansfer steps on the second ques your merging.
The key is guarentee there is not more that one duplicate before running
"delete duplicates" and headers with downloads are copied over first to the
mergerd que.
If anything goes wrong you can use the origional queues as a backup since
you have not compacted them. Just run group undelete all and will remove
the red "x" and all the header that were downloaded will have green squares
again. After compacting thet are lost and can only be recovered with OS
protection like "norton protected recyle bin".
I hope Lou reads this. The topic can be very confusing. As a user this can
save tons of work and hours.
If your confused try this by creating a small case will clarify everything.
To create a test case:
Take a few headers with and without downloaded attacments a queue and
transfer them to que1. Run group undelete selected and transfer the the
same headers to que2 undelete the origionals so you don't loose anyhting to
run the test cass.
Que1 and que2 are exactly the same. delete some header with atteched files
in que1 then delete different headers in que2 befor you start the test
case and not compact que1 or 2 after you start the merge.
Take time be careful, if you make any mistakes just undelete queus 1 and 2
and start again fresh from the beginning.
Cheers!
MR
Technical Details
Message-ID:
<Xns964845A15643Azczza@151.164.30.48>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!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.115.63.142!newscon02.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!2dee3cec!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <Xns964845A15643Azczza@151.164.30.48> Subject: Lou Please enhance Xnews Duplicate Header handling Date: Sat, 30 Apr 2005 13:50:41 GMT From: Mr Rubb <MrRubb@Rubadub.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!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!207.115.63.142!newscon02.news.prodigy.com!prodigy.net!newsmst01a.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!2dee3cec!not-for-mail Newsgroups: news.software.readers,alt.binaries.erotica.pornstars.80s Organization: RUBITCO User-Agent: Xnews/06.12.01 Lines: 112 NNTP-Posting-Host: 69.110.150.39 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr11.news.prodigy.com 1114869041 ST000 69.110.150.39 (Sat, NNTP-Posting-Date: Sat, 30 Apr 2005 09:50:41 EDT X-UserInfo1: [[PAPDCA[S@IB_\[JRHNO_TDFZ\@@FXLM@TDOCQDJ@_@FN\CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN