#!/usr/bin/perl # This filter makes plain text URLs which appear in a feed item's description into clickable links. Definitely works on Twitter feeds. # Written by Adrianna Pinska # Licence: GPLv3 while(<>) { s#(?)(http[^ <]*)#<a href="\1">\1</a>#g; s#(?<=)(http[^ <]*)#<a href="\1">\1</a>#g; print $_; }