this post was submitted on 09 May 2025
22 points (86.7% liked)

Selfhosted

60177 readers
419 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require your active participation in selfhosting or related communities, or the post will be removed. No more than 10% of your posts or comments may be self-promotional, or your post will be removed. F/LOSS Exception: If your post is about a project that is completely open source & can be self-hosted in full without payment, and your account is at least 30 days old, your post is exempt from this rule as long as you continue to engage in comments.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Oh technomages of c/selfhosted, I come seeking your help once more because anywhere I look there's people trying to sell me on their service, something-something PODCASTS, or RSS for windows and all that, my brain cannot anymore.

I've got a blog I'm serving with nginx, and I would like to implement some sort of RSS feed. I'm pretty much new to the whole thing, but it was recommended to me. I did a bit of research and now I know those are like xml files that you subscribe to.

So, I wanted to know: In your experience, what is the best way to go about this? Do I have to make them myself by hand and put them in an /rss/ directory in the root of my blog? How do people subscribe to them? Got any resources?

I wouldn't mind writing them by hand actually, my whole website is hand-made, gluten free and organic. (maybe not the last one).

Thanks in advance <3

you are viewing a single comment's thread
view the rest of the comments
[–] 486@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (2 children)

How do people subscribe to them?

Subscribing to an RSS feed really is nothing more than telling your RSS client about the URL to that RSS XML file. The RSS client then regularily checks the URL for changes.

If your site is hand-made as you say, you would have to manually create and update the RSS file also. This is quite a nuisance, not only because it is XML, but also because every feed entry needs its own unique UUID, which you need to create. Perhaps you could create a script that does it for you. Static site generators are usually able to automatically create an RSS feed for you.

[–] prof@infosec.pub 6 points 1 year ago

I use Hugo for static site generation and it makes the RSS stuff for me.

[–] KazuchijouNo@lemy.lol 1 points 1 year ago (1 children)

Can I do the UUID generation with the uuidgen command? Also, I'm learning python and bash, so perhaps I could do something with cron(? I guess what I need is some sort of template or examples so I can get started

The whole point is learning cool stuff :D

[–] 486@lemmy.world 1 points 1 year ago

Yes, using uuidgen should work fine.