Skip to content

Blog and Feed

You'll write five real posts, build an archive page that lists them, and publish an RSS feed so people can follow you without an algorithm in between.

About

A blog is a page per post and a list of them, and the feed is what makes it a blog rather than a diary, because it lets people follow you without an algorithm in between. You'll write five real posts, each with something in it you learned. Then you'll put a feed link in the head so readers can subscribe, and subscribe to it yourself to see it work. Pick your URL pattern once, because changing it later breaks every link anyone shared.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
One month
Skill level
Beginner (done it a few times)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
With other people
Locked for now
Earn two more Uncommon badges in Web Building to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Decide on a URL structure and stick to it. /blog/slug-of-the-post is fine, and dates in the path are fine too. Pick once, because changing URLs later breaks every link anyone shared. Take a screenshot of a note with your URL pattern and the reason you chose it. Photo
  2. 2
    Write and publish five posts of at least 300 words each. Each one needs a title, a date, and a thing you learned, built, or changed your mind about. An announcement that you started a blog doesn't count as one of the five. Take a screenshot of your fifth post with its date and a word count. Photo
  3. 3
    Build an archive page that lists every post. Show the title, the date and a one-line summary for each, newest first. It can be written by hand for now, and a later badge will generate it. Take a screenshot of the archive page. Photo
  4. 4
    Publish an RSS or Atom feed. Make a feed.xml with your five posts, either full text or a summary each, and validate it at validator.w3.org/feed. Add a link rel="alternate" tag to the head of every page so feed readers can find it on their own. Take a screenshot of the validator passing. Photo
  5. 5
    Subscribe to your own feed in a reader and watch a post arrive. Use any free reader, like NetNewsWire, Feedly, Miniflux or Inoreader, and add your feed. Publish a sixth post and watch it show up. Take a screenshot of your post inside the reader. Photo
  6. 6
    Ask one person to subscribe and tell them why they should. Do it in a message or in person. Tell them what you'll write about and how often. Take a screenshot of the conversation, with names hidden if they'd prefer. Photo