language = new Language($id_lang); } if(!$conf['rss_active']){ header('HTTP/1.1 404 Not Found'); header('Status: 404 Not Found'); header('Location: '._PS_BASE_URL_.__PS_BASE_URI__.'404.php'); } header("Content-Type:text/xml; charset=utf-8"); echo ''."\n"; ?> <![CDATA[<?php echo Configuration::get('PS_SHOP_NAME') ?>]]> PrestaShop language->id); ?> <![CDATA[<?php echo $context->shop->name; ?> Blog]]> language->id); echo "\t\t\n"; echo "\t\t\t<![CDATA[".$post->title."]]>\n"; echo "\t\t\t"; $img_relative = rtrim($conf['img_save_path'],'/')."/"; $cdata = true; if($post->default_img['img_name'] != '' && is_file(_PS_ROOT_DIR_.'/'.$img_relative.'list/'.$post->default_img['img_name'])){ echo 'default_img['img_name'].'" title="'.$post->title.'" alt="thumb" />'; $cdata = false; } if ($cdata) echo "content; }else{ $desc = "

".$post->excerpt."

"; } echo $desc."]]>
\n"; echo "\t\t\t\n"; echo "".$post->date_on.""; echo "\t\t
\n"; } ?>