• JP Hastings-Edrei's avatar
    feat: remove RSS titles (#4140) · fcc4abf5
    JP Hastings-Edrei authored
    This removes the content of the <title> element in the RSS feeds that Memo produces.
    
    Why remove? Every RSS client I can find shows the <title> next to the <description> when viewing an item. This creates a duplicate (but often trimmed, so less useful) version of <description> right above the actual text the user wants to read (often in a much larger font). It similarly makes lists of items in some clients extremely tall, as 128 characters is a lot of hard-to-read text — especially when Memos renders links as their URL in titles.
    
    Why an empty tag? The RSS 1.0 and 2.0 specs require that a <title> element is present.
    
    Examples from elsewhere:
    - micro.blog uses an empty <title /> element: https://www.manton.org/feed.xml
    - Bluesky omits the <title> element: https://bsky.app/profile/did%3Aplc%3Aqvzn322kmcvd7xtnips5xaun/rss
    - Mastodon omits the <title> element: https://mastodon.social/@scalzi.rss
    fcc4abf5
Name
Last commit
Last update
..
rss.go Loading commit data...