View Single Post
  #15  
Old November 18th 18, 08:54 PM posted to comp.mobile.android,alt.comp.freeware,alt.windows7.general
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default [OT] How to use a 'news:' URL

On 17/11/2018 22.14, Frank Slootweg wrote:
arlen michael holder wrote:



(Trimming uninteresting (to me) stuff)


....
news

....
It's a news URL. The message-ID is the part after 'news:'.

I've asked you before if you knew what a news URL is. You dodged the
question and hence missed an opportunity to learn. So now you failed
again. There's a lesson there somewhere.

So here we go:

A news URL can have several formats. The format used here is:

news:message-ID

'' and '' are the normal URL delimiters.

'news:' indicates that it's a news (NetNews) URL, in the same vein
(sp?) as 'http:' indicates a 'web' URL.

Note that I spelled 'message-ID' with a lower case 'm', because it is
the *content* of the 'Message-ID:' header, not the name of the header.

It's less ambiguous to use 'news:MID', but if one uses that, most
people ask "What does 'MID' mean?" and the whole thing starts over
again.

So specifically:

The header in my post is:

Message-ID:

From that we take the 'message-ID/MID':



And now we convert the 'message-ID/MID' into a news URL by
inserting/prepending 'news:':

news
Which is what I gave you.


Thanks :-)


I knew most of that, but not in explicit form.

I'm not new to "nntp", but I'm not an old hand here - mainly because I
did not have a modem nor a phone line to use it with till nearly this
century, so the explanation is interesting to me.


....
Because it's a news URL, there's no need to search for it, because
your newsreader should be able to show it to you (assuming it's not
expired from your news server). Figure that, a newsreader actually
showing news articles! What *will* they think of next!? A webbrowser
showing webpages!?

Like for a web ('http:') URL, you don't search for it, you just
'execute' it. Same thing with a news URL.


Ok, this is interesting to me. How do I tell my news reader,
Thunderbird, to find a message by knowing the URL? Because my
Thunderbird can only search (quick filter button) by "sender",
"recipient", or "subject". The body is not downloaded, so it can not
actually search there, it finds nothing. The button for "body" is there,
but does not work.

If Thunderbird caches contents (mine does not), then it searches bodies.


Instead, as I use Leafnode as local nntp proxy, I can go to
"/var/spool/news/message.id/*", where the "*" goes from "000" to "999".
Then I can use "find" or "mc" to find a particular file (as I do not
know how to deduce the "*" number).

So searching for file "pspvm9.7tc.1*" (yes, with the '' included) I
may be lucky and find it - but it will only search in my local copy, not
on my "provider" news spool; thus if the message is old and thus purged
I will not find it.


Not found, after four minutes - I forgot to untick "using shell
patterns" in "mc", the '' in the filename interferes.

Searching instead for "*pql56t.8k8*" finds it.

It is this file:



and now I can read it, but not in any news reader, but in "mc".


Do you have some direct method to find a news url more directly,
preferably searching directly on outside news server, not my local
cached copy?



In your defense, but not an excuse for dodging my question: You're not
the only one who doesn't know how handle a news URL or/and how to look
up an article with their newsreader, given a news URL.



Well, I go to Edit/Find/search messages, select "message-ID", then enter
the MID, and tick "run search on server" (an option I did not see years
before), then it does the search fast enough.

--
Cheers, Carlos.
Ads