gdata

Impossibility of loading a “Excel 5.0/7.0 (BIFF5) format” file in R

荒凉一梦 提交于 2019-12-13 15:08:03
问题 There's a multitude of ways to load Excel files in R, as reported here: http://www.milanor.net/blog/?p=779 However, I've tried most of the options out there (RODBC, xlsx, gdata, XLConnect) and just cannot make R load this particular file, published by the British government in 2013: http://www.ons.gov.uk/ons/rel/npp/national-population-projections/2012-based-projections/rft-table-a3-4-principal-projection---england-population-single-year-of-age.xls Here's an example of my failed attempts: #

Retrieve only specific columns of spreadsheet with zend gdata from gdocs

喜夏-厌秋 提交于 2019-12-13 06:06:25
问题 I am working with relatively large spreadsheets from gdocs and access them via the zend library. I only need certain columns at any given time so in order to save memory it would be helpful to use the list-based feed to only retrieve these certain columns and not the whole spreadsheet. The basic query I am using is according to the zend documentation $query = new Zend_Gdata_Spreadsheets_ListQuery(); $query->setSpreadsheetKey($spreadsheetKey); $query->setWorksheetId($worksheetId); $listFeed =

Possible to request gsessionid without a 302 response

我与影子孤独终老i 提交于 2019-12-13 02:48:59
问题 I'm writing a google gdata API client in Flash/AS2 (sadly, moving to AS3 is not an option at this time). Logging in via ClientLogin works fine but subquent requests will return a 302 redirect that includes a gsessionid I am supposed to include with future requests to avoid the 302s. Flash/AS2, AFAIK, does not allow me to actually query an http error response body in any way, so there's no way for me to actually see this gsessionid after the 302 is returned. Is there a gdata api call which

Get Video Links from Youtube Channel, extract video IDs from Urls and store them in an array

人走茶凉 提交于 2019-12-12 19:04:37
问题 This is my first question on this site. I'm new to php but i've followed advice and gotten my hands as filthy with it as possible. Unfortunately now I'm a little stumped with this simple Youtube app i'm trying to create. I know there are a several related questions out there, but i haven't yet found a comprehensive solution to my problem. Anyway, what I'm trying to do is get the urls of videos in a youtube channel, extract the video ID and create an array that i can then pass off to a

GDataXMLDocument nodesForXPath return an error

痞子三分冷 提交于 2019-12-12 18:07:33
问题 I need your help, i want to parse an XML file using GDataXMLDocument and i want to fetch particular tag's all attributes but when i am using or just provide me the XPath's value to get columnHeading value GDataXMLDocument *doc = [[GDataXMLDocument alloc] initWithData:[NSData dataWithContentsOfFile:path] encoding:NSUTF8StringEncoding error:NULL]; NSArray *tempArray = [doc nodesForXPath:@"//root/xsd:schema" namespaces:nil error:nil]; it returns below error. XPath error : Undefined namespace

Google Data API: how to do authentication for desktop applications

烈酒焚心 提交于 2019-12-12 07:58:34
问题 I wonder about the best/easiest way to authenticate the user for the Google Data API in a desktop app. I read through the docs and it seems that my options are ClientLogin or OAuth. For ClientLogin, it seems I have to implement the UI for login/password (and related things like saving this somewhere etc.) myself. I really wonder if there is some more support there which may pop up some default login/password screen and uses the OS keychain to store the password, etc. I wonder why such support

Zend Gdata Calendar Bad Request Error

旧巷老猫 提交于 2019-12-12 04:47:35
问题 I've been trying to work wit the ZEND GData API in CakePHP and have it setup and retreiving a list of calendars. All of that works, however when I try to retrieve calendar events, I get a bad request error and I am not sure how to solve it. Here is the code followed by the error message received when the script is run. * NOTE: I AM TESTING THIS FROM MY MACHINE USING XAMPP //GET LIST OF EVENTS $index = 0; foreach($listFeed as $list) { $query = $service->newEventQuery($list->link[0]->href); //

Can I use the .NET Google GData client in a MonoTouch or MonoDroid app?

妖精的绣舞 提交于 2019-12-12 04:28:50
问题 Is it possible to reference a library such as the Google GData .NET client in a MonoTouch or MonoDroid app? It would make integration with Google's services much easier. Thank you. 回答1: To get that library (or any library, really) to work against MonoTouch or Mono for Android you'd need to compile it against that profile. Out of the box the GData client won't compile against those profiles because it has some dependencies that aren't compatible. There's a post up here by Mike Bluestein that

insert a row in to a google spreadsheet using the API with java

陌路散爱 提交于 2019-12-12 01:23:59
问题 I have a google spreadsheet with 20 rows in. How do I insert a new row below row 10. I can delete a row with: URL listFeedUrl = worksheet.getListFeedUrl(); ListFeed listFeed = service.getFeed(listFeedUrl, ListFeed.class); ListEntry row = listFeed.getEntries().get(10); row.delete(); I can add a row to the end by re-sizing the worksheet. See here: https://developers.google.com/google-apps/spreadsheets/#modifying_a_worksheets_title_and_size I want an example of how to insert a row in the middle

Youtube javascript most popular videos API

纵然是瞬间 提交于 2019-12-11 21:31:55
问题 I am trying to implement Youtube's most popular videos api in my application. When I fetch data using ajax call, it is missing the "rel": "next" tag which is very important in identifying whether there are more videos or not. "openSearch$totalResults" also does not give any reliable information. I have read the documentation and they have not mentioned anything related to how many total results will this API return. My ajax call URL format is as under : http://gdata.youtube.com/feeds/api