Full URLs with a PHx custom modifier
Recently I had to implement a RSS feed that displays the full content of the document. When done, I realized that the links and the images where not correctly displayed because all the paths where relative not absolute.
So, I decided to create my own PHx custom modifier. Currently this snippet only replaces the href and src values. It basically adds the site url in front of the paths.
I use it like this in my Ditto RSS template:
<description><![CDATA[ [+content:FullPaths+] ]]></description>