this post was submitted on 22 Feb 2024
15 points (100.0% liked)

Blogging

156 readers
1 users here now

Welcome to /c/blogging!

This is a community for posting interesting, insightful, or even personal blog posts. You can advertise your own blog, or share other blog posts you find interesting.

Since this is the programming instance, expect many posts to be related to computer science. General blogs are still welcome as well!


Rules:


Looking to start your own blog? Check out Bearblog, Write.as, WordPress (which you can host yourself as well).

If you're tech-savvy, check out Hugo!


Icon by Design Circle

founded 10 months ago
MODERATORS
 

I've never dealt with RSS before on a personal level. I've pretty much always used social media to discover blog posts. I'm wanting to set up RSS for my personal blog but since I have no experience, looking for some guidance for best practices. I'm currently setting up a script to automatically update the xml when I publish new posts.

Am I supposed to include the entire post in the description field? Or just a summary? How do I handle the markup and formatting of the post?

Am I supposed to delete items from the feed or do I just keep appending items to the bottom of it?

Its it good practice to include a thumbnail image or anything with the item in the feed? How is that possible.

How do I distribute the feed beyond adding a button on my site?

Thank you in advance to anyone for their advice.

you are viewing a single comment's thread
view the rest of the comments
[–] Nemo@midwest.social 2 points 8 months ago (1 children)

Mine uses php to populate the xml file with the most recent seven posts. This means I never have to manually add or remove anything.

I don't recommend using the full post body as the description, either a blurb or the first paragraph should be fine.

If you want, I can send you my file, both raw php and final result.

[–] TORFdot0@lemmy.world 2 points 8 months ago (1 children)

I would really appreciate if you could DM me your feed xml as an example.