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
[–] MajorHavoc@programming.dev 4 points 8 months ago* (last edited 8 months ago) (1 children)

Am I supposed to include the entire post in the description field? Or just a summary?

Lots of folks just include everything up until a reasonable character limit like 1000 characters. I think most feed readers will cut long descriptions short.

It is best practice to include an intentional separate summary. I write a sentence into my metadata for this. I try to answer "how would I describe this article if I sent it to a colleague?"

How do I handle the markup and formatting of the post?

The content should be HTML, and should generally only contain what would go in the main "content" tag in an accessible website. (Be sure not to include site navigation, page footer, etc)

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

I just keep adding crap until the end over time.

Technically, I clean it up, occasionally, because my RSS feeds and best of my blog links are built from the same metadata.

Its it good practice to include a thumbnail image or anything with the item in the feed?

Yes, it's a good practice. People like images.

How is that possible

A valid HTML image tag anywhere in the RSS will typically be rendered in a reader.

Some RSS specifications include a place to specify a preferred image. Readers vary in how they use this image, but will typically feature it prominently. (Because people like images.)

Traditionally, this image should be particularly relevant to the content, and should also actually be included in the page content. (I feel like this rarely happens, though!)

Most feed readers will simply choose the first image they find on the page, if nothing is specified in the specific image RSS field. This often gets weird, especially on websites with prominent ads.

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

https://mastofeed.org/ can automatically post your RSS feed links to your Mastodon account, if you're into that sort of thing.

That said, I don't actually want more blog readers, I just think the RSS spec is interesting. So take my advice on gaining readership with a huge dose of salt.

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

Thank you so much for your advice.

[–] MajorHavoc@programming.dev 1 points 8 months ago

You're welcome! Thanks for helping keep the RSS torch alive, and happy blogging!