Look at this project, a php script that converts the relative url to absolute url. might be of use to you, I am using this for my module FeedAPI ImageGrabber<div><br></div><div><a href="http://sourceforge.net/projects/absoluteurl">http://sourceforge.net/projects/absoluteurl</a><br clear="all">
--<br>Regards,<br>Nitin Kumar Gupta<br><a href="http://publicmind.in/blog/">http://publicmind.in/blog/</a><br>
<br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 6:59 PM, Sam Cohen <span dir="ltr"><<a href="mailto:sam@samcohen.com">sam@samcohen.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Shai,<br><br>Thanks for the heads up on that. I always assumed RSS readers automatically converted relative paths to absolute ones.<br><br>This issue comes up a lot for me with sites that export content to an email program, so it's similar. To make sure that no relative paths go out via email --in images or links -- I run the content through a simple str_replace in the template.php file, basically looking for href="/ and src=/ and replacing it with the full path. <br>
<font color="#888888">
<br>Sam</font><div><div></div><div class="h5"><br><blockquote style="margin:1.5em 0pt"></blockquote><br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 12:39 AM, Shai Gluskin <span dir="ltr"><<a href="mailto:shai@content2zero.com" target="_blank">shai@content2zero.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">I've been using RSS a lot more lately, encouraging my clients to, and<br>
making my sites more RSS friendly.<br>
<br>
I've only recently realized that inline relative URLs break in a lot,<br>
if not most, feed readers. Do you encourage content editors to use<br>
absolute urls because of this? Do you use absolute urls in your own<br>
blogs?<br>
<br>
Shai<br>
p.s. I've been using magecache combined with CCK's functionallity for<br>
setting a separate display choice for RSS to size images smaller for<br>
RSS feeds, presuming a lot of the RSS audience is on a mobile device.<br>
Way awesome.<br>
_______________________________________________<br>
consulting mailing list<br>
<a href="mailto:consulting@drupal.org" target="_blank">consulting@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/consulting" target="_blank">http://lists.drupal.org/mailman/listinfo/consulting</a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
consulting mailing list<br>
<a href="mailto:consulting@drupal.org">consulting@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/consulting" target="_blank">http://lists.drupal.org/mailman/listinfo/consulting</a><br>
<br></blockquote></div><br></div>