summaryrefslogtreecommitdiff
path: root/www/index.html
blob: 5cd46735f59b0522dcaba56bccc57b7d9ce7830f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="generator"
        content="HTML Tidy for HTML5 for Linux version 5.6.0">
  <title>senders.io - Homepage</title>
  <link rel='stylesheet'
        type='text/css'
        href='/index.css'>
  <meta name="viewport"
        content="width=device-width, initial-scale=1">
</head>
<body>
  <div id='header'>
    <a class='title'
         href='/'>senders.io</a>
    <nav>
      <a href="/blog">blog</a> <a rel="external noopener noreferrer"
           target="_blank"
           href="https://github.com/s3nd3r5">github</a> <a rel=
           "external noopener noreferrer"
           target="_blank"
           href="https://git.senders.io">cgit</a> <a rel=
           "me external noopener noreferrer"
           target="_blank"
           href="https://mastodon.online/@senders">mastodon</a>
    </nav>
  </div>
  <div id='body'>
    <article>
      <h1>Welcome to Senders&#39; homepage</h1>
      <p>This is my personal site for my projects and other random stuff I feel
      like uploading. A lot of it comes in the form of micro-blogs and stream
      of consciousness ramblings.</p>
      <p>You can subscribe to my extremely infrequent blog via RSS: <a href=
      "/blog/feed.rss"
         rel="rss noopener"
         target="_blank">/blog/feed.rss</a></p>
    </article>
    <article>
      <h1>Recent Post - 2023-01-06</h1>
      <h2>How I Generate My RSS Feed</h2>
      <p>I only just now started supplying an RSS feed to you fine people! You
      can subscribe to it at <a href=
      "/blog/feed.rss">www.senders.io/blog/feed.rss</a>!</p>
      <p>I decided rather than manually generating the file contents I’d hook
      into my pre-existing publish scripts to be able to generate the RSS
      file.</p>
      <h3>Publishing blog posts - shell scripts ftw</h3>
      <p>In <a href="/blog/2022-11-06/">My Markdown -&gt; HTML Setup</a> I
      touch on how I publish my markdown files into HTML for this blog. But
      what I don’t <em>really</em> touch on is the shell scripts that tie the
      whole process together.</p>
      <p>What I have is two, now three, scripts that feed the whole
      process:</p>
      <ol>
        <li><code>publish-blog.sh</code> - the main script</li>
        <li><code>compile-md.sh</code> - generates the HTML output</li>
        <li><code>update-feed.sh</code> - generates/appends the RSS feed</li>
      </ol>
      <p>The <code>update-feed.sh</code> script is the new one I just
      added.</p>
      <p><code>publish-blog.sh</code> is the primary interface, I supply the
      date of the post and the path to the md file and that calls compile and
      update to automate the entire process.</p>
      <p>Without going into TOO much detail you can view the latest versions of
      the scripts at <a rel="external noopener noreferrer"
         target="_blank"
         href=
         "https://git.senders.io/senders/senders-io/tree/">git.senders.io/senders/senders-io/tree/</a>.</p>
      <p>But the gist of the scripts is I parse out the necessary details,
      find/replace some tokens in template files I have setup for headers and
      footers, and concat the outputs into the final output HTML files, and now
      RSS feed.</p>
      <div class='footer'>
        <a href='/blog/2023-01-06/'>Continue reading...</a>
      </div>
    </article>
    <article>
      <h1>Recent Post - 2022-12-31</h1>
      <h2>RSS - A Follow-up</h2>
      <p>Get an RSS reader and connect everything to it!</p>
      <p>Between switching to Mastodon for my social media allowance, and using
      a dedicated RSS reader has really cut down my overall consumption and
      wasted PC time.</p>
      <blockquote>
        <p>this blogpost is originally posted to my gemini gemlog: <a href=
        "gemini://senders.io/gemlog/2022-12-31-rss-a-follow-up.gmi">gemini://senders.io/gemlog/2022-12-31-rss-a-follow-up.gmi</a>
        which is where I do most of my writing, converting some useful to share
        things over here. It is also where the original RSS gemlog this is a
        follow-up to was posted. For context, I wanted to cutback on a lot of
        my web consumption, wasting time and just being mindless online. So I
        looked to RSS to help centralize and solve this issue.</p>
      </blockquote>
      <h3>Recap</h3>
      <p>So I am using <a rel="external noopener noreferrer"
         target="_blank"
         href="https://tt-rss.org">https://tt-rss.org/</a> as my RSS
         aggregator. It’s a self-hosted RSS aggregator that, using profiles,
         allows you to subscribe to multiple feeds and have them “synced”
         between multiple devices (they’re not synced, you’re connecting to a
         central server). I like this because I don’t ever have to worry about
         dismissing, reading, or marking anything on my phone to have it still
         present on my PC. And I don’t have to worry about feed subscriptions
         or my phone pinging a bunch of feeds, or obviously, any third-party
         hosting.</p>
      <div class='footer'>
        <a href='/blog/2022-12-31'>Continue reading...</a>
      </div>
    </article>
    <div class="footnote">
      <p>The site source is available at <a rel="noopener noreferrer external"
         target="_blank"
         href=
         "https://git.senders.io/senders/senders-io">git.senders.io/senders/senders-io</a>.</p>
    </div>
    <div id='copyright'>
      © 2023 senders dot io - <a rel="license external noopener noreferrer"
           target="_blank"
           href="https://creativecommons.org/licenses/by/4.0/">CC BY-SA 4.0</a>
           unless otherwise noted.
    </div>
  </div>
</body>
</html>