LampCMS development and php tips

Announcements and articles about this site development and stuff like that

About making a blog an nntp newsgroup
Wed Dec 2 2009
For making blog and blog replies work like a newsgroup
we need to add amd maintain value of 'references' field
in the MESSAGES table

this is because the nntp message has to have 'references' field in order to function properly.

Blog post does not have references but all replies to it do have its unique message-id as references

How did we used to generate unique message-id? Is it necessary when new blog post is added or can we generate it in real time from MESSAGE.id and blog-id?

Sure we can, no problem.

What to do when a message or reply comes from an NNTP client - the nntp client usually generates its own unique message-id. What do we supposed to do with it? Store it or ignore it?