DEV Community

Brandon Rozek
Brandon Rozek

Posted on • Originally published at brandonrozek.com on

Pretty RSS Feeds

Hi, I have a RSS feed. This allows you to subscribe to my words without me even knowing. How does it work? Well you need an RSS link, here’s mine:

https://brandonrozek.com/blog/index.xml

Then you need to input this URL into a newsreader application (Feedly, Feedbin, NetNewsWire, many others) which checks to see if there are any changes in the XML file and presents it in a visually nice way.

In fact, many websites come with a RSS feed. You don’t even need to know the exact URL for it to work, if you type in https://brandonrozek.com into your newsreader, you’ll get options for my various different feeds.

How does that work? Well the website creator needs to include a tag in their website HTML.

<link rel="alternate" 
      type="application/rss+xml" 
      href="https://brandonrozek.com/blog/index.xml" 
      title="Brandon Rozek's Blog" />

Enter fullscreen mode Exit fullscreen mode

Most RSS feeds don’t come styled. Therefore if you click on the RSS link you’ll see a bunch of XML formatted text. That can be confusing for people when they first visit, can we do better?

About Feeds RSS Style

Matt Webb created https://aboutfeeds.com in order to provide a friendly overview into the world of RSS. As part of that he includes a style called pretty-feed.xsl. The file comes with instructions built in, but it’s mostly as simple as adding a style tag in the beginning of the XML

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://brandonrozek.com/PATH-TO-YOUR-STYLES/pretty-feed-v3.xsl" type="text/xsl"?>

Enter fullscreen mode Exit fullscreen mode

I hope more bloggers incorporate the style into their feed. I’m waiting for the day that the largest blogging platform Wordpress includes it by default.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay