143 comments

[ 2.9 ms ] story [ 84.9 ms ] thread
Interview with the founder on the Register[0]

[0] https://www.theregister.com/2021/03/29/google_news_netscape_...

Thanks for the link. Technical part from that interview:

> On a technical level, the site obtains stories through the existing Google News RSS feed, which are then processed with some PHP trickery. "Google News has a very nice RSS feed, for each topic, language and country. So I thought I could connect to that feed, and write some code to simplify the result way down to extremely basic HTML, targeting only tags available in the HTML 2.0 specification from 1995," said Malseed.

> "So I used a PHP library called SimplePie to import the feed, and wrote some PHP code to simplify the results into a nice front page, using Netscape 2.0.2 on my 1989 Mac SE/30 to make sure it loaded fast and looked nice. The articles were a little more difficult, because they are on all sorts of different news sites with different formatting.

> "So I found that Mozilla has an open-source library called Readability, which is what powers Firefox's reader mode. I used the PHP port of this, and then wrote a proxy that renders articles through Readability, and then I added some code to strip the results down even further to extremely basic HTML."

This is great. I have been looking for a "world news in the style of techmeme" that isn't the drudge report.
Very retro with all those <font size="5"> tags, but that's the job of CSS :)

Edit: there was no CSS support in 1.1 :)

Yep, CSS wasn't really supported anywhere until 1997. Most places were still using font tags and table-based layouts for quite a while after.
And in the 90s CSS was unreliable and often difficult to use. Internet Explorer made it difficult to go full CSS for a long time.
I still think CSS is difficult to use. Out of HTML/CSS/JS, I despise CSS the most.
It's what drove me out of wanting to work in Web authoring. I looked at CSS and literally decided "I am not going to learn this."
It has gotten a bit better. The early CSS era (floats, etc) was worse than tables, I thought.
Early CSS had a huge problem with this.

"Don't use tables, use CSS!" was a big message. But CSS's tools for tabular layout were extremely poor and difficult to use, leading to much frustration. It was a joke how hard it was to create a simple responsive three column layout in CSS, a thing easily accomplished with tables and very common on the web. Getting that three column layout right seemed like black magic in CSS1.

Yep, it was absurd. I remember spending hours fighting with CSS to do something that would've taken 5 minutes with tables. Maybe I was just bad at it.
I feel quite the opposite now, a table feels like so much typing compared to a quick flexbox layout. Even when I legitimately need a table, I dread it.
If Flexbox had been in CSS from the start I think people would have a far more favorable view of CSS.
> "Don't use tables, use CSS!" was a big message.

It was, but in hindsight maybe the message needed to be elaborated more. Perhaps it should've been "Don't use tables for layout, use CSS!"

Besides that, CSS IMO accelerated more complex and visually pleasing websites, and arguably spurned on the Web 2.0 look. Unfortunately, due to the message not specifying the for layout bit, it took a while for many devs to unlearn that tables are bad – tables aren't, they should just be used for tabular data.

But this was exactly the problem. They said "don't use tables", but then didn't have anything that could do what you could do easily with tables. Instead you got many hours of arcane and confusing combinations of float: and clear: tags. Especially if you were trying to avoid absolute positioning and wanted the page to be responsive.
Also http since https was not supported at the time. What a way to commit into an idea!
It's committed to the idea so that it actually works on period machines. See /r/retrobattlestations announce thread: https://old.reddit.com/r/retrobattlestations/comments/meqlql...

It's surprisingly tractable to plug 90s machines into the internet via ethernet adapters or little serial gadgets that can do SLIP or pretend to be hayes modems, but the modern web full of crypto and execution environments that can bring modern computers to their knees is not kind to them.

At the same time, it's interesting to see those tags used for what otherwise looks like a pretty un-styled page.

Like, part of the premise of CSS was progressive enhancement, where just the semantic structure alone would provide an adequate experience with however the browser might choose to render those elements by default. Basically my question is, if the font size tags were taken out and just bare h3/h4/p used instead, would that still render a usable page on Netscape 1.1? Could you then supply font overrides via a <style> tag in the header which could be applied by later browsers?

Obviously it would be a different kind of experiment as the result would no longer be identical across all the "supported" browsers, but might be an interesting comparison point.

And this is how the web supposed to be.
And it looks fine and is perfectly functional. Maybe just tweak the background.
Looks fine? It is a big blob of undistinguished text. If you squint your eyes everything looks the same. The lack of column widths means your eyes have to do a lot of scanning especially on a bigger/wider screen. The lack of color/font/size differentiation means there's almost no information hierarchy to it. While we all might complain about advertisements and loading times, I for one are very glad we have moved on so significantly.
Wish the width was a little narrower, or fluid. Reading on a phone is kind of small.
(comment deleted)
This looks almost like an RSS feed.
Great! For even better results, please, set the background-color to `#C0C0C0`. (Netscape default. However, I'm not sure, if this was also the default on Windows, as well.)

Compare this bookmarklet: https://www.masswerk.at/bookmarklets/netscapify/

Agreed. Blue text on white background is jarring. And I was wondering what the original Netscape Grey was!

Argh. Hoping "Godzilla vs Kong" reviews were going to be better. When will Hollywood learn the secret to a good kaiju film = less humans, more monsters ;)

This is great. Google News has been unavailable in my area for years.
I prefer this to the full-fat version anyway, even on modern CPUs. Bookmarked
I know I'm the only one who's reading news on the Kindle Voyage, but I'm definitely adding this to my bookmarks list on the e-reader. Super cool!
Subjective, but I wonder if browsers had defaulted to sans serif font instead of serif, people wouldn't complain about "how bad this webpage looks". I get the document origins of course.
I'm curious where the data get fetched from. The Author mentions that Mozilla Readability and SimplePie are used.

Readability to parse the content. SimplePie to fetch the data (I assume). Dat from RSS feeds?

In case you want to make something similar, I recently wrote a blog on where you could get news data for free [1]

(self-promo) I'd recommend to take a look at my Python package to mine news data from Google News [2]. Also, in 3 days we're releasing an absolutely free News API [3] that will support ~50-100k top stories per day.

[1] https://blog.newscatcherapi.com/an-ultimate-list-of-open-sou...

[2] https://github.com/kotartemiy/pygooglenews

[3] https://newscatcherapi.com/free-news-api

Comparing this to the normal Google News, we have a load time of 450ms vs 6500ms on a fairly beefy workstation. I have a new bookmark..
Love this. Loads much much faster than Google PWA page.
It would be great to get this working on each of our personalized Google News feed. But I suspect it would require either a userscript stylesheet or Google sign-in (if that even gives you a personalized feed).
Viewing the source of that webpage really takes you back. Plain old HTML. It's nostalgic beauty.

I recently fixed up an old 486 I purchased off eBay but it was bittersweet when I managed to get it connected to the 'net. Most websites were inaccessible due to the lack of support for today's encryption protocols, those that were had numerous JavaScript issues.

Except this bullshit:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 2.0//EN">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <html>
Back in the day, you only needed:

    <html>
Don't you only need

    <!DOCTYPE html>
    <html>
these days? That's slightly worse but not terribly so IMO.
Oh I actually quoted the website's source. They have that DTD meta crap in there.

But I think you can just do <html> nowadays and it empirically just works. Seriously, screw the anti-DRY people that want me to put some !DOCTYPE or xmlns tags with some W3C links or some DTD nonsense inside ... I should only have to specify "html" exactly once, no more.

If I had designed the spec I would have just made it

    <html version="4.0">
    <html version="5.0">
    <html version="5.1">
Incredibly more readable, and memorizable. A markup language (literally), by virtue of being a markup language, should not be impossible to memorize. Making scary strings like "-//W3C///DTD" part of the spec is counterproductive.
You don't even need <html>. <https://html.spec.whatwg.org/multipage/semantics.html#the-ht...>

This is a valid HTML5 document:

    <!doctype html>
    <title>This is valid!</title>
    <p>Really, it's valid!
Paste it into the validator yourself if you don't believe me: <https://validator.w3.org/nu/#textarea>
Wow, I didn't actually know that. That feels...so dirty!
That's SGML tag inference at work (theoretically at least, since browsers have HTML parsing rules hardcoded). SGML knows, by the DOCTYPE declaration, that the document must start with an "html" element, so it infers it if it isn't there. Next, by the content model declared for the "html" element (normally obtained via the ugly public identifier that sibling comments complain about), a "head" element is expected, so SGML infers it as well if it's declared omissible, and so on.
In the "old days", web pages were often just the bare content (no html, head, body containers, no DOCTYPE declaration). A few sites also featured just the body tag (and respective content) for setting the background attribute for the page background color.

E.g., this is the entire code of Netscape's first home page:

    <TITLE>Welcome to Mosaic Communications Corporation!</TITLE>
    <CENTER>
    <A HREF="MCOM/index2.html"><IMG SRC="MCOM/images/mcomwelcome1.gif" BORDER=1></A>
    <H3>
    <A HREF="MCOM/index2.html">Click on the Image or here to advance</A>
    </H3>
    </CENTER>
http://home.mcom.com/
I LOVE <center> and still use it sometimes because it's too goddamn complicated to center anything days.

"margin-left:auto;margin-right:auto;" what the F???

"width:500px;margin-left:-250px;left:50%;" what the #$#$@?

Are they kidding?

Nitpick 1: That DTD is for HTML 2.0, which was published in 1995. If that does not qualify as "back in the day", I don't know what does.

Nitpick 2: <meta> goes inside <html> (inside <head>, really).

Nitpick 3: The <meta> tag is only a band-aid for shitty webhosting where you cannot access the webserver config to make it send the correct Content-Type in the actual HTTP response headers. The modern <!DOCTYPE html> instead implies a default of UTF-8 which works well for most.

Nitpick nitpick: the html doctype doesn't imply UTF-8. Valid modern HTML documents must be encoded using UTF-8, but the standard also requires that the encoding be specified somehow.

> The Encoding standard requires use of the UTF-8 character encoding and requires use of the "utf-8" encoding label to identify it... If an HTML document does not start with a BOM, and its encoding is not explicitly given by Content-Type metadata, and the document is not an iframe srcdoc document, then the encoding must be specified using a meta element with a charset attribute or a meta element with an http-equiv attribute in the Encoding declaration state.

<https://html.spec.whatwg.org/multipage/semantics.html#charac...>

Also utf-8 (or any Unicode) wasn't supported by most (all?) Netscape versions. Falling back to default Latin1 works with English text though.
I do appeciate some of it, but I don't miss this type of thing:

  <font size="5" color="#9400d3">
Though I understand why they are doing it in this case.
Definitely was a lot of work without CSS.

The <table> layouts are definitely not missed by me.

Were you just using the browser/OS it came with, I guess like Windows 3.1 or 95?

Given their well-publicized insistence on building for a ton of obscure arches, I'd expect you could run modern Debian on such a machine no problem, with a modern web browser. Might be a little slow, especially if you stick with the original disk, but should be perfectly usable.

> I'd expect you could run modern Debian on such a machine no problem...

Nope. Current builds of i386 Debian require a Pentium Pro or later -- I believe it's because they're compiled with the CMOV instruction, which wasn't present in the Pentium or earlier.

Ah, good point. Looks like Debian Jessie might have worked for it? In any case, distrowatch suggests a few others like Alpine and TinyCore that might have the proper support.
Yeah I had installed Windows 3.1 and tried IE and Netscape Navigator Gold.

Linux might be a whole other battle to get working but might be a fun project to attempt.

Try NetBSD with Lynx. OpenSSL will last several seconds, but it will work.
Not having HTTPS certificate is a nice touch :-)
Is meta tag outside of html intentional? HTML 2.0 was way before my webdev days.
I'm going to hazard a guess, that because ancient browsers sometimes displayed html tags they didn't understand, the author has deployed a hack to ensure the correct character encoding is used on a new browsers without soiling the rendering on older systems.

Also, I was hoping that 68k.news supported HTTP 1.0, but it doesn't, it's a virtual host on the IP, so needs the host: header variable set, which is HTTP 1.1 - that's a bit of a shame as it means the original browsers such as Mosaic can't access it.

You can experience this on an (emulated) 68k Mac in your browser using Oldweb.Today: https://oldweb.today/?browser=ns3-mac#http://68k.news/
First impression: "Wow, this warms my heart."

Second impression: instinctively tries scrolling with trackpad _help why isn't it working_

This really made my day, thank you for sharing it.

Oh wow -- this takes me back to when I first experienced the graphical Internet on a Macintosh IIsi! Thanks!
"Sorry, OldWeb.today can not run in this emulator in your current browser. Please try the latest version of Chrome or Firefox to use this emulator."

Funny that an emulated Mac hates Safari.

This is similar to a site that I built! http://feather.news

Best viewed on mobile and you can optionally use a version without images by clicking the link at the top right of the page.

I like the layout of yours better. But I still like 68k's feature of giving you the readable version of the stories too.
I like it. I'd love to chat about newsapi.org

Let me know if you have some time