создаю файл rss.php
добавляю строку туда к уже существующим:
Code: Select all
$_GET['sponsor_slug']= 'yobt';sponsor_id тоже пробовал - тоже выдает всех
где копать? что не так делаю?
Code: Select all
$_GET['sponsor_slug']= 'yobt';Code: Select all
<item>
<title><!--ALT--></title>
<description><!--DESCRIPTION--></description>
<link>http://<?=$_SERVER['HTTP_HOST']?>/video/<!--GALLERY_SLUG-->/index.html</link>
<content:encoded><![CDATA[<a href="http://<?=$_SERVER['HTTP_HOST']?>/video/<!--GALLERY_SLUG-->/index.html" target=_blank title=""><img src="<!--THUMB_URL-->" border=0 alt=""></a>]]></content:encoded>
<thumb><!--THUMB_URL--></thumb>
<pubDate><?=date('r', strtotime('<!--ACTIVATION_DATETIME-->'))?></pubDate>
<content1:encoded><![CDATA[<!--EMBED_CODE-->]]></content1:encoded>
<spons><!--SPONSOR_SITE--></spons>
<group><!--GROUP_NAME--></group>
</item>Code: Select all
<?php
define('CACHE_TIME', 86400);
$_GET['force_template'] = 'rss';
$_GET['content_type']= flash;
$_GET['sponsor_slug']= 'yobt';
$_GET['skip_cell_settings'] = true; // skips cell K calculation - saves a bit of processor time
//$_GET['custom_galleries'] = true; // uncomment this line if you need only custom galleries in site map
include('./scj/tube/index.php');да, так выбирает только этого спонсораadmin wrote:scj/tube/?force_template=rss&content_type=flash&sponsor_slug=yobt&skip_cell_settings=true&skip_cache=true
нормально показывает ?
Code: Select all
<group1><group_list><!--GROUP_NAME-->,</group_list></group1>