Live data from Hacker News

I Blog with Raw HTML

devpoga.org

31–40 of 137 posts

Re: I Blog with Raw HTML

#31
> the blog you’re reading now is written in raw HTML, with md-block for markdown, and highlight.js for syntax highlighting.

That doesn't sound like raw HTML to me. I write my own blog in raw HTML with a text editor (BBEdit), no JavaScript, and no server-side script either.

For good measure, I also write my RSS feed in raw XML with a text editor.

Re: I Blog with Raw HTML

#32
post #23
post #6

What do you mean by raw html ?? Using js and stylesheet in your head tag, well you didn't mean pure html only site

I think it means literally writing the blog post directly as HTML, instead of as something that will then be turned into HTML tags (like Markdown).

But… he _is_ writing markdown.

Re: I Blog with Raw HTML

#33
post #15

> However, even a static site generator will deprecate some features one day No? You don't need to upgrade to the version that deprecates. Besides, what features are you using with such a simple blog the are at risk?

I used wintersmith.io. At some point it was abandoned and eventually the node version needed was old and other stuff associated with it. It became a hassle.

Re: I Blog with Raw HTML

#34
Blogging in raw html means you fire up emacs, tramp to the blogs index.html find the last closing p tag and underneath put the post headline and timestamp and an opening p tag on the next line and you are off to the races.

Of course opening the index in tramp, putting the heading, timestamp and p tag goes into a function or paused kbd-macro so it fits into Mx blogthis

Re: I Blog with Raw HTML

#35
My favourite project of mine is a little web server to support raw html blogs! It can handle serving via ssl, and adds features like an rss feed, a sitemap and a few go templates to make directory listings easy to maintain. The README is pretty authoritative for documentation.

https://github.com/PlayTechnique/andrew

Re: I Blog with Raw HTML

#36
I like it, but raw HTML doesn't mean it has to look like it's from the 90s. He could centre the text with CSS, add some whitespace, specify system fonts, rather than just Times Roman etc.

An example of what I mean: http://bettermotherfuckingwebsite.com/

A more flashy example: https://thebestmotherfucking.website/

Re: I Blog with Raw HTML

#37

Blogging in raw html means you fire up emacs, tramp to the blogs index.html find the last closing p tag and underneath put the post headline and timestamp and an opening p tag on the next line and you are off to the races. Of course opening the index in tramp, putting the heading, timestamp and p tag goes into a function or paused kbd-macro so it fits into Mx blogthis

Lol. Once you start learning about Elisp and the Emacs platform, it's so trivial to write up scripts like this. Mostly due to the fact, that every command is also a function, and the whole state of the software is accessible. I have a bunch of ebooks (pdf) in a folder, and on macOS, I created a quick workflow that fuzzy search them (file name) and open the selected one using Alfred.app. I created the same feature for the shell using fzf, and the emacs version (using consult-find) was equally short.

Re: I Blog with Raw HTML

#38
post #2

I'm blogging with Raw HTML since the beginning of this year. The biggest missing piece is probably RSS support which makes me sad. I can write a script to generate that from the list of article but I'm not sure if there's better way.

Bro just write your blog in rss, no styling needed. You need that raw RSS

Re: I Blog with Raw HTML

#39

Am curious. How is this raw HTML if you're using markdown? But on the other side, writing in raw HTML is a fascinating topic I've been very intrigued by. http://john.ankarstrom.se/html/ is a very inspiring post.

I write my blog in markdown and serve it to the browser as such, with a one-liner javascript include to render it in browsers that support that. I like that the "canonical" post source is preserved and served (you can read it with telnet, in a pinch).
Post reply on HN