ragamuf

ragamuf

Phoenix Blog Post: Roll Your Own Blog in Elixir and Phoenix

Does the world need another How to create a blog article?

Maybe not.

But then again, creating something out of nothing is what we love.

Follow the creation of my product’s blog using the same Elixir and Phoenix tooling, mixed with a big scoop of Markdown and good ole fashion Vim.

And, remember, it is a discussion, so feel free to join the conversation.

Most Liked

derek-zhou

derek-zhou

Rolling your own also means that a lot of things people take for granted would have do be done again. Opengraph metas, discoverable RSS feed, etc.

ragamuf

ragamuf

Derek, that is part of the fun. I cover how to inject the OG tags when rendering the article. With regards to RSS, it is not a breaking deal for me at the moment. The freedom I get authoring and publishing articles in the same manner that I code makes all the difference for me. With that said, not everyone will share that view which is welcomed.

AstonJ

AstonJ

Adding OG tags shouldn’t be too much of an issue.. and not everyone wants or needs an RSS feed, esp if the blog is used just to post company news etc :smiley:

Thanks for the write-up @ragamuf :023:

derek-zhou

derek-zhou

Don’t get me wrong, I wrote my own SSG too (ok, just a few old crufty perl scripts I threw together years ago, but still)

I only want to say that if your blog had better semantics in the meta data, your blog could be more accessible. For example, you have a tagging system, but the tags was not exposed through the article:tag meta. Compare to the main effort of your blogging system, these things are easy, like one line of code easy, so I was trying to give you a friendly nudge.

Where Next?

Popular in Blog Posts Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
brainlid
In a 2 day spike, I created my own Elixir-based AI Personal Fitness Trainer! The surprising part for me was how useful and helpful I foun...
New
ErlangSolutions
An infographic that compares Erlang, Elixir, and Go's strengths in the respect to the programming languages' concurrency, reliability, sc...
New
paulanthonywilson
All a bit meta, but this is a quick post on creating a Jekyll blog post from a Livebook page. Posted via Devtalk (see this thread for ...
New
jordiee
https://medium.com/@jpiepkow/team-based-login-with-accesspass-be236d4bd7dd
New
brainlid
Elixir has a built-in Zip library that comes with OTP. This post explores how to use the zip module and asks the important question: “Is ...
New
AstonJ
Elixir Blog Posts How to use this section You can post links to your blog posts either in one of the Official Blog Posts threads, or, vi...
New
zacksiri
In December of 2023 we came to the realization that we needed to build our own image server. After hitting a few snags we decided that it...
New
alvises
Just published the first part of series of articles aimed to explain the architecture behind a kv-store engine written in Elixir and impl...
New
ragamuf
Does the world need another How to create a blog article? Maybe not. But then again, creating something out of nothing is what we love....
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

We're in Beta

About us Mission Statement