google base feed

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
jgabriel
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Mon Nov 07, 2011 4:28 pm

google base feed

Post by jgabriel » Mon Nov 07, 2011 4:38 pm

urgent :
i have a problem when i look at googlebase class in able source code ,i found two or three methods like GetHeaderRow and Getfeeddata , my question is where is the implementaion of method BeginCreateUploadFeed() ? cause i changed the format so i used getheaderrow() , getfeeddata () , but i need to make uploading to the feed like method begincreateuploadfeed() in the another method

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: google base feed

Post by jmestep » Tue Nov 08, 2011 7:32 am

The methods are in the FeedProvider and are called from the admin page for the Googlebase feed.

Code: Select all

      feedProvider.BeginCreateFeed(options, new AsyncCallback(this.EndAsynFeedOperationCallBack), "");
            feedOperationStatus.Messages.Add("Creating  feed File.");
            feedOperationStatus.StatusMessage = "Creating feed File.";
            feedOperationStatus.Percent = 0;
            ProgressBar1.ProgressText = "Creating feed File.";
            ProgressBar1.Value = 0;
            FeedCreationProgressPanel.Visible = true;
            FeedInputPanel.Visible = false;
            Timer1.Enabled = true;
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

jgabriel
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Mon Nov 07, 2011 4:28 pm

Re: google base feed

Post by jgabriel » Tue Nov 08, 2011 8:15 am

thank u but i know this method
my question is what i want to do uploading ?
how to make upload feed ?
i used GetFeedData() method with GetHeaderRow() and change format

but there is no upload method to use beside this

can u help me plz

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: google base feed

Post by plugables » Tue Nov 22, 2011 6:21 am

The upload method is in FeedProviderBase class from which the GoogleBaseFeed extends. Upload functionality was in the old google base feed. In the new feed upload is not needed. Instead google pulls the feed from your site automatically.

For uploading using FTP you may do something like this

Code: Select all

FtpClient ftpClient = new FtpClient();
ftpClient.RemoteHost = ftpHost;
ftpClient.UserName = ftpUserName;
ftpClient.Password = ftpPassword;
ftpClient.TransferType = FtpTransferType.BINARY;
ftpClient.PutFile(LocalFileName, RemoteFileName);

Post Reply