Skip to content

Specification for feed icon #270

Closed Answered by AlphaJack
AlphaJack asked this question in Q&A
Apr 21, 2024 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

I tried implemeting the Atom feed from scratch and it worked, and I realized I was mixing the syntax with the RSS 2.0 feed.

Below the working code for both feeds, featuring website images (128x128 .ico) and post thumbnails (1200x630 .jpeg):

Atom 1.0

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://example.org/</id>
  <title>Example title</title>
  <subtitle>Example description</subtitle>
  <link href="https://example.org/" rel="alternate" type="text/html" hreflang="en"/>
  <link href="https://example.org/blog/feed.atom" rel="self" type="application/atom+xml"/>
  <icon>https://example.org/favicon.png</icon>
  <logo>https://exampl…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@spacecowboy
Comment options

Answer selected by AlphaJack
Comment options

You must be logged in to vote
3 replies
@spacecowboy
Comment options

@AlphaJack
Comment options

@spacecowboy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants