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
google base feed
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: google base feed
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
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
Re: google base feed
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
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
Re: google base feed
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
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);