<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tim's blog (Posts about html)</title><link>https://blog.thechases.com</link><description></description><atom:link href="https://blog.thechases.com/categories/html.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2026 &lt;a href="mailto:blog@tim.thechases.com"&gt;Tim Chase&lt;/a&gt; </copyright><lastBuildDate>Tue, 06 Oct 2026 16:39:04 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>SmolWeb</title><link>https://blog.thechases.com/posts/smolweb/</link><dc:creator>Tim Chase</dc:creator><description>&lt;h2&gt;My take on the SmolWeb&lt;/h2&gt;
&lt;p&gt;Recently
&lt;a href="https://notes.kvibber.com/@kelson/statuses/01M46JMA184KFMDMV010W1NFDE"&gt;@Kelson&lt;/a&gt;
posted a survey
asking what makes something
"&lt;a href="https://smolweb.org"&gt;SmolWeb&lt;/a&gt;"
and whether it differs from "SmallWeb"
(I view them as largely the same)&lt;/p&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Only low-resource-specced non-corporate websites&lt;/li&gt;
&lt;li&gt;Also non-web small protocols like Gemini &amp;amp; Gopher&lt;/li&gt;
&lt;li&gt;Any personal/non-corporate website, but only &lt;em&gt;web&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Any non-corp website &lt;em&gt;and&lt;/em&gt; non-web small protocols&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;What defines the SmolWeb for me?
I figured I'd make a post out of it.&lt;/p&gt;
&lt;h3&gt;Document based&lt;/h3&gt;
&lt;p&gt;The SmolWeb tends to focus on sharing information,
not "app-like" behavior.
You point your browser to a location,
it returns some text with various degrees of markup,
you read it,
and you move on.&lt;/p&gt;
&lt;p&gt;A site might provide
some sort of search
or light form-submission
functionality,
but for the most part,
you just get documents back.&lt;/p&gt;
&lt;h3&gt;No scripting&lt;/h3&gt;
&lt;p&gt;Playing into the previous item,
&lt;strong&gt;NO SCRIPTING&lt;/strong&gt;.
No JavaScript.
No VB-Script.
No embedded Python.
A site can't hijack my mouse-cursor.
It won't mine cryptocurrency in the background.
It won't fingerprint my browser/computer
and track me across the web.
It won't auto-play video/audio advertisements.
It won't bog down my CPU with constant activity.&lt;/p&gt;
&lt;p&gt;Just the text.&lt;/p&gt;
&lt;h3&gt;Deferring to readers' visualization&lt;/h3&gt;
&lt;p&gt;Yes, CSS can do nice things for the presentation of content.
But &lt;em&gt;my&lt;/em&gt; taste and &lt;em&gt;your&lt;/em&gt; taste
can differ vastly.&lt;/p&gt;
&lt;p&gt;You might think that light-gray-on-brown looks great. 
Or that wispy font with curlicues looks elegant.
Or that hiding link-underlines looks classier.
Or that visited links should look the same as unvisited links.&lt;/p&gt;
&lt;p&gt;But I can't read it.
I can't see which text links elsewhere.
I can't tell which links I've already visited.&lt;/p&gt;
&lt;p&gt;I want to specify &lt;em&gt;my&lt;/em&gt;
font-faces,
font-sizes,
font-decoration,
foreground/background colors,
how headers or lists should look,
how links should look,
etc.&lt;/p&gt;
&lt;p&gt;I don't mind if a site offers hints via CSS
at what the site &lt;em&gt;wants&lt;/em&gt; the page to look like
but I should still have my preferred reading experience
even if all that gets stripped away.&lt;/p&gt;
&lt;p&gt;Specifications officially refer to the browser as a &lt;strong&gt;USER&lt;/strong&gt;-agent.
&lt;strong&gt;My&lt;/strong&gt; agent, doing &lt;strong&gt;my&lt;/strong&gt; bidding
and giving my preferred presentation.
Not a &lt;strong&gt;site&lt;/strong&gt;-agent.&lt;/p&gt;
&lt;h3&gt;No persistent data&lt;/h3&gt;
&lt;p&gt;No cookies.
No local storage.
No Flash object storage.
No local database.
No means to track me across the web
or even across your own site.&lt;/p&gt;
&lt;p&gt;You know my IP address
and the URI/URL that I requested.&lt;/p&gt;
&lt;p&gt;That's it.&lt;/p&gt;
&lt;h3&gt;Tables (if supported) only for tabular data&lt;/h3&gt;
&lt;p&gt;If you have a table of data, go ahead,
but don't use tables for visual layout.&lt;/p&gt;
&lt;h3&gt;Images optional&lt;/h3&gt;
&lt;p&gt;Feel free to link to reasonable
(modest-sized? sure;
distractingly animated GIF? preferably not
that 10MB hero-image? no thank you)
images.
Maybe my user-agent will render them inline.
Maybe my user-agent will provide me the option
to download and view them in an external viewer.
Some platforms like HTML offer
accessibility hints via alt-text
while others like Gopher/Gemini don't
(partly why I prefer simple HTML).&lt;/p&gt;
&lt;p&gt;Most importantly, don't add images needlessly.&lt;/p&gt;
&lt;h2&gt;Can corporate sites be SmolWeb sites?&lt;/h2&gt;
&lt;p&gt;While some might claim that corporate sites
automatically get disqualified as SmolWeb sites,
I'd posit that a corporation &lt;em&gt;could&lt;/em&gt; make a SmolWeb site.
But they want to force their branding colors/fonts.
They want to track their visitors
and glean as much click-tracking information as they can.
They want to pop up advertisements,
auto-play videos,
and otherwise make the experience about &lt;em&gt;them&lt;/em&gt;.
Due to the limitations above,
most &lt;em&gt;choose not to&lt;/em&gt; participate in the SmolWeb.&lt;/p&gt;
&lt;h2&gt;Thoughts on Gopher/Gemini&lt;/h2&gt;
&lt;p&gt;I grew up on WAIS/Gopher.
I searched with Archie &amp;amp; Veronica.
I have a soft spot for Gopher.
But I find it frustrating.
I can't provide sufficient semantic markup
(things like headings, lists, inline-links, tables, etc).&lt;/p&gt;
&lt;p&gt;Gemini had an opportunity to remedy some of those issues,
but declined to.
Its major contribution
came from enforcing TLS.
But the markup semantics and authoring experience
(particularly the one-line-is-a-paragraph aspect
since I prefer to use
&lt;a href="https://sembr.org/"&gt;semantic line-breaks&lt;/a&gt;
in my markup)
still lack.
And the browsing experience reflects that.&lt;/p&gt;
&lt;p&gt;So while I occasionally browse
Gopherspace and Gemini sites,
the experience leaves me a bit underwhelmed,
both as an author and as a reader.&lt;/p&gt;
&lt;p&gt;You can fudge it
by writing your Gopher/Gemini pages
with markup like
&lt;a href="https://daringfireball.net/projects/markdown/syntax"&gt;Markdown-like&lt;/a&gt;
where the text &lt;em&gt;looks&lt;/em&gt; like it has semantic structure.
But it doesn't.
So user-agent's can't do anything more than
display the raw pseudo-markup.&lt;/p&gt;
&lt;p&gt;As such, I prefer simple, semantic HTML here.
With a little CSS styling if you want it,
but feel free to browse with
&lt;a href="https://lynx.invisible-island.net/"&gt;&lt;code&gt;lynx&lt;/code&gt;&lt;/a&gt;
or
&lt;a href="https://www.dillo.org/"&gt;Dillo&lt;/a&gt;
or whatever HTML browser you want
and get pretty much the same experience.&lt;/p&gt;</description><category>gemini</category><category>gopher</category><category>html</category><category>smolweb</category><guid>https://blog.thechases.com/posts/smolweb/</guid><pubDate>Tue, 06 Oct 2026 15:40:54 GMT</pubDate></item><item><title>Why Nikola?</title><link>https://blog.thechases.com/posts/nikola/why-nikola/</link><dc:creator>Tim Chase</dc:creator><description>&lt;h2&gt;Why a static site generator over a dynamic blog engine?&lt;/h2&gt;
&lt;ul&gt;
 &lt;li&gt;
  &lt;p&gt;
  I prefer to work in raw HTML because I've been doing it for
  years, and the markup is readable.  For some reason,
  &lt;a href="http://en.wikipedia.org/wiki/Markdown"&gt;Markdown&lt;/a&gt;,
  &lt;a href="http://en.wikipedia.org/wiki/Textile_%28markup_language%29"&gt;Textile&lt;/a&gt;,
  and
  &lt;a href="http://en.wikipedia.org/wiki/Restructured_text"&gt;reST&lt;/a&gt;
  drive me nuts—mostly because it's easy for me to enter
  things I don't intend as markup, and when I want to do complex
  markup, I have to look up the obscure syntax in the
  documentation. &lt;strong&gt;Every. Single. Time.&lt;/strong&gt;
  &lt;/p&gt;

  &lt;p&gt;
  Most of the blogging engines (such as
  &lt;a href="http://wordpress.org"&gt;Wordpress&lt;/a&gt;
  and
  &lt;a href="http://drupal.org/"&gt;Drupal&lt;/a&gt;
  ) do allow for directly entering
  raw HTML, but it always feels like I'm fighting against the
  grain.  Every time I go to compose a post, I have to toggle
  into a special "HTML entry" mode.  One wrong turn and some of
  the engines will "sanitize" my HTML, reformatting everything.
  A blogging engine should treat my content as sacred and
  &lt;strong&gt;never&lt;/strong&gt; try to second-guess (or reformat) what
  I want.
  &lt;/p&gt;
 &lt;/li&gt;
 &lt;li&gt;
  To deploy these dynamic blog engines, it requires a server
  with the ability to run code (usually
  &lt;a href="http://php.net"&gt;PHP&lt;/a&gt;
  but some used &lt;code&gt;mod_perl&lt;/code&gt;, &lt;code&gt;mod_python&lt;/code&gt;,
  or &lt;code&gt;mod_cgibin&lt;/code&gt;) and a backing database such as
  &lt;a href="http://mysql.com"&gt;MySQL&lt;/a&gt;.
  Granted, you can find free and low-cost hosting that provides
  simple PHP/MySQL access, so this isn't a huge hurdle, but it
  does place additional restrictions on which services you can
  use.
 &lt;/li&gt;
 &lt;li&gt;
  Some of the cheap/free shared-hosting plans put so many hosts
  co-located on the same hardware that performance becomes an
  issue—both database processing and the engine's
  processing.  With a static site generator, there is very
  little overhead in serving static pages.
 &lt;/li&gt;
 &lt;li&gt;
  The more dynamic components in play, the more likely it is
  that vulnerabilities lurk due to the extra exposure.  With a
  static site, far fewer parts are in motion to be attacked so I
  don't worry about vulnerabilities in PHP, Wordpress, or MySQL.
 &lt;/li&gt;
 &lt;li&gt;
  Many of the blog engines don't support versioning of the
  content.  I can keep my static site content under revision
  control with
  &lt;a href="http://git-scm.com/" title="my preferred version control"&gt;git&lt;/a&gt;,
  &lt;a href="http://mercurial.selenic.com/"&gt;Mercurial&lt;/a&gt;,
  &lt;a href="http://subversion.apache.org/"&gt;Subversion&lt;/a&gt;,
  or a multitude of others.
 &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Why Nikola rather than the other static site generators?&lt;/h2&gt;
&lt;p&gt;
I compared several static site generators, both using a
&lt;a href="https://www.staticsitegenerators.net/"&gt;static site generator comparison site&lt;/a&gt;
and my own testing.  Top contenders included the following:
&lt;/p&gt;&lt;ul&gt;
 &lt;li&gt;&lt;a href="http://blosxom.sourceforge.net"&gt;blosxom&lt;/a&gt; (Perl)&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://cactusformac.com"&gt;Cactus&lt;/a&gt; (Python)&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://jekyllrb.com"&gt;Jekyll&lt;/a&gt; (Ruby)&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://hyde.github.io"&gt;Hyde&lt;/a&gt; (Python)&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://getnikola.com"&gt;Nikola&lt;/a&gt; (Python)&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://getnoblogger.sourceforge.net"&gt;NanoBlogger&lt;/a&gt; (Shell)&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://octopress.org"&gt;Octopress&lt;/a&gt; (Ruby)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;
As I tested them, I started to develop a list of criteria that
mattered to me:
&lt;/p&gt;&lt;ul&gt;
 &lt;li&gt;
  As a Python developer, I had a bias towards those built in
  Python.  It allows me to poke around under the hood, create
  patches when I find things I want to change, and gain a deeper
  understanding of how things worked in the event I hit edge
  cases.
 &lt;/li&gt;
 &lt;li&gt;
  Documentation mattered.  Several projects had documentation
  that was incomplete, hard to navigate, or required JavaScript
  (which prevented the docs from working nicely on one of my
  e-readers).
 &lt;/li&gt;
 &lt;li&gt;
  Additionally, some projects seem less than active in their
  development.  According to the
  &lt;a href="https://www.staticsitegenerators.net/"&gt;static site generator comparison site&lt;/a&gt;,
  some hadn't been updated in months or years while others have
  had sustained, ongoing development.
 &lt;/li&gt;
 &lt;li&gt;
  Most importantly, I wanted the ability to compose in HTML
  fragments rather than being forced to use Markdown, Textile,
  or reST.
 &lt;/li&gt;


&lt;p&gt;
 So I ended up settling on
 &lt;a href="http://getnikola.com"&gt;Nikola&lt;/a&gt;
 as it's developed in Python, allows me to use HTML fragments,
 has thorough documentation, and is actively developed.
&lt;/p&gt;&lt;/ul&gt;</description><category>drupal</category><category>git</category><category>html</category><category>markdown</category><category>markup</category><category>mercurial</category><category>python</category><category>subversion</category><category>wordpress</category><guid>https://blog.thechases.com/posts/nikola/why-nikola/</guid><pubDate>Sun, 02 Nov 2014 16:00:27 GMT</pubDate></item><item><title>Getting started with blogging</title><link>https://blog.thechases.com/posts/nikola/getting-started-with-blogging/</link><dc:creator>Tim Chase</dc:creator><description>&lt;h2&gt;Intro&lt;/h2&gt;
&lt;p&gt;
 I've long had an interest in starting up a simple blog for the
 purpose of documenting various projects on which I'm working.
 So it seems that the first thing I should blog about is the
 process of choosing and configuring blogging software.
&lt;/p&gt;

&lt;h2&gt;Hand-coded HTML&lt;/h2&gt;
&lt;p&gt;
 I started posting things on the web when I was in college where
 every page was hand-crafted HTML and dumped in
 &lt;code&gt;~/public_html/&lt;/code&gt; of my account on the Computer
 Science web server (I believe it started as a
 &lt;a href="http://en.wikipedia.org/wiki/DEC_ULTRIX"&gt;DEC ULTRIX&lt;/a&gt;,
 but then became a Red Hat box) and everything went live thanks to
 &lt;a href="http://apache.org"&gt;Apache&lt;/a&gt;
 running &lt;code&gt;mod_userdir&lt;/code&gt;.  Even before using HTML, I
 frequently used WordPerfect 5.1's "Reveal Codes" ability to
 inspect the control tags/codes used by the document which saved
 me much grief.  I still prefer HTML over modern markup
 competitors like
 &lt;a href="http://en.wikipedia.org/wiki/Markdown"&gt;Markdown&lt;/a&gt;,
 &lt;a href="http://en.wikipedia.org/wiki/Textile_%28markup_language%29"&gt;Textile&lt;/a&gt;,
 or
 &lt;a href="http://en.wikipedia.org/wiki/Restructured_text"&gt;reST&lt;/a&gt;
 because HTML's tags are consistent.  When trying the other
 markup languages, I frequently get stung by entering text that
 turns out to mean something to the markup engine, and when I
 reach for some of the more powerful features (tables, acronyms,
 code blocks, etc), I have to go to the reference materials every
 single time to make sure I get it correct.  In HTML, all markup
 consists of an opening &lt;code&gt;&amp;lt;&lt;/code&gt; followed by a closing
 &lt;code&gt;&amp;gt;&lt;/code&gt;, and entities are always escaped with
 &lt;code&gt;&amp;amp;&lt;/code&gt;.  Consistent—the way I like it.
&lt;/p&gt;

&lt;p&gt;
 However, any time I wanted to change the look and feel of the
 site, I had to touch every single file (at least those that I
 cared about) and I also had to remember to update any index
 pages every time I added or renamed a page.
&lt;/p&gt;

&lt;h2&gt;Server Side Includes&lt;/h2&gt;
&lt;p&gt;
 At some point, I explored using
 &lt;a href="http://en.wikipedia.org/wiki/Server_side_include"&gt;Server side includes&lt;/a&gt;
 to make the site look more uniform.  While it was a bit of a
 hassle, it had the advantage that I could update the look of the
 site by changing a couple included files.  I still had to
 manually update indexes, but it was a step in the right
 direction.  Again, for deployment, since my college server was
 running
 &lt;a href="http://apache.org"&gt;Apache&lt;/a&gt;
 with &lt;code&gt;mod_include&lt;/code&gt; installed,
&lt;/p&gt;

&lt;h2&gt;Dynamic blogging platforms&lt;/h2&gt;
&lt;p&gt;
 Then blogging platforms such as
 &lt;a href="http://wordpress.org"&gt;Wordpress&lt;/a&gt;
 and
 &lt;a href="http://drupal.org/"&gt;Drupal&lt;/a&gt;
 came along with dynamic sites backed by a database.  These held
 a lot more promise, allowing me to maintain my content and site
 theme independently.
&lt;/p&gt;

&lt;h2&gt;Static Site Generators&lt;/h2&gt;
&lt;p&gt;
 Finally, static site generators have grown in popularity.  They
 allow for lower server demands, a smaller attack-surface, and a
 separation of the content from the structure it populates and
 its .  This site has been created with
 &lt;a href="http://getnikola.com"&gt;Nikola&lt;/a&gt;,
 a static site generator developed in
 &lt;a href="http://python.org"&gt;Python&lt;/a&gt;.
&lt;/p&gt;</description><category>html</category><category>markup</category><guid>https://blog.thechases.com/posts/nikola/getting-started-with-blogging/</guid><pubDate>Sat, 01 Nov 2014 14:38:23 GMT</pubDate></item></channel></rss>