Is there a built in function/plugin that converts relative paths from a html page to absolute ones? Example: target url: http://mysite.com/folder/url.html url content: ... <script src="/script.js"></script> some link ... converted content: ... <script src="http://mysite.com/script.js"></script> < a href="http://mysite.com/folder/link.html">some link</ a> ... How can I accomplish this using ruby ? -- Posted via http://www.ruby-forum.com/.