You are here:  » Delete feeds once imported

Support Forum



Delete feeds once imported

Submitted by wilkins on Fri, 2007-05-25 10:47 in

Hi

Is there a way to delete the xml file once it is imported and still keep the hits in the admin section, having imported 1,000 of feeds its starting to fill up my hard disk.

Thanks

Brent

Submitted by support on Sat, 2007-05-26 15:29

Hi Brent,

For the hits to appear in the admin section a filename of the name of the feed needs to exist, but it needn't be the actual feed. Therefore, what you can do is delete the feed after import and put back another, empty file of the same name, so that the admin area still displays the feed data rather than the de-register link.

One option is to create an empty (or very small) file on your local computer of the same name as the feed and then upload this to your feeds directory. Alternatively, if you have a Linux server and shell access to your hosting account, you can use the following commands:

cd feeds
rm merchant.xml
touch merchant.xml

The touch command will create an empty file, called "merchant.xml" in this example. Then, when you want to update the merchant simply upload the new feed and import as normal...

Hope this helps,
Cheers,
David.