jekyll-rss-absolute-urls

jekyll-rss-absolute-urls

A Jekyll plugin that converts relative URLs to absolute ones in href and src attributes. Designed for RSS feeds.

RSS Feed Relative URLs to Absolute filter

A Jekyll plugin that provides a Liquid filter to convert relative URLs to absolute ones in RSS feeds. Since some feed readers do not support relative URLs, it is necessary to convert them. This plugin targets href and src attributes found in your content.

Install

  • Copy the plugin file to your /_plugins directory (create one if you don't already have one)
  • Apply the filter to your XML feed file(s). It might look something like this: <description>{{ post.content | xml_escape | relative_urls_to_absolute }}</description>

Credits and Example

  • Special thanks to John Tornow for the help!
  • You can see the plugin working on my site, halph. Here's the feed.