Hi Guys,
Wondering if you can help me out?
After CURLing a page can I change the HREF links within the content that I have just rendered?
For example, lets assume you run a simple CURL get command and curl the site, www.google.com and that page contains various links to google.com but does not fully qualify the url link so your rendered page has links like;
<a href="/somelink.html">Some Link<a>
When what you want are links like these so that the rendered content will still work?
<a href="http://www.google.com/somelink.html/">Some Link<a>
Any advice much appreciated.
Thanks, Digs