🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Graum Thu, 26 Aug 2010 00:07
[help request] news update : editing article into news server file system - good practise ?
#83391
Author: Graum
Date: Thu, 26 Aug 2010 00:07
63 lines
2305 bytes
Hello!

Ones request to change a word in subject or into news bodya bout their 
post not to lose date and thread.

1. For subject, I did a test :

a.
I did a short stop 
/etc/init.d/inn2 stop

b.
I did a change into subject without changing the size of the message.
into /var/spool/news/articles/A/B/C/[0-9]\+

But as I saw important informations 
into /var/spool/news/articles/a/b/c/
2 files :
- A.B.C.DAT
and 
- A.B.C.IDX

c.
I did a change into A.B.C.DAT just to have subject updated

A.B.C.DAT size for line didn't changed.


d.
I restarted inn2
/etc/init.d/inn2 restart

e. 
I did a 
ctlinnd renumber A.B.C

thinking that A.B.C.IDX is rebuilt 
from A.B.C.DAT 
and 
from /var/spool/news/articles/A/B/C/[0-9]\+


2.
For body, I updated body without changing size of article.


##########################################################

I did all this cause I did not find any edit command for an article

I found cancel command from ctlinnd.

I found nothing about editing an article during a pause and 
rebuilding .IDX and .DAT.

##########################################################

Any help or comment would be appreciated.

Regards

Graum
Re: [help request] news update : editing article into news server file system - good practise ?
#83392
Author: Julien ÉLIE
Date: Thu, 26 Aug 2010 17:12
62 lines
3006 bytes
Hi Graum,

> Re: [help request] news update : editing article into news server file system - 
> good practise ?

Not a good practice.


> Ones request to change a word in subject or into news bodya bout their
> post not to lose date and thread.

Using "Supersedes" would be the preferable way, that is to say posting
the same article with another message-ID, and with a Supersedes: header
field containing the message-ID of the article it cancels.
Or cancel the article and post another one.


> I did a
> ctlinnd renumber A.B.C
>
> thinking that A.B.C.IDX is rebuilt
> from A.B.C.DAT
> and
> from /var/spool/news/articles/A/B/C/[0-9]\+

This command only renumbers the active file.

Use "tdx-util -R".


> 2.
> For body, I updated body without changing size of article.

It should work.

Note that the subject should also be changed in the article (and not
only in the overview).


> I did all this cause I did not find any edit command for an article

There isn't any command for that.
I remember having once successfully done an edit with
tradindexed+tradspool the way you mention it, with my above comment.
But I still do not recommend that.


> I found cancel command from ctlinnd.

To cancel an article.  It will be removed from your spool.


> I found nothing about editing an article during a pause and
> rebuilding .IDX and .DAT.

See tdx-util.

-- 
Julien ÉLIE

« Love is blind but marriage is an eye-opener. » 
Re: [help request] news update : editing article into news server file system - good practise ?
#83395
Author: Graum
Date: Sat, 28 Aug 2010 00:07
69 lines
3013 bytes
On Thu, 26 Aug 2010 19:12:01 +0200, Julien ÉLIE wrote:

> Hi Graum,
> 
>> Re: [help request] news update : editing article into news server file
>> system - good practise ?
> 
> Not a good practice.
> 
> 
>> Ones request to change a word in subject or into news bodya bout their
>> post not to lose date and thread.
> 
> Using "Supersedes" would be the preferable way, that is to say posting
> the same article with another message-ID, and with a Supersedes: header
> field containing the message-ID of the article it cancels. Or cancel the
> article and post another one.
> 
> 
>> I did a
>> ctlinnd renumber A.B.C
>>
>> thinking that A.B.C.IDX is rebuilt
>> from A.B.C.DAT
>> and
>> from /var/spool/news/articles/A/B/C/[0-9]\+
> 
> This command only renumbers the active file.
> 
> Use "tdx-util -R".
> 
> 
>> 2.
>> For body, I updated body without changing size of article.
> 
> It should work.
> 
> Note that the subject should also be changed in the article (and not
> only in the overview).
> 
> 
>> I did all this cause I did not find any edit command for an article
> 
> There isn't any command for that.
> I remember having once successfully done an edit with
> tradindexed+tradspool the way you mention it, with my above comment. But
> I still do not recommend that.
> 
> 
>> I found cancel command from ctlinnd.
> 
> To cancel an article.  It will be removed from your spool.
> 
> 
>> I found nothing about editing an article during a pause and rebuilding
>> .IDX and .DAT.
> 
> See tdx-util.

I do thank you for all those informations...

I will test tdx-util soon - as the newreader we use at work doesn't bring 
an easy way to supersede and will try to find out a good XP client with 
supersede.

My best regards,

Graum
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads