Generate feed into subdirectory?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
NLC
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Mon Nov 30, 2009 7:28 pm

Generate feed into subdirectory?

Post by NLC » Mon Apr 19, 2010 9:21 pm

Is there a way to change where the Google Base/Yahoo/Shopping feeds are placed? We're running Plesk on a Windows server which does not allow write premissions to the root directory by the ASP.NET worker. Is there a way we can generate the feeds into another directory? We can manually move them to the root, just not generate them there.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Generate feed into subdirectory?

Post by mazhar » Tue Apr 20, 2010 10:20 am

Give a try Edit the *.cs files for you feed pages in admin and location following method

Code: Select all

GetPostedOptions()
in then in this method where options are intialized you pass your custom path as well for example something like

Code: Select all

options.FeedDataPath = Server.MapPath("~/App_Data/YourFeedFolder");

NLC
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Mon Nov 30, 2009 7:28 pm

Re: Generate feed into subdirectory?

Post by NLC » Tue Apr 20, 2010 7:46 pm

Yes! Fantastic! Works like a charm. Thank you mazhar!

Post Reply