Small fixes, new now-burning posts

This commit is contained in:
Nathan Upchurch 2025-06-09 11:42:36 -05:00
parent 3871a05833
commit e8eb8c9bc9
13 changed files with 505 additions and 5 deletions

View File

@ -2,7 +2,7 @@
{% if postlistHeaderText %}<h2>{{ postlistHeaderText }}</h2>{% endif %} {% if postlistHeaderText %}<h2>{{ postlistHeaderText }}</h2>{% endif %}
<div class="postlist-item-container"> <div class="postlist-item-container">
{% for post in postslist | reverse %} {% for post in postslist | reverse %}
<article class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}"> <article class="postlist-item">
<div class="post-copy"> <div class="post-copy">
<h3> <h3>

View File

@ -0,0 +1,286 @@
---
title: "Poaster: Solving SSG Microblogging Ergonomics with Ruby and KDialog"
description: "Trying to make it a little less brutal to make small, frequent posts on SSGs."
date: 2025-06-08
tags:
- Site Updates
- Eleventy
- KDE
synopsis: "Trying to make it a little less brutal to make small, frequent posts on SSGs."
imageURL: "/img/poaster/poaster_icon.svg"
imageAlt: "An icon featuring a red toaster with the Ruby diamond on it popping out a sheet with the Markdown logo on it as though it were toast."
mastodon_id: "114650833104413858"
---
Anyone familiar with my blog will know that I like to write about incense. A reader wrote to me some time ago asking about what sticks I've been enjoying lately, and it occurred to me that it might be a nice thing to have a "now listening" type feature on my website, so that fellow incense heads could get a sense of the types of incense I like. After all, while I write plenty of incense reviews, they represent only a small percentage of the sticks, cones, powders, woods, and resins I'm burning or heating from day to day. (If you're here for my incense content, feel free to skip this one and head to [/now-burning](/now-burning) to see the new feature!)
## The issue of ergonomics
While it would have been simple enough for me to build a microblogging feature into my [Eleventy](https://www.11ty.dev/) website, the trouble was *wanting to use it* after it was built. Unlike using a {{ "CMS" | abbr("Content Management System") | safe }} such as WordPress to make a website, I knew of no nice interface for Eleventy, or for that matter any {{ "SSG" | abbr("Static Site Generator") | safe }}, that would help me create a post and publish it online without opening an {{ "IDE" | abbr("Integrated Development Environment") | safe }}[^1] and using the command line. Instead, the process looks something like this:
[![A screenshot of a complicated looking text editor with a terminal widget at the bottom beside a copy of my website running on localhost.](/img/poaster/ergonomics_fail.webp "I don't necessarily want to feel like a [hackerman](https://knowyourmeme.com/memes/hackerman) every time I decide to make a tiny status update. Also, I just noticed that I totally screwed up the frontmatter for that post.")](/img/poaster/ergonomics_fail.webp)
As big of a nerd as I am, I'm just not going to want to do that multiple times a day for what amounts to a status post. This lead me to *scour* the internet looking for a solution: something that I could run on my own desktop or laptop that could build my site locally and push changes to my website, hosted the old fashioned way: as a bunch of text files sitting on a server accessible via {{ "SFTP" | abbr("SSH File Transfer Protocol") | safe }}. No needless complexity like running Eleventy on the server, or using a host like Netlify.[^2] Surely there'd be something, right? Surely, the realm of SSGs can't be without at least one nice, local user interface that people can use without being a web developer?
## An attempt to fix the problem
In the end, I did find one answer to the problem: [Publii](https://getpublii.com/). Publii seems to be made predominantly with end-users in mind, however. It's not just a local[^3] CMS, it's an SSG in its own right, which does me no good as I can't make it work with my website[^4]. So after coming up with nothing *I* could use, I gave the idea a rest for a while until I had the epiphany that I could solve the problem with a simple script using KDE's [KDialog](https://invent.kde.org/utilities/kdialog) to provide a rudimentary UI. So that's what I did.
The idea was simple: a [wizard](https://en.wikipedia.org/wiki/Wizard_(software))-like experience that guides the user through the creation of a microblog / status post. Post types and the data they collect should be customized by the user via a JSON configuration file. After the post data is collected from the user, the script should execute a user-defined build command as well as a user-defined command to sync the static files to the server.
## Building "Poaster"
For some reason, I decided to write my script in Ruby, a language for which I once completed a course before promptly forgetting everything I knew about it. I would have had a much easier time using JavaScript and Node, which I am much more familiar with and have successfully used for similar purposes. Why I did not is anyone's guess. All this to say: please do not make (too much) fun of my shitty little script, which I have dubbed "Poaster."
I started with the JSON configuration file, `/Poaster/config/config.json`:
```json
{
"buildCommand": "npx @11ty/eleventy",
"postTypes": [
{
"name": "Now Burning",
"postUnitName": "incense",
"contentEnabled": true,
"frontMatter": [
{
"name": "title"
},
{
"name": "manufacturer"
},
{
"name": "date"
},
{
"name": "time"
}
],
"postDirectory": "/post/output/dir"
}
],
"uploadCommand": "rsync -av --del /local/path/to/site/output
username@my.server:/remote/path/to/public/site/files",
"siteDirectory": "/local/path/to/site/repo"
}
```
Here, the user can specify as many post types as they like, each with their own output directory. Each post type can also collect as many pieces of frontmatter as the user cares to specify.
The first thing the script needed to do was ask the user which post type they want to create, so I referenced the [KDialog tutorial](https://develop.kde.org/docs/administration/kdialog/) and wrote a method to handle that `/Poaster/lib/spawn_radio_list.rb`:
``` ruby
def spawn_radio_list(title, text, options_arr)
command = %(kdialog --title "#{title}" --radiolist "#{text}")
options_arr.each_with_index do |option, i|
command += %( #{i} "#{option}" off)
end
`#{command}`
end
```
I wrote a few more methods in `/Poaster/lib` to spawn toast notifications, input boxes, create directories if they don't exist, and write files:
`/Poaster/lib/spawn_toast.rb`:
``` ruby
def spawn_toast(title, text, seconds)
`kdialog --title "#{title}" --passivepopup "#{text}" #{seconds}`
end
```
`/Poaster/lib/spawn_input_box.rb`:
``` ruby
def spawn_input_box(title, text)
`kdialog --title "#{title}" --inputbox "#{text}"`
end
```
`/Poaster/lib/ensure_dir_exists.rb`:
``` ruby
def ensure_dir_exists(directory_path)
unless Dir.exist?(directory_path)
FileUtils.mkdir_p(directory_path)
spawn_toast 'Directory Created', %(Poaster created #{directory_path}.), 10
end
end
```
`/Poaster/lib/write_file.rb`:
``` ruby
def write_file(directory, name, extension, content)
post_file = File.new(%(#{directory}/#{name}.#{extension}), 'w+')
post_file.syswrite(content)
post_file.close
end
```
All I had to do then was tie it all together in `/Poaster/poaster.rb`:
``` ruby
#!/usr/bin/env ruby
require 'json'
require 'fileutils'
require './lib/spawn_input_box'
require './lib/spawn_radio_list'
require './lib/spawn_toast'
require './lib/ensure_dir_exists'
require './lib/write_file'
config_data = JSON.parse(File.read('./config/config.json'))
dialog_title_prefix = 'Poaster'
# Populate types_arr with post types
post_types_arr = []
config_data['postTypes'].each do |type|
post_types_arr.push(type['name'])
end
# Display post list dialog to user
post_type = config_data['postTypes'][Integer(spawn_radio_list(dialog_title_prefix, 'Select a post type:', post_types_arr))]
# Set the word we will use to refer to the post
post_unit = post_type['postUnitName']
# Collect frontmatter from user
frontmatter = []
post_type['frontMatter'].each do |item|
frontmatter.push({ item['name'] => spawn_input_box(%(#{dialog_title_prefix} - Enter Frontmatter'), %(Enter #{post_unit} #{item['name']}:)) })
end
# Collect post content from user
post_content = spawn_input_box %(#{dialog_title_prefix} - Enter Content), %(Enter #{post_unit} content:)
# Make sure the output folder exists
post_directory = post_type['postDirectory']
ensure_dir_exists(post_directory)
# Create post string
post = %(---\n)
post_id = ''
frontmatter.each_with_index do |item, i|
post += %(#{item.keys[0]}: #{item[item.keys[0]]})
post_id += %(#{item[item.keys[0]].chomp}#{i == frontmatter.length - 1 ? '' : '_'})
end
post += %(---\n#{post_content})
# Write post string to file and notify user
post_file_name = %(#{post_type['name']}_#{post_id.chomp})
post_extension = 'md'
write_file post_directory, post_file_name, post_extension, post
spawn_toast 'File Created', %(Poaster created #{post_file_name}#{post_extension} at #{post_directory}.), 10
# Run build and upload commands
`cd #{config_data['siteDirectory']} && #{config_data['buildCommand']} && #{config_data['uploadCommand']}`
```
## Burning now
There is a lot that this script should do that it doesn't, but for now, it's still a handy wee utility for SSG users on GNU/Linux systems running KDE who want to make creating quick status-type posts a little less painful. Just make sure KDialog is installed (as well as Ruby, naturally), clone [the repo](https://upchur.ch/gitea/n_u/Poaster), create `/Poaster/config/config.json` to meet your needs using the example as a reference and you're off to the races! I've even made a silly little toaster icon using assets from some of the KDE MimeType icons that you can use if you want to make a `.desktop` file so that you can click an icon on your app launcher to start the script.
[![A screenshot showing Poaster in my app launcher.](/img/poaster/app-menu.webp "Isn't that nice?")](/img/poaster/app-menu.webp)
My `poaster.desktop` file looks something like this:
``` bash
[Desktop Entry]
Exec=/path/to/poaster.rb
GenericName[en_US]=Create a post with Poaster.
GenericName=Create a post with Poaster.
Icon=/path/to/poaster_icon.svg
Name=Poaster
NoDisplay=false
Path=/path/to/repo/
StartupNotify=true
Terminal=false
Type=Application
```
Here's the script in action:
<figure><div style="position: relative;"><iframe title="A video showing Poaster being launched from the terminal. The script brings up a series of text input boxes for each piece of frontmatter specified in the configuration file." width="560" height="315" src="https://makertube.net/videos/embed/p8oopZXaLNUXNpBQGY9q4k" frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups allow-forms"></iframe></div><figcaption>The ease! The convenience!</figcaption></figure>
To build the new "now burning" incense microblog feature, I created two new pages. [/now-burning](/now-burning) shows the latest entry:
``` html
---
layout: layouts/base.njk
title: "Nathan Upchurch | Now Burning: What incense I'm burning at the moment."
structuredData: none
postlistHeaderText: "What I've been burning:"
---
{% raw %}{% set burning = collections.nowBurning | last %}
<h1>Now Burning:</h1>
<article class="post microblog-post">
<img class="microblog-icon" src="/img/censer.svg">
<div class="microblog-status">
<h2 class="">{{ burning.data.title }}{% if burning.data.manufacturer %}, {{ burning.data.manufacturer }}{% endif %}, {{ burning.date | niceDate }}, {{ burning.data.time }}</h2>
{% if burning.content %}
<div class="microblog-comment">
{{ burning.content | safe }}
</div>
{% endif %}{% endraw %}
</div>
</article>
<a href="/once-burned/">
<button type="button">Previous Entries »</button>
</a>
```
…and [/once-burned](/once-burned) shows past entries:
``` html
---
layout: layouts/base.njk
title: "Nathan Upchurch | Once Burned: Incense I've burning in the past."
structuredData: none
---
{% raw %}{% set burning = collections.nowBurning | last %}
<h1>Previous “Now Burning” Entries:</h1>
{% set postsCount = collections.nowBurning | removeMostRecent | length %}
{% if postsCount > 0 %}
{% set postslist = collections.nowBurning | removeMostRecent %}
{% set showPostListHeader = false %}
{% include "incenseList.njk" %}
{% else %}
<p>Nothings here yet!</p>
{% endif %}{% endraw %}
<a href="/now-burning/">
<button type="button">Latest »</button>
</a>
```
…using a post-listing include built specifically for microblogging:
``` html
<section class="postlist microblog-list">
{% raw %}{% if postlistHeaderText %}<h2>{{ postlistHeaderText }}</h2>{% endif %}
<div class="postlist-item-container">
{% for post in postslist | reverse %}
<article class="postlist-item">
<div class="post-copy">
<h3>
{% if post.data.title %}{{ post.data.title | safe }}{% else %}?{% endif %}{% if post.data.manufacturer %}, {{ post.data.manufacturer | safe }}{% endif %}
</h3>
<div class="post-metadata">
<div class="post-metadata-copy">
<p>
<time datetime="{{ post.date | htmlDateString }}">{{ post.date | niceDate }}{% if post.data.time %}—{{ post.data.time }}{% endif %}</time>
</p>
</div>
</div>
{% if post.content %}
<div class="microblog-comment">
{{ post.content | safe }}
</div>
{% endif %}
</div>
</article>
<hr>
{% endfor %}{% endraw %}
</div>
</section>
```
And that's about it! There's a lot to do to make the script a little less fragile, such as passing along build / upload error messages, allowing for data validation via regex, et cetera. I'm sure I'll get to it at some point. If Poaster is useful to you, however, and you'd like to submit a patch to improve it, [please do let me know](../../me/).
[^1]: Yes, I am aware that [Kate](https://kate-editor.org/) isn't *technically*
an IDE.
[^2]: At risk of sounding crabbit and behind the times, I don't know why web
development has to be so damned complicated these days. Like, an entire fancy
for-profit infrastructural platform that exists just to host static websites?
It seems nuts to me.
[^3]: Thank christ. Why does everything need to run in the cloud when we
already have computers at home?
[^4]: I did however use it to very quickly set up a nice looking blog site for
my partner.

View File

@ -6,8 +6,8 @@ tags:
- Incense - Incense
- Incense Review - Incense Review
imageURL: /img/boy_vienna_11_11/boy_vienna_11_11_incense_cigarette_sticks_2.webp imageURL: /img/boy_vienna_11_11/boy_vienna_11_11_incense_cigarette_sticks_2.webp
imageAlt: "" imageAlt: "What appears to be a pack of cigarettes labeled 11:11. There is also a card featuring the brand name Boy Vienna and a temporary tattoo featuring an image of a lipstick-print and the brand name."
synopsis: "What appears to be a pack of cigarettes labeled 11:11. There is also a card featuring the brand name Boy Vienna and a temporary tattoo featuring an image of a lipstick-print and the brand name." synopsis: "Taking a look at Boy Vienna's viral cigarette incense sticks."
mastodon_id: "114462578542598320" mastodon_id: "114462578542598320"
--- ---
[Boy Vienna](https://boyvienna.com/) is a brand from fashion designer and multi-media artist [Afaf Fi Seyam](https://www.instagram.com/zeopatra) that has been receiving attention on [TikTok](https://www.tiktok.com/@boyvienna/video/7366977382508514603) and [Instagram](https://www.instagram.com/zeopatra/reel/DAyIy2Lv0RQ/) for its incense cigarettes. I knew I was going to have to try these sticks the minute they found their way onto my screen—it would seem that [everyone else felt the same way](https://www.instagram.com/zeopatra/p/DJHP0a3NnlI/), as when I made my way to the web store most of Boy Vienna's incense varieties were sold out. For 35 {{ "USD" | abbr("United States Dollars") | safe }}, I was able to snag a box of the 11:11 variety, listed as containing a blend of sage, lavender, and rosemary. [Boy Vienna](https://boyvienna.com/) is a brand from fashion designer and multi-media artist [Afaf Fi Seyam](https://www.instagram.com/zeopatra) that has been receiving attention on [TikTok](https://www.tiktok.com/@boyvienna/video/7366977382508514603) and [Instagram](https://www.instagram.com/zeopatra/reel/DAyIy2Lv0RQ/) for its incense cigarettes. I knew I was going to have to try these sticks the minute they found their way onto my screen—it would seem that [everyone else felt the same way](https://www.instagram.com/zeopatra/p/DJHP0a3NnlI/), as when I made my way to the web store most of Boy Vienna's incense varieties were sold out. For 35 {{ "USD" | abbr("United States Dollars") | safe }}, I was able to snag a box of the 11:11 variety, listed as containing a blend of sage, lavender, and rosemary.

View File

@ -10,7 +10,7 @@ postlistHeaderText: "What I've been burning:"
<article class="post microblog-post"> <article class="post microblog-post">
<img class="microblog-icon" src="/img/censer.svg"> <img class="microblog-icon" src="/img/censer.svg">
<div class="microblog-status"> <div class="microblog-status">
<h2 class="">{{ burning.data.title }}, {{ burning.data.manufacturer }}<br>{{ burning.date | niceDate }}, {{ burning.data.time }}</h2> <h2 class="">{{ burning.data.title }}{% if burning.data.manufacturer %}, {{ burning.data.manufacturer }}{% endif %}, {{ burning.date | niceDate }}, {{ burning.data.time }}</h2>
{% if burning.content %} {% if burning.content %}
<div class="microblog-comment"> <div class="microblog-comment">
{{ burning.content | safe }} {{ burning.content | safe }}

View File

@ -0,0 +1,7 @@
---
title: A chunk of Palo Santo that I lit on fire
manufacturer:
date: 2025-06-08 22:40:00
time: 10:40 PM
---

View File

@ -0,0 +1,7 @@
---
title: "Awaji Island Koh-shi Coffee"
manufacturer: Kunjudo
date: 2025-06-08 17:00:00
time: 5:00 PM
---
As Sol pointed out, it smells like burnt kettle corn, but I've got a lot of it to get through.

View File

@ -0,0 +1,7 @@
---
title: Beau Soir
manufacturer: Myself
date: 2025-06-08
time: 10:00 AM
---
A blend I've been working on containing some interesting ingredients like Musk Root and Turkey Rhubarb.

View File

@ -0,0 +1,7 @@
---
title: Kobunboku
manufacturer: Baieido
date: 2025-06-06
time: 8:00 PM
---

View File

@ -0,0 +1,7 @@
---
title: "Satya Sai Baba Nag Champa"
manufacturer: Shrinivas Sugandhalaya LLP
date: 2025-06-08
time: 2:00 PM
---
The nostalgia!

View File

@ -7,7 +7,7 @@ structuredData: none
<h1>Previous “Now Burning” Entries:</h1> <h1>Previous “Now Burning” Entries:</h1>
{% set postsCount = collections.nowBurning | removeMostRecent | length %} {% set postsCount = collections.nowBurning | removeMostRecent | length %}
{% if postsCount > 1 %} {% if postsCount > 0 %}
{% set postslist = collections.nowBurning | removeMostRecent %} {% set postslist = collections.nowBurning | removeMostRecent %}
{% set showPostListHeader = false %} {% set showPostListHeader = false %}
{% include "incenseList.njk" %} {% include "incenseList.njk" %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

View File

@ -0,0 +1,179 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="50mm"
height="50mm"
viewBox="0 0 49.999997 49.999999"
version="1.1"
id="svg1"
xml:space="preserve"
sodipodi:docname="poaster_icon.svg"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="2.7203218"
inkscape:cx="58.632769"
inkscape:cy="74.807326"
inkscape:window-width="2048"
inkscape:window-height="1080"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" /><defs
id="defs1"><linearGradient
id="linearGradient25"><stop
style="stop-color:#3d3d3d;stop-opacity:0.68829763;"
offset="0"
id="stop25" /><stop
style="stop-color:#3d3d3d;stop-opacity:0;"
offset="1"
id="stop26" /></linearGradient><linearGradient
id="linearGradient17"><stop
style="stop-color:#e39f9f;stop-opacity:1;"
offset="0.2418005"
id="stop18" /><stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop17" /></linearGradient><linearGradient
id="linearGradient15"><stop
style="stop-color:#696969;stop-opacity:1;"
offset="0"
id="stop16" /><stop
style="stop-color:#000000;stop-opacity:1;"
offset="1"
id="stop15" /></linearGradient><linearGradient
id="linearGradient13"><stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="0.20648703"
id="stop14" /><stop
style="stop-color:#ffffff;stop-opacity:0.37068471;"
offset="1"
id="stop13" /></linearGradient><linearGradient
id="a"
y1="17"
y2="31"
x1="40"
x2="54"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(22,-26)"><stop
stop-color="#060606"
id="stop1" /><stop
offset="1"
stop-opacity="0"
id="stop2" /></linearGradient><linearGradient
id="b"
y1="392.35999"
y2="336.35999"
gradientUnits="userSpaceOnUse"
x2="0"
gradientTransform="translate(-26,-358.36)"><stop
stop-color="#ffffff"
stop-opacity="0"
id="stop3" /><stop
offset="1"
stop-color="#ffffff"
stop-opacity=".2"
id="stop4" /></linearGradient><path
id="c"
d="M 32,35 V -23 H 62 L 76,-9 V 35 H 62 Z" /><linearGradient
xlink:href="#linearGradient13"
id="linearGradient14"
x1="83.656845"
y1="121.18259"
x2="113.76315"
y2="91.076279"
gradientUnits="userSpaceOnUse" /><linearGradient
xlink:href="#linearGradient15"
id="linearGradient16"
x1="116.89544"
y1="99.943977"
x2="123.10123"
y2="109.87531"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-1.0583333,-1.199468)" /><linearGradient
xlink:href="#linearGradient17"
id="linearGradient18"
x1="95.091324"
y1="106.76978"
x2="102.32864"
y2="79.75975"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(57.810917,-7.9392441)" /><linearGradient
xlink:href="#linearGradient25"
id="linearGradient26"
x1="98.914108"
y1="92.710625"
x2="98.914108"
y2="89.555305"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0853404,0,0,2.2724088,-8.4413734,-117.96581)" /></defs><rect
style="fill:#eddbdb;stroke-width:3.78354;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill;fill-opacity:1"
id="rect1"
width="50"
height="50"
x="0"
y="0" /><g
id="layer1"
transform="matrix(0.86449727,0,0,0.86449727,-60.868592,-57.916407)"><g
id="g30"
transform="translate(0.05558062,-0.215426)"><g
id="g23"
transform="translate(-57.606813,7.3851119)"><rect
style="fill:url(#linearGradient18);fill-opacity:1;stroke:#3c3c3c;stroke-width:3.78354;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
id="rect19"
width="25.660978"
height="31.324169"
x="143.69043"
y="69.663422"
ry="0" /><path
fill="#6c7a89"
d="m 147.69405,74.426829 v 8.82685 h 2.20673 v -5.708766 l 2.20673,2.206714 2.20668,-2.206714 v 5.708766 h 2.20673 v -8.82685 h -2.20673 l -2.20451,2.204505 -2.20448,-2.204505 z m 13.24028,0 v 4.413425 h -2.20668 l 3.31007,4.413425 3.31007,-4.413425 h -2.20673 v -4.413425 z"
id="path1"
style="display:inline;fill:#3d3d3d;fill-opacity:1;stroke-width:1.10336" /></g><rect
style="fill:url(#linearGradient26);stroke:none;stroke-width:5.94189;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
id="rect24"
width="27.850897"
height="7.1701679"
x="84.988655"
y="85.540451"
ry="0" /><g
id="g24"><path
d="m 86.205074,92.71062 c -4.865857,0 -8.783443,3.917586 -8.783443,8.78344 v 4.62814 c 0,0.0342 1.3e-4,0.0687 5.17e-4,0.10284 -3.87e-4,0.0248 -5.17e-4,0.0495 -5.17e-4,0.0744 v 8.6062 c 0,2.57207 2.07054,4.64261 4.642611,4.64261 h 33.291508 c 2.57207,0 4.64261,-2.07054 4.64261,-4.64261 v -8.6062 c 0,-0.0249 -1.3e-4,-0.0496 -5.2e-4,-0.0744 3.9e-4,-0.0341 5.2e-4,-0.0686 5.2e-4,-0.10284 v -4.62814 c 0,-4.865854 -3.91707,-8.78344 -8.78293,-8.78344 z"
style="display:inline;fill:#db3333;fill-opacity:1;stroke-width:0.254915;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill"
id="path12" /><rect
style="display:inline;fill:#861717;fill-opacity:1;stroke:none;stroke-width:3.24967;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke markers fill"
id="rect16"
width="3.0442932"
height="15.520646"
x="115.22038"
y="99.758194"
ry="1.0045962" /><path
fill="#723838"
color="#000000"
stroke-width="3.54031"
d="m 95.009034,95.684247 v 3.54033 h 1.770131 v -3.54033 z m 5.310456,0 v 3.54033 h 1.77013 v -3.54033 z m 6.86289,1.75956 -1.5808,2.665843 1.54889,0.88506 1.58079,-2.720693 z m -17.283831,0.12043 -1.493954,0.88506 1.639141,2.665903 1.494021,-0.88513 z m 1.570156,3.430543 -3.540322,3.54033 10.62092,12.39105 10.620907,-12.39112 -3.54026,-3.54033 z m 0.775344,1.7702 h 5.421988 v 1.77006 h -7.192186 z m 7.192119,0 h 5.421982 l 1.77013,1.77013 h -7.192112 z m -7.689546,3.54026 h 5.919415 v 6.88061 z m 7.689546,0 h 5.919412 l -5.919412,6.88061 z"
id="path1-8"
style="fill:#341a1a;fill-opacity:1" /><path
d="m 86.205074,92.71062 c -4.865857,0 -8.783443,3.917586 -8.783443,8.78344 v 4.62814 c 0,0.0342 1.3e-4,0.0687 5.17e-4,0.10284 -3.87e-4,0.0248 -5.17e-4,0.0495 -5.17e-4,0.0744 v 8.6062 c 0,2.57207 2.07054,4.64261 4.642611,4.64261 h 33.291508 c 2.57207,0 4.64261,-2.07054 4.64261,-4.64261 v -8.6062 c 0,-0.0249 -1.3e-4,-0.0496 -5.2e-4,-0.0744 3.9e-4,-0.0341 5.2e-4,-0.0686 5.2e-4,-0.10284 v -4.62814 c 0,-4.865854 -3.91707,-8.78344 -8.78293,-8.78344 z"
style="display:inline;fill:url(#linearGradient14);fill-opacity:1;stroke-width:0.254915;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill"
id="path13" /><rect
style="fill:url(#linearGradient16);fill-opacity:1;stroke-width:0.264583;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke markers fill"
id="rect2"
width="11.710845"
height="4.8795238"
x="113.08457"
y="101.27039"
ry="2.4397619" /></g></g></g></svg>

After

Width:  |  Height:  |  Size: 8.3 KiB