diff options
Diffstat (limited to 'content/posts/2021-01-11-openring.md')
-rw-r--r-- | content/posts/2021-01-11-openring.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/content/posts/2021-01-11-openring.md b/content/posts/2021-01-11-openring.md index 79aa5cc..ccb8e1e 100644 --- a/content/posts/2021-01-11-openring.md +++ b/content/posts/2021-01-11-openring.md @@ -1,21 +1,21 @@ --- -category: blog +categories: [blog] date: 2021-01-11 15:51:31 +0700 lang: en translationKey: "openring-tutor" -tags: [rss, blog, openring, tutorial] -title: "Using openring to add blogs you follow" +tags: [rss, [blog], openring, tutorial] +title: "Using openring to add [blog]s you follow" --- -You may notice that now my blog now has a new section near the footer: a list of articles -from blogs I follow. This is generated by [openring], +You may notice that now my [blog] now has a new section near the footer: a list of articles +from [blog]s I follow. This is generated by [openring], a tool that read a list of RSS feeds and generate these. -I found out about this when reading [Drew DeVault's blog][ddvault] +I found out about this when reading [Drew DeVault's [blog]][ddvault] (who created openring). I think it is a nice way to endorse authors we want to support and share cool things we read to our audience. -In this blog, I will write a tutorial to use this with jekyll. +In this [blog], I will write a tutorial to use this with jekyll. # Install openring @@ -47,12 +47,12 @@ sudo cp openring /usr/local/bin/ From openring's README: -> This is a tool for generating a webring from RSS feeds, so you can link to other blogs you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is: +> This is a tool for generating a webring from RSS feeds, so you can link to other [blog]s you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is: > > ```bash > openring \ > -s https://drewdevault.com/feed.xml \ -> -s https://emersion.fr/blog/rss.xml \ +> -s https://emersion.fr/[blog]/rss.xml \ > -s https://danluu.com/atom.xml \ > < in.html \ > > out.html @@ -60,12 +60,12 @@ From openring's README: The `in.html` is a template [whence] openring generate the HTML for the feed. -I copied the template from [DeVault's blog][ring-tmpl] (don't worry, it's MIT-licensed), +I copied the template from [DeVault's [blog]][ring-tmpl] (don't worry, it's MIT-licensed), with a little modification: - I wrap it in a `div.wrapper`. The `wrapper` class is a class in minima theme that limit the max width for readability and auto-collapse on smaller devices. - I use `footer-col` for each class. Since this is also styled by minima, I don't have to worry about it. -- I added a thin border around each article with the following sass (also modified from DeVault's blog) +- I added a thin border around each article with the following sass (also modified from DeVault's [blog]) ```scss --- @@ -93,7 +93,7 @@ with a little modification: # Future works? -Currently, I generate the feed manually when I update my blog. +Currently, I generate the feed manually when I update my [blog]. This probably is not good enough if I want the webring to be updated even when I'm not active? A cronjob could solve this problem, |