ref: f3beb1218e86a2a61489737177c64308174b0201 home/apps/home_web/lib/home_web/router.ex -rw-r--r-- 1.3 KiB
Add Atom Feed

Why atom? They seem roughly the same and also there's an easy builder
for atom feeds.
Add Well Known Controller for .well-known Requests

Right now the only expected one is for stellar.
Fetch Posts via Slug

Makes for some fancier urls.
Add Webhook For the Creation of Blog Posts

/api/post/receive exists to receive blog posts via lists.sr.ht's

It utilizes a mail parsing library to fetch the post content, and maps
cleanly to our post object.
Remove Templates and Routes for New/Edit/Delete

As we will be creating our posts via email, we have no need for the new
or create actions, nor their templates.

I'm still working out how we'll actually edit posts, but we can figure
that out later.

As for deletes... Why bother?

Generated Phoenix 1.5.8 umbrella application