I would like to transform some data I am getting from an RSS feed. I get a set of items and create nodes using the data I get, so far so good.

However, some of the data fields contain relative URLs, which used on the original site work fine. When used in a node on my site, though, they don't, of course.

I would like to do a search-and-replace to add a protocol and site to these relative URLs, converting them to absolute URLs.

My preference would be to do this with a rule that is triggered on node creation. Two alternatives I see are doing this transform in the Feeds processor or doing the transform in the View that is showing the list of nodes.

I am coming up short and have not found any solution. Advice would be much appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.