You are here:  » Selectable Directory to Organize Feed Files?


Selectable Directory to Organize Feed Files?

Submitted by ItsDavid on Tue, 2016-05-10 15:13 in

Hi David,

I was wondering if there was a way to setup a selectable directory structure to download my feed files to?

What I would like to do is setup folders without a /feeds/ directory

Commission Junction

LinkShare

My 3rd Network

My 4th Network

Etc...

Then download my feeds to the correct network folder to make it easier to organize when dealing with 1,000's of downloads.

If it's not possible to do without having the /feeds/ folder I can live with that but is there a way to change the name of the folder without having any issues?

Best Regards

Submitted by support on Tue, 2016-05-10 15:19

Hi David,

You can change the name / location of the feeds folder no problem at all (it doesn't even need to be within the web-accessible root) since it is a configuration parameter, at line 4 of config.advanced.php:

  $config_feedDirectory = "../feeds/";

The above is a relative path as all scripts that utilise the feeds folder are within a sub-directory of the installation, either scripts/ or admin/

The value can also be an absolute file system path beginning "/" e.g.

  $config_feedDirectory = "/home/username/path/to/myfeeds/";

With regards to organisation, what I would suggest is using a prefix per network that you work with, for example for Affiliate Window feeds use aw_ at the start of all filenames, for TradeDoubler use td_ etc. and this keeps things nice and organised with your feeds folder.

Hope this helps!

Cheers,
David.
--
PriceTapestry.com