mirror of
https://github.com/evennia/evennia.git
synced 2026-04-07 00:45:22 +02:00
Add RSS feed to devblog
This commit is contained in:
parent
7b3f0f2a7f
commit
fa0c583e51
16 changed files with 67 additions and 5 deletions
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
|
|
@ -560,6 +560,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
@ -673,7 +678,8 @@ Here the blog starts...
|
|||
<p>Comments: Few people every commented directly in the old blog though - and lately it has mostly been spam. To comment, people'll need to use our forums on github or the support channel.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Notifications: I haven't added an RSS feed for this page and there is thus no automatic reporting of new posts in chat etc. I think the amount of posts I do is low enough that I can advertise them manually. I'll probably just make a dedicated announcement thread in Github discussions.</p>
|
||||
<p>Notifications: <del>I haven't added an RSS feed for this page and there is thus no automatic reporting of new posts in chat etc. I think the amount of posts I do is low enough that I can advertise them manually. I'll probably just make a dedicated announcement thread in Github discussions.</del></p>
|
||||
<p><strong>Update</strong>: I added an RSS feed now, see the little <img src="images/rss-icon.png" alt="rss-feed" /> icon on the top-right of this page.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>Onward</h2>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ START_PAGE = "index.html"
|
|||
BLOG_TEMPLATE = "blog.html"
|
||||
POST_TEMPLATE = "post.html"
|
||||
|
||||
RSS_FEED = "feed.rss"
|
||||
RSS_FEED = "feed"
|
||||
|
||||
CURRENT_YEAR = datetime.utcnow().year
|
||||
|
||||
|
|
@ -289,6 +289,8 @@ def build_pages(blog_pages):
|
|||
|
||||
html_pages, rss_feed = md2html()
|
||||
|
||||
print("Writing HTML files and RSS feed ...")
|
||||
|
||||
# build html files
|
||||
latest_year = -1
|
||||
latest_page = None
|
||||
|
|
@ -309,7 +311,7 @@ def build_pages(blog_pages):
|
|||
symlink(IMG_REL_LINK, IMG_DIR_NAME)
|
||||
symlink(latest_page, START_PAGE)
|
||||
|
||||
print(f"Output htmls written to {OUTDIR}{sep}. Latest year is {latest_year}.")
|
||||
print(f"Output HTML + RSS written to {OUTDIR}{sep}. Latest year is {latest_year}.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
BIN
devblog/_src/images/rss-icon.png
Normal file
BIN
devblog/_src/images/rss-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
|
|
@ -92,7 +92,8 @@ There are a few things that were possible on blogspot that my simple little cust
|
|||
|
||||
- Online editing: I'm not posting things on the fly so I'm fine with making a commit. Writing in a proper text editor is more confortable anyway. And the posts are under version control too!
|
||||
- Comments: Few people every commented directly in the old blog though - and lately it has mostly been spam. To comment, people'll need to use our forums on github or the support channel.
|
||||
- Notifications: I haven't added an RSS feed for this page and there is thus no automatic reporting of new posts in chat etc. I think the amount of posts I do is low enough that I can advertise them manually. I'll probably just make a dedicated announcement thread in Github discussions.
|
||||
- Notifications: ~~I haven't added an RSS feed for this page and there is thus no automatic reporting of new posts in chat etc. I think the amount of posts I do is low enough that I can advertise them manually. I'll probably just make a dedicated announcement thread in Github discussions.~~
|
||||
**Update**: I added an RSS feed now, see the little  icon on the top-right of this page.
|
||||
|
||||
|
||||
## Onward
|
||||
|
|
|
|||
|
|
@ -70,6 +70,11 @@
|
|||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="devblog-rss">
|
||||
<a href="feed">
|
||||
<img src="images/rss-icon.png" alt="RSS feed">
|
||||
</a>
|
||||
</div>
|
||||
<h1>
|
||||
<a name="evennia-mudmu-creation-system" class="anchor" href="#evennia-mudmu-creation-system">
|
||||
<span class="octicon octicon-link">
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -536,6 +536,9 @@ a[href="devblog-posts"]:focus {
|
|||
float: right;
|
||||
font-size: initial;
|
||||
}
|
||||
.devblog-rss {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/* Media alternatives */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue