
Originally Posted by
torvista
The Numinix code automatically appends
_products.xml to whatever name you have defined in the config.
So if you call it
fantastic
then you have to tell google it's called
fantastic_products.xml
The feed creation/upload popup window shows the filename clearly.
The reason it appends the _products.xml to whatever name you have defined in the configuration is to determine what kind of .xml it is.
Google base feeder will create documents.xml, and news.xml also. This just makes it easier for google to know what type of .xml it is.
PHP Code:
returns the type of feed
function get_type($type_parameter) {
switch($type_parameter) {
case 'tp':
$type = 'products';
break;
case 'td':
$type = 'documents';
break;
case 'tn':
$type = 'news';
break;
default:
$type = 'products';
break;
}
return $type;
Bookmarks