๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
17 messages
17 total messages Started by Howard Knight Sun, 01 Sep 2019 21:17
Usenet Article Lookup site has been updated
#263697
Author: Howard Knight
Date: Sun, 01 Sep 2019 21:17
14 lines
1354 bytes

Hi Everybody, 

After 18 (19?) years, I finally ported the code for the Usenet Article
Lookup site from Perl, to PHP. So, the site is in beta mode now:

http://al.howardknight.net

Please let me know if you find problems or have suggestions.

Howard 

 
Re: Usenet Article Lookup site has been updated
#263698
Author: Marcel Logen
Date: Sun, 01 Sep 2019 21:42
22 lines
1725 bytes
Howard Knight wrote:

> After 18 (19?) years, I finally ported the code for the Usenet Article
> Lookup site from Perl, to PHP. So, the site is in beta mode now:
> 
> http://al.howardknight.net

Thank you.

> Please let me know if you find problems or have suggestions.

In my article
<news:5751eeb4-5816-3215-c966-bacfc8f97251%40n14.ybtra.de>
are two links included in "<...>".

These have been deleted in your interface.

Is this been done intentionally?

Marcel
-- 
KNOPPIX/8.6
Re: Usenet Article Lookup site has been updated
#263700
Author: Marcel Logen
Date: Sun, 01 Sep 2019 21:44
22 lines
1725 bytes
Howard Knight wrote:

> After 18 (19?) years, I finally ported the code for the Usenet Article
> Lookup site from Perl, to PHP. So, the site is in beta mode now:
> 
> http://al.howardknight.net

Thank you.

> Please let me know if you find problems or have suggestions.

In my article
<news:5751eeb4-5816-3215-c966-bacfc8f97251@n14.ybtra.de>
are two links included in "<...>".

These have been deleted in your interface.

Is this been done intentionally?

Marcel
-- 
KNOPPIX/8.6
Re: Usenet Article Lookup site has been updated
#263699
Author: Howard Knight
Date: Sun, 01 Sep 2019 21:57
15 lines
1580 bytes
Marcel Logen <333200007110-0201@ybtra.de> wrote:

> In my article
> <news:5751eeb4-5816-3215-c966-bacfc8f97251@n14.ybtra.de>
> are two links included in "<...>".
> 
> These have been deleted in your interface.

Hi Marcel,

You need to remove โ€œnews:โ€ from the message id. I tried that and it works: 

http://al.howardknight.net/?STYPE=msgid&MSGI=%3C5751eeb4-5816-3215-c966-bacfc8f97251%40n14.ybtra.de%3E

Howard
Re: Usenet Article Lookup site has been updated
#263701
Author: Sam Hill
Date: Mon, 02 Sep 2019 00:21
10 lines
1569 bytes
On Sun, 01 Sep 2019 23:44:41 +0200, Marcel Logen wrote:

> In my article <news:5751eeb4-5816-3215-c966-bacfc8f97251@n14.ybtra.de>
> are two links included in "<...>".
> 
> These have been deleted in your interface.
> 
> Is this been done intentionally?

Remove the "news:" part of your link. It is not part of the message ID.
Re: Usenet Article Lookup site has been updated
#263702
Author: VanguardLH
Date: Mon, 02 Sep 2019 05:02
16 lines
1728 bytes
Marcel Logen <333200007110-0201@ybtra.de> wrote:

> <news:5751eeb4-5816-3215-c966-bacfc8f97251@n14.ybtra.de>

Not a valid MID (Message-ID).  Those don't start with the news: URI.
Once I removed "news:" from your proposed MID, the HK site could find
the archive article.

'Two links included in "<...>"' are missing from WHAT?  The References
header?  If so, that header still has a maximum of 998 characters for
line length even with continuation lines, so it will get truncated (by
keeping the first MID and the last N MIDs for a total of 998 bytes
maximum length, including the 12 characters for the "References: "
header prefix).  Since the References header lines is only 587 bytes
longs, it shouldn't be truncated.  Where are the "links" (whatever those
might be) deleted?
Re: Usenet Article Lookup site has been updated
#263703
Author: Emil Schuster
Date: Mon, 02 Sep 2019 12:15
42 lines
2539 bytes
VanguardLH wrote:
> Marcel Logen <333200007110-0201@ybtra.de> wrote:
> 
> > <news:5751eeb4-5816-3215-c966-bacfc8f97251@n14.ybtra.de>
> 
> Not a valid MID (Message-ID).  Those don't start with the news: URI.
> Once I removed "news:" from your proposed MID, the HK site could find
> the archive article.
> 
> 'Two links included in "<...>"' are missing from WHAT?  The References
> header?  If so, that header still has a maximum of 998 characters for
> line length even with continuation lines, so it will get truncated (by
> keeping the first MID and the last N MIDs for a total of 998 bytes
> maximum length, including the 12 characters for the "References: "
> header prefix).  Since the References header lines is only 587 bytes
> longs, it shouldn't be truncated.  Where are the "links" (whatever those
> might be) deleted?

In the body of the article:

| emil@wieslauf:/tmp$ diff -u original_article howardknight_article
| --- original_article    2019-09-02 14:06:32.671891844 +0200
| +++ howardknight_article        2019-09-02 14:08:56.242375387 +0200
| @@ -14,7 +14,7 @@
|  > 
|  > Die Methode sollte auch mit Knoppix entsprechend funktionieren.
| 
| -<http://knopper.net/knoppix/knoppix860.html>:
| +:
 
|  | Durch das neue Hybrid Layout der ISO-Datei kann diese
|  | jetzt auch direkt 1:1 auf USB-Stick kopiert werden, mit
| @@ -72,5 +72,5 @@
|  Marcel
|  -- 
|  KNOPPIX/8.6
| -np: <https://www.youtube.com/watch?v=6K1WbgJnDSk>
| +np: 
|      A. Bruckner, 8, Symphonie, Finale

-- 
Emil
Re: Usenet Article Lookup site has been updated
#263704
Author: VanguardLH
Date: Mon, 02 Sep 2019 20:39
17 lines
1472 bytes
Emil Schuster <emil@wieslauf.sub.de> wrote:

> VanguardLH wrote:
>
>> 'Two links included in "<...>"' are missing from WHAT?
> 
> In the body of the article:
> 
> <http://knopper.net/knoppix/knoppix860.html>:
>  
> <https://www.youtube.com/watch?v=6K1WbgJnDSk>

I see those URLs in the Howard Knight copy of the article.  See the
following screenshot of the HK web page for the article (the links are
shown in red-colored boxes):

https://imgur.com/uTsrigJ
Re: Usenet Article Lookup site has been updated
#263705
Author: Emil Schuster
Date: Mon, 02 Sep 2019 22:00
24 lines
1690 bytes
VanguardLH wrote:
> Emil Schuster <emil@wieslauf.sub.de> wrote:
> 
> > VanguardLH wrote:
> > 
> > > 'Two links included in "<...>"' are missing from WHAT?
> > 
> > In the body of the article:
> > 
> > <http://knopper.net/knoppix/knoppix860.html>:
> >  
> > <https://www.youtube.com/watch?v=6K1WbgJnDSk>
> 
> I see those URLs in the Howard Knight copy of the article.  See the
> following screenshot of the HK web page for the article (the links are
> shown in red-colored boxes):
> 
> https://imgur.com/uTsrigJ

Oops... Now I see those URLs...

Maybe the code has been changed in the meantime?
-- 
Emil
Re: Usenet Article Lookup site has been updated
#263706
Author: Howard Knight
Date: Mon, 02 Sep 2019 22:53
8 lines
1435 bytes
VanguardLH <V@nguard.LH> wrote:

> 'Two links included in "<...>"' are missing from WHAT? 

There was a bug where less-than (<) and greater-than (>) characters where
not being escaped properly. That has been fixed.

Howard
Re: Usenet Article Lookup site has been updated
#263707
Author: Marcel Logen
Date: Tue, 03 Sep 2019 00:18
13 lines
2107 bytes
Howard Knight wrote:

>There was a bug where less-than (<) and greater-than (>) characters where
>not being escaped properly. That has been fixed.

OK, thank you. The links in my article are now visible.

Marcel
-- 
    โ•ญโ”€โ”€โ•ฎ โ•ญโ”€โ•ฎ โ•ญโ”€โ•ฎ  โ•ญโ”€โ•ฎ โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ  โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ              
โ•ญโ”€โ”€โ”€โ•ฏ  โ•ฐโ”€โ•ฏ โ•ฐโ”€โ•ฏ โ•ฐโ”€โ”€โ•ฏ โ•ฐโ”€โ•ฏ          โ•ญโ”€โ•ฏ  โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ         โ•ฐโ”€โ”€โ•ฎ         โ•ญโ”€
โ•ฏ                              โ•ญโ”€โ•ฏ โ•ญโ”€โ”€โ”€โ”€โ”€โ•ฎ โ•ญโ”€โ•ฎ โ”‚        โ•ญโ”€โ”€โ”€โ•ฏ       โ•ญโ”€โ•ฏ 
                               โ•ฐโ”€โ”€โ”€โ•ฏ     โ•ฐโ”€โ•ฏ โ•ฐโ”€โ•ฏ        โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ   
Re: Usenet Article Lookup site has been updated
#263708
Author: VanguardLH
Date: Tue, 03 Sep 2019 02:49
28 lines
1897 bytes
Emil Schuster <emil@wieslauf.sub.de> wrote:

> VanguardLH wrote:
>> Emil Schuster <emil@wieslauf.sub.de> wrote:
>> 
>>> VanguardLH wrote:
>>> 
>>> > 'Two links included in "<...>"' are missing from WHAT?
>>> 
>>> In the body of the article:
>>> 
>>> <http://knopper.net/knoppix/knoppix860.html>:
>>>  
>>> <https://www.youtube.com/watch?v=6K1WbgJnDSk>
>> 
>> I see those URLs in the Howard Knight copy of the article.  See the
>> following screenshot of the HK web page for the article (the links are
>> shown in red-colored boxes):
>> 
>> https://imgur.com/uTsrigJ
> 
> Oops... Now I see those URLs...
> 
> Maybe the code has been changed in the meantime?

HK reported a bug and did a fix.  Looks like it happened in the 8 hours
between your "it's in the body" post and my post about the links being
there.
Re: Usenet Article Lookup site has been updated
#263709
Author: VanguardLH
Date: Tue, 03 Sep 2019 03:12
59 lines
3342 bytes
VanguardLH <V@nguard.LH> wrote:

> Emil Schuster <emil@wieslauf.sub.de> wrote:
> 
>> VanguardLH wrote:
>>> Emil Schuster <emil@wieslauf.sub.de> wrote:
>>> 
>>>> VanguardLH wrote:
>>>> 
>>>> > 'Two links included in "<...>"' are missing from WHAT?
>>>> 
>>>> In the body of the article:
>>>> 
>>>> <http://knopper.net/knoppix/knoppix860.html>:
>>>>  
>>>> <https://www.youtube.com/watch?v=6K1WbgJnDSk>
>>> 
>>> I see those URLs in the Howard Knight copy of the article.  See the
>>> following screenshot of the HK web page for the article (the links are
>>> shown in red-colored boxes):
>>> 
>>> https://imgur.com/uTsrigJ
>> 
>> Oops... Now I see those URLs...
>> 
>> Maybe the code has been changed in the meantime?
> 
> HK reported a bug and did a fix.  Looks like it happened in the 8 hours
> between your "it's in the body" post and my post about the links being
> there.

Remember that HK is presenting a web page to show the Usenet article.
When displaying a Usenet article at HK, right-click on the page and
select to show its source to see all the HTML coding.

HTML is involved.  The article is placed between a the <PRE> and </PRE>
HTML tags to show it as text.  However, any special HTML characters have
to be escaped or use entity codes, like &lt; or &#60; for the less-than
sign ("<").

https://www.w3schools.com/html/html_entities.asp

There are LOT more HTML entity codes than in the above article.  See:

https://www.freeformatter.com/html-entities.html

However, not all need to be used to represent the original character,
like you don't need to use &#48; to represent 0 (zero).  Since HK just
converted to PHP, might take a bit before he catches all the HTML
special characters inside the <PRE></PRE> tag that need to be
represented as HTML entities.

I would've thought HK already had a conversion table setup in his Perl
version, but maybe PHP differs on coding the entities in the table.

I don't know why HK is chopping down the path.  He shows the injection
node (right-most or first node in the PATH header) but the front end
(last prepended server) is getting truncated and replaced with "...!".
Guess he doesn't want his NNTP server prepended to the PATH header.
Re: Usenet Article Lookup site has been updated
#263712
Author: Howard Knight
Date: Tue, 03 Sep 2019 23:20
18 lines
2181 bytes
VanguardLH <V@nguard.LH> wrote:

> I would've thought HK already had a conversion table setup in his Perl
> version, but maybe PHP differs on coding the entities in the table.

I only escape the characters that are necessary. I encourage people to use
the โ€œview for bookmarkingโ€ link, which will display the article in plain
text. It also saves the article on my site permanently.

> I don't know why HK is chopping down the path.  He shows the injection
> node (right-most or first node in the PATH header) but the front end
> (last prepended server) is getting truncated and replaced with "...!".
> Guess he doesn't want his NNTP server prepended to the PATH header.

That is correct. I use multiple NNTP severs for searching and do not want
to disclose/advertise them. 

Howard
Re: Usenet Article Lookup site has been updated
#263711
Author: Sn!pe
Date: Tue, 03 Sep 2019 23:33
21 lines
2728 bytes
Howard Knight <howardkinsd@yaEXPUNGEhoo.com> wrote:

> VanguardLH <V@nguard.LH> wrote:
[...] 
> > I don't know why HK is chopping down the path.  He shows the injection
> > node (right-most or first node in the PATH header) but the front end
> > (last prepended server) is getting truncated and replaced with "...!".
> > Guess he doesn't want his NNTP server prepended to the PATH header.
> 
> That is correct. I use multiple NNTP severs for searching and do not want
> to disclose/advertise them. 
> 
> Howard
 
Quite right too.  
Regardless, it's a very useful resource, 
thank you for your efforts, Howard.  

-- 
^ร^   My pet rock Gordon just is.  
   
Re: Usenet Article Lookup site has been updated
#263713
Author: VanguardLH
Date: Wed, 04 Sep 2019 05:26
14 lines
1786 bytes
Howard Knight <howardkinsd@yaEXPUNGEhoo.com> wrote:

> VanguardLH <V@nguard.LH> wrote:
> 
>> I would've thought HK already had a conversion table setup in his Perl
>> version, but maybe PHP differs on coding the entities in the table.
> 
> I only escape the characters that are necessary. I encourage people to use
> the โ€œview for bookmarkingโ€ link, which will display the article in plain
> text. It also saves the article on my site permanently.

Ooh, I like that.  Presentation as plain text.  No worries about copying
HTML when highlighting "text" to paste elsehwere.  I didn't notice that
before.  Is it new?
Re: Usenet Article Lookup site has been updated
#263714
Author: Howard Knight
Date: Wed, 04 Sep 2019 14:05
14 lines
2094 bytes
On 9/3/2019 10:26 PM, VanguardLH wrote:

> Howard Knight <howardkinsd@yaEXPUNGEhoo.com> wrote: >> I only escape the characters that are necessary. I encourage people 
to use
>> the โ€œview for bookmarkingโ€ link, which will display the article in plain
>> text. It also saves the article on my site permanently.
> 
> Ooh, I like that.  Presentation as plain text.  No worries about copying
> HTML when highlighting "text" to paste elsehwere.  I didn't notice that
> before.  Is it new?

No. That feature was there from the beginning :-)

Howard
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