1
Fork 0

clean up gopher jekyll config, remove atom feed

main
Zachary Flower 1 year ago
parent da14133138
commit f9f3ecfe69
  1. 7
      _config.gopher.yml
  2. 4
      gopher/_data/pages.yml
  3. 5
      gopher/_posts/2021-11-16-pocket-pc.txt
  4. 89
      gopher/feed.xml

@ -18,13 +18,6 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: ~crlf
author: ~crlf
email: crlf@tilde.town
description: Quite.
baseurl: "/1/~crlf"
url: "gopher://tilde.down"
source: gopher
destination: _gopher

@ -1,5 +1,3 @@
entries:
- title: 'Phlogroll'
selector: 'phlogroll'
- title: 'Atom Feed'
selector: 'feed.xml'
selector: './phlogroll'

@ -14,10 +14,7 @@ Class notes, scheduling, (delayed) emails... it was like night and day when comp
But that wasn’t the point. As a budding professional nerd, there was something magical about having a computer in my pocket. And as much as my friends teased me for having such a "huge phone," I couldn’t care less. It felt like having a sneak preview of the future (a future where the phones were twice the size of my humble Pocket PC).
It's been a few days now, and so far it gives me the same feels that it used
to, but now I can appreciate the quirks more. Thanks to a collection of old
dongles and wifi modules, I’ve got it on the internet (something that is
impressively usable thanks to Opera Mini 5.1 [[http://m.opera.com]]) and have it syncing with my old Windows XP laptop. Unlike my excursion into LineageOS, I actually have a plan for this thing...
It's been a few days now, and so far it gives me the same feels that it used to, but now I can appreciate the quirks more. Thanks to a collection of old dongles and wifi modules, I’ve got it on the internet (something that is impressively usable thanks to Opera Mini 5.1 [[http://m.opera.com]]) and have it syncing with my old Windows XP laptop. Unlike my excursion into LineageOS, I actually have a plan for this thing...
I’m going to use it to manage my technostalgic experiments. The tasks list is great, and I can keep my notes in context (I'm even writing *this* on it). Most importantly, I can give it a purpose, which means it won’t be languishing in a box anymore.

@ -1,89 +0,0 @@
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" {%- if site.lang -%}xml:lang="{{ site.lang }}"{%- endif -%}>
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
<link href="{{ page.url | absolute_url }}" rel="self" type="application/atom+xml" />
<link href="{{ '/' | absolute_url }}" rel="alternate" type="text/html" {% if site.lang %}hreflang="{{ site.lang }}" {% endif %}/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ page.url | absolute_url | xml_escape }}</id>
{%- assign title = site.title | default: site.name -%}
{% if title %}
<title type="html">{{ title | smartify | xml_escape }}</title>
{%- endif -%}
{%- if site.description %}
<subtitle>{{ site.description | xml_escape }}</subtitle>
{%- endif -%}
{%- if site.author %}
<author>
<name>{{ site.author.name | default: site.author | xml_escape }}</name>
{%- if site.author.email %}
<email>{{ site.author.email | xml_escape }}</email>
{%- endif -%}
{%- if site.author.uri %}
<uri>{{ site.author.uri | xml_escape }}</uri>
{%- endif %}
</author>
{%- endif -%}
{%- assign posts = site.posts | sort: "date" | reverse -%}
{%- assign posts_limit = site.feed.posts_limit | default: 10 -%}
{% for post in posts limit: posts_limit %}
<entry{% if post.lang %} xml:lang="{{ post.lang }}"{% endif %}>
{% assign post_title = post.title | smartify | strip_html | normalize_whitespace | xml_escape -%}
<title type="html">{{ post_title }}</title>
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post_title }}" />
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
<id>{{ post.id | absolute_url | xml_escape }}</id>
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }}</content>
{%- assign post_author = post.author | default: post.authors[0] | default: site.author -%}
{%- assign post_author = site.data.authors[post_author] | default: post_author -%}
{%- assign post_author_email = post_author.email | default: nil -%}
{%- assign post_author_uri = post_author.uri | default: nil -%}
{%- assign post_author_name = post_author.name | default: post_author %}
<author>
<name>{{ post_author_name | default: "" | xml_escape }}</name>
{%- if post_author_email %}
<email>{{ post_author_email | xml_escape }}</email>
{%- endif -%}
{%- if post_author_uri %}
<uri>{{ post_author_uri | xml_escape }}</uri>
{%- endif %}
</author>
{%- if post.category %}
<category term="{{ post.category | xml_escape }}" />
{%- elsif post.categories -%}
{% for category in post.categories %}
<category term="{{ category | xml_escape }}" />
{%- endfor -%}
{%- endif -%}
{%- for tag in post.tags %}
<category term="{{ tag | xml_escape }}" />
{%- endfor -%}
{%- assign post_excerpt = post.excerpt | strip_html | normalize_whitespace | xml_escape -%}
{%- if post_excerpt and post_excerpt != empty %}
<summary type="html">{{ post_excerpt }}</summary>
{%- endif -%}
{%- assign post_image = post.image.path | default: post.image -%}
{%- if post_image -%}
{%- unless post_image contains "://" -%}
{%- assign post_image = post_image | absolute_url -%}
{%- endunless %}
<media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="{{ post_image | xml_escape }}" />
<media:content medium="image" url="{{ post_image | xml_escape }}" xmlns:media="http://search.yahoo.com/mrss/" />
{%- endif %}
</entry>
{%- endfor %}
</feed>
Loading…
Cancel
Save