Hi everyone!
If you have a personal blog where you write on Julia, consider adding it to JuliaBloggers! This post will serve to contain info for various website hosting solutions and how you can add your own blog’s RSS to JuliaBloggers. If you don’t see a platform listed and want to have it included, ping me and I can add it to the main post.
Franklin Websites
You need to first define these variables in your Franklin website to enable RSS: Page variables
Then, to get all the posts on your site that are tagged for Julia, you can simply have your website URL like this to get every post tagged as a Julia related post like this: https://fredrikekre.se/tag/julia/feed.xml
(Thanks to @fredrikekre for this solution)
Jekyll Websites
Include this in an xml file that is at the root of your website’s directory. You could name it, rss_julia.xml
:
---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>ADD THE TITLE OF YOUR BLOG HERE!!!</title>
<description>ADD THE DESCRIPTION OF YOUR BLOG HERE!!!</description>
<link>{{ site.url }}</link>
{% for post in site.posts %}
{% unless post.draft %}
{% for tag in post.tags %}
{% if tag == 'julia' %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<link>{{ post.url | prepend: site.url }}</link>
<guid isPermaLink="true">{{ post.url | prepend: site.url }}</guid>
</item>
{% endif %}
{% endfor %}
{% endunless %}
{% endfor %}
</channel>
</rss>
Make sure each of your posts that contain Julia related content have been tagged as Julia
in a post like this:
---
title: "NeuriViz (Part 1) - Performant Graphics for Neuroinformatics"
image:
path: /assets/brain_tiles.png
comments: true
share: true
tags:
- julia
---
Here is my blog.
I am writing on how awesome it is!
Then, once you rebuild your site, copy the url to that file and submit it to JuliaBloggers. Here is how I did it for mine: http://jacobzelko.com/rss_julia.xml
(Thanks to @oxinabox for this solution)