~rkta/blog

525b367866c5bc746fde1bea9cb94cc3501e2c31 — Rene Kita 26 days ago b210aab
Update gemini post to point to git repo
1 files changed, 7 insertions(+), 6 deletions(-)

M w3m-gemini.mc
M w3m-gemini.mc => w3m-gemini.mc +7 -6
@@ 1,7 1,7 @@
<!-- vi: set syntax=m4html : -->
define(`TITLE', `Gemini support for w3m')dnl
define(`DATE', `2023-01-23')dnl
define(`MODIFIED', `2023-11-15T14:38:59Z')dnl
define(`MODIFIED', `2024-09-07T17:10:11Z')dnl
define(`LANG', en)dnl

<!DOCTYPE html>


@@ 14,10 14,10 @@ include(header.mc)
<h1>TITLE</h1>
<time>DATE</time>

<p><em>tl;dr</em> I wrote a <a href="./assets/gemini.patch">patch</a> to add Gemini support to w3m.</p>
<p><em>tl;dr</em> I wrote a patch to add Gemini support to w3m. Checkout branch 'gemini' from my <a href="https://git.sr.ht/~rkta/w3m">git repo</a></p>
<hr>

<p> I started adding <a href="https://gemini.circumlunar.space/">Gemini</a>
<p> I started adding <a href="https://geminiprotocol.net/">Gemini</a>
support to <a href="https://en.wikipedia.org/wiki/W3m">w3m</a>. As a user w3m
is a great piece of software. It has good HTML support and speaks nearly all
other protocols you'll come across while surfing the web`'FN. It


@@ 49,10 49,9 @@ protocol to a 28 year old piece of software. </p>

<h2>How to</h2>
<ul>
<li>Get the w3m sources: CODE(`git clone https://github.com/tats/w3m')</li>
<li>Get the w3m sources: CODE(`git clone https://git.sr.ht/~rkta/w3m')</li>
<li>Change into the new directory: CODE(`cd w3m')</li>
<li>Download the <a href="./assets/gemini.patch">patch</a>: CODE(`wget https://rkta.de/assets/gemini.patch')</li>
<li>Apply the patch: CODE(`patch &lt; gemini.patch')</li>
<li>Checkout branch gemini: CODE(`git checkout gemini')</li>
<li>Get the build dependencies: CODE(`apt-get build-dep w3m') (or the equivalent of your distro)
<li>Configure and build: CODE(`./configure &amp;&amp; make')</li>
<li>Try: CODE(`./w3m gemini://rkta.srht.site/w3m-gemini.gmi')</li>


@@ 68,6 67,8 @@ irc.libera.chat</a>

<h2>Changelog</h2> <!-- This is in <pre> because gemtext doesn't support nested lists. -->
<pre>
2024-09-07:
	This is now maintained in a separate git branch
2024-05-16:
	Really make sure the correct buffer type is set
	Thanks to IRC user cizra for debugging and reporting!