Hello. I am pulling in a friend's rss feed and we are trying
to figure out how to make images display correctly. Here is a
sample chunk that I pull in:
well, i'm no regex guru... that pattern to match a URL was
found via google 🙂
the rest of it is pretty straightforward. find any instance
of "Image: " followed by the URL pattern. The URL pattern is
enclosed in parentheses which means we can reference it later as
\1. so you now have that URL in what's essentially a variable...
pop that variable into the <img src= /> and that's all she
wrote.