Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Removing Number from Feed File Name

  1. #1
    chazandchaz is offline Member
    Join Date
    Jul 2006
    Posts
    70

    Default Removing Number from Feed File Name

    In v7 when you create a feed file with the name google.xml it created a file with the name google.xml

    In v8 and above it affixes a number sequence (maybe number of products) at the end of the file name i.e. google1_XXXXX.xml

    I can't seem to find the line of code affixes this to the end of the feed file. Has anyone been able to create a mod to disable this. It is quite annoying to have to rename the file after every update.


    Any help is appreciated and thanks in advance.

    Chaz.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    It should be in Feed.cs under ExecuteFeed() method. You can see LowerBound variable there which holds the number of products retrieved into the googlefeed.xml. Actually, prior to revising the googlefeed, we've been receiving a lot of complaints about 'timed out' exception upon generating a feed with huge numbers of products. So, we came up a solution and create multiple feed.xml file when your product exceeds 20,000.

  3. #3
    chazandchaz is offline Member
    Join Date
    Jul 2006
    Posts
    70

    Default

    I dig it... so if my feed was over 20,000 it would automatically break up the feed into multiple files?

    If I am under 20,000 products it should be okay for me to leave out the number when naming the file?

    thanks for your info on this.

    Chaz.

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    That number will vary a bit by server environment, but 20k is the number we found that seemed to be the 'break point' in most cases. You can take that out and try it and if it runs ok without that on your setup then you should be alright.

  5. #5
    PowerProducts is offline Member
    Join Date
    Oct 2010
    Location
    Spokane, WA
    Posts
    40

    Default

    Our Break Point was around 7k products. I have now split my feeds into separate stores and the biggest is 6,200 products right now. So We are safe for a while. What i did to solve this for the time was execute the feed on the server, but not upload it using the feed application built into the site. Then i went and grabbed the file and manually uploaded it into my google base account or i FTPed it from my desktop. Both worked well, but added a few extra steps. I would highly recommend this if you have run into a glitch with it timing out.
    Currently running 9.3 Multistore on 5 sites.