plαdys
05-20-2008, 07:02 AM
function_feeds.php line 108 is
$enclosure = $cfgrow['siteurl'].ltrim($cfgrow['imagepath'], "./").$image;
I have changed this to the following as I found out that feed would not validate with pictures that were uploaded with spaces in the name...
$enclosure = $cfgrow['siteurl'].ltrim($cfgrow['imagepath'], "./").rawurlencode($image);
In the same way the line for defining the $thumbnail variable has to be adopted accordingly.
$thumbnail = ltrim($cfgrow['thumbnailpath'], "./")."thumb_".rawurlencode($image);
I am assuming that the imagepath and thumbnailpath variables do not contain spaces ;-)
$enclosure = $cfgrow['siteurl'].ltrim($cfgrow['imagepath'], "./").$image;
I have changed this to the following as I found out that feed would not validate with pictures that were uploaded with spaces in the name...
$enclosure = $cfgrow['siteurl'].ltrim($cfgrow['imagepath'], "./").rawurlencode($image);
In the same way the line for defining the $thumbnail variable has to be adopted accordingly.
$thumbnail = ltrim($cfgrow['thumbnailpath'], "./")."thumb_".rawurlencode($image);
I am assuming that the imagepath and thumbnailpath variables do not contain spaces ;-)