Totally Zenned
- Join Date:
- Feb 2007
- Posts:
- 1,724
- Plugin Contributions:
- 0
Easy Populate EP - Modification Help
Ive modified EP in the easypopulate.php file to utalise the froogle feed to create tab delimited feed for other uses. How ever i need have hit a wall in my skills that i need to fix.
- when exporting the url of my items its doesn't include my domain address just /cat/cat2/item how can i add my url into this??
PHP Code:
$filetemp['Link'] = 'v_froogle_products_url_1';
2)when creating the feed is brings in the whole description, but is there a way if limiting the amount of characters for the product description?? for example the first 2000 charactors of the description.
PHP Code:
$row['v_froogle_products_description_' . $lid] = '"' . html_entity_decodeCOLOR=#007700 . '"';
- when the feed creates it creates a new feed every time, is there a way to overwrite a file is exists on server instead of creating new??
PHP Code:
case 'froogle': {
$EXPORT_TIME = "txtfeed" . $EXPORT_TIME;
$csv_deliminator = "\t";
$csv_enclosure = ' ';
$FILE_EXT = "txt";
$filestring = array_map("kill_breaks", $filestring);
}
[/COLOR]