Article View: news.software.readers
Article #159617Re: [Dialog] Script for sending string and Message-ID to browser?
From: Scott Marquardt
Date: Thu, 23 Dec 2004 00:14
Date: Thu, 23 Dec 2004 00:14
50 lines
2744 bytes
2744 bytes
MLC opined thusly on Oct 29:
> _Scott Marquardt_, giovedรฌ 28/ott/2004:
>> I'm wanting to send an URL to Internet Explorer and navigate accordingly.
>> The URL I'd like to send would be a string, plus the message-id of the
>> currently selected message:
[...]
> I didn't add that "mid" key in my registry, however I've written a script
> that opens your default browser in the Google page for the Message-ID of the
> selected message in Dialog. I hope it can fit your wishes :-)
With changes at google, this needed to be modified. I think. Anyway, it
works now whereas it had stopped working when they flipped to their new
stuff -- which sux.
Two changes posted below.
[...]
> const
> MsgIDHeader = 'Message-ID: ';
> query = 'http://groups.google.com/groups?oe=UTF-8&lr=&num=30&hl=en&as_umsgid=';
change query to: 'http://groups-beta.google.com/groups?selm='
[...]
> if AreHidden then Ado('ShowHeaders');
> finally
> myForm.free;
> end;
add this line:
MsgID := Copy(MsgID, 2, Length(MsgID) - 2);
> url := query + MsgID;
> FileExecute(0,url,'','','',0,0);
> unlockdisplay;
> End.
The pointy brackets are no longer recognized as part of the message-id, the
RFC be damned. On the other hand, google's recognizing references-based
threading now. Whatever -- I still say the new presentation sux.
--
Scott
Technical Details
Message-ID:
<1tviymwwdyces.dlg@marquardts.org>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!border2.nntp.ams.giganews.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<z6nillcqj00g$.dlg@marquardts.org> <3ch3rlxugt1l$.dlg@ID-187316.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <1tviymwwdyces.dlg@marquardts.org>
Subject: Re: [Dialog] Script for sending string and Message-ID to browser?
Date: Wed, 22 Dec 2004 18:14:59 -0600
From: Scott Marquardt <wasREMOVEket5@hotmail.com>
References: <z6nillcqj00g$.dlg@marquardts.org> <3ch3rlxugt1l$.dlg@ID-187316.user.uni-berlin.de>
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!border2.nntp.ams.giganews.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: 40tude_Dialog/2.0.14.1 (81fa99af.71.345)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Face: +4v"1sT~"D^B?.Du2A9&7U6zN_oEDc|ZSTLREaGrJ2WbH#8^E:C^h{S+b^H2S:+|~"1ZZyE
)x8&OL";
2rh+Ej3y3InL}j{40=0a6aOUwK=@_~}TCH}Qmj?+A=<U\\p$=W::3\`8y.)!f_>0Ixs"1W
,TK#xYPSN<K=rb.:~1)d1RZ^UVA"J9]}g~+{*I0v3L; Y"+8$yI'LEi\@;
z`E|MK.OtbE?3'rY|3!#f H:$3M1mHm-S#&u7A2XC%2t0A; {Zxg!\M95fqix(kr1{SW12
X-Complaints-To: abuse@supernews.com
Lines: 50