Community Questions & Answers
Ti.Yahoo.yql and oauth help
I'm starting a project using Yahoo YQL, but I'm finding very limited support on this for Titanium Mobile. I've seen some references to this: Ti.Yahoo.setOAuthParameters(consumerKey, sharedSecret); Which has zero documentation, but I imagine that it's...
Yahoo graper refuses to work since short time
Hi *; I'am using yql to retrieve remote HTML as JSON Since two hours comes: `Redirected to a robots.txt restricted URL: http://lecture2go.uni-hamburg.de/` Is there an other javascript lib which parse HTML to JSON? In this case I would use Ti's own http...
Yql query in is not giving me the expected result
I am trying to retrieve the xml data from rss feed using yql query.Below is the link for rssfeed.Actually the data which i want to retrieve is the url of mp3.But when i try this query on yahoo console.It gives me null in the link tag.I am unable to figure...
How to set Parameters for Titanium.Yahoo.YQL?
I cant find anyway to put parameters into YQL to fetch private data like contacts lists etc.I dont find it documented anywhere.. I know we can fetch public data without parameters but i am asking about private data which needs parameters like...
Yql query in titanium is not giving me the expected result
Hi I am trying to retrieve the xml data from rss feed using yql query.Below is the link for rssfeed.Actually the data which i want to retrieve is the url of mp3.But when i try this query on yahoo console.It gives me null in the link tag.I am unable to...
Ti.Yahoo.setOAuthParameters() is deprecated?
You can see a Titanium + YQL reference video on vimeo. [Vimeo Video Yql + Titanium](http://vimeo.com/6974731?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+YDNLinkBlog+(Yahoo!+Developer+Network+Linkblog)) in source code, there's...
Access a value from JSON that has a parentheses
I'm using YQL to parse a website and then display the information in my app. It was all working really well until I came across something weird. This is what the JSON looks like: ~~~ { a = { content = 40082; href =...
YQL Sample, keys, and misc.
So the kitchen sink has a great example of using yql, but when I use the same code in my application (slightly modified to work properly with a sible tab) it provides a error with NSDomain... Simply put, I cannot find any good documentation on using yql...
YQL basic code ??
Hi All, I have tryed kitchen sink yql exmple but its not working, can u sugest me yql basic execution example..Thank You
Using YQL & xpath to scrap a website
Hi folks, first time trying this as I have no access to a websites database content. I want to use YQL and the xpath to scrape the website and export the specified part in JSON. On the Yahoo YQL console I have the desired query working, but when i put it...
Accessing a specific element using xpath
I want to access a specific elemnt using xpath.This is my the result of yql query ~~~ <h6>First qld Quaddie</h6> <h6>second qld quaddie</h6> ~~~ and i am using this yql query ~~~ select content from html where...
Ljava.Lang.obj using yql query in titanium
Hi i am making rssreader using yql query.My query is working fine and i have shown its result in yql console but when i make a tableview of this it shows two entries in the table saying Ljava.Lang.obj My code is as follows ~~~ var QLDRssWin =...
RssReader using yql is not showing result on table
I am making a rssreader using yql in titanium.My yql query is working fine.I have tested its result but it is not showing the restult in the table.I just want to show all those content which are showing in the alert Here is my code ~~~ var QLDRssWin = =...
RssReader using yql not working
Hi i have made a rssreader in titanium using yql query but it is not giving me the requiremd result This is my code ~~~ var win1 = Titanium.UI.createWindow({ backgroundColor : '#f00' }); var tableView1 = Titanium.UI.createTableView(); ...
Measurong length of array not chracters
Hi I have one problem regarding the length function.The problem is that when more than one entries come in the variable it calculates the length perfectly but for one entry it starts to measure the number of characters instead of length array.I want...
YQL/XHR in the loop - how to make it work?
I need to go through a list of urls, and parse them with YQL. The obvious way - for loop with YQL query within - would not work, because YQL is asynchronous. Is there any other way to do it?
RssReader using yql not showing results
Hi I have made a rss reader using yql query.The query is working fine i have see result in console but is not showing results either in alert or table.The code was working fine till yesterday. var GlobalVar=new Array(); var...
Event listener not working
Hi my button event listener is not working.It was working till yesterday correctly but now it is not working var GlobalVar=new Array(); GlobalaVar=["PHP Web Developer","Drupal Developer"]; var win5 =...
Selecting href using yql
Hi, I want to pick the url using yql query and this is result of my query <a href="job.php?JOBID=5#job-table"/> <a href="job.php?JOBID=3#job-table"/> <a...
using variable value in xpath and yql
Hi I have one yql query and i want that i pass variable in that query here is an example.This is a yql query and i want that the tr[1] value could be changed using varibale n whose value could be 1,2,3,4,5...n select * from html where...
Error in rssreader using yql
I am making a rssreader using yql.I have checked the output using yahoo console and it is perfectly alright but it is not working on my titanium and giving error that cannot read property element value of null plz chech out my code var tableView =...
Error in table view or yql
Hi I am doing yql query to make a simple rss reader of a webpage.I have checked the output in yql console and it is perfect but when i try to insert it into table it gives an error that "cannot read property length of undefined type".plz help me...
Retrieve RSS thumbnails with Yql and Json
Hi, I need to develop a RSS Reader Application. I tried more options to build that in the best way and I found [andferminiano-titanium-mobile-yql-rssreader-810ad87 ](https://github.com/andferminiano/titanium-mobile-yql-rssreader) really brilliant and...
native request to yql (timeout 10 sec. is not enough)
Hi I try to request from GPSies: ~~~ http://query.yahooapis.com/v1/public/yql?q=select * from xml where...
YQL with timeout
Hi, is it possible to increase YQL request(without patching)? Rainer
YQL and xpath
Hi *, I try to get a div with ID: ~~~ select * from html where url="http://www.pflege.de/blog/2012/07/fahrrad-fahren-der-ideale-sport-fuer-das-alter/" AND xpath="//*[@id=\"leftsingle\"]" ~~~ and this is on console: ~~~ ...
Titanium.Yahoo.yql
where is timeout? In this native doc I can set it: http://developer.yahoo.com/yql/guide/yql-javascript-objects.html#yql-execute-yqueryobject Rainer
YQL XML response
How can i get Ti.Yahoo.yql() response in XML instead of JSON? Hi. I am using Ti.Yahoo.yql() to run yql query to scrap part of the website. But i get the response in JSON. Adding "&format=xml" at the end of query string doesn't work. Is...
Ti.Yahoo.YQL - Daily Limit for Ti users?
Just wondering if this is similar to the Ti Reverse Geo, where there is a key embedded in Ti for the consumer and provider that has a limit? In the evening (US EST), Ti.YQL seems to stop working - thinking that might be when the daily calls run out. If...
TQL query not working in Kitchen Sink
I have loaded and built the Kitchen Sink app for Android. On my phone and the emaulator I get an error when I run the Flickr app, saying the YQL query returned no results, can anyone help ?
I got a problem in yql or with json ?
see this ~~~ var query = "select * from rss(" + numItems + ") where url in(http://username.posterous.com.something.xml) |sort('pubDate')|sort('date')| sanitize()"; Titanium.Yahoo.yql(query, function(e) { if(e.data == null)...
Google Weather Api with YQL. Dont work/
Hi all! Google weather API sends a response in the xml format. But I need JSON. [As it was said here ](http://cssgallery.info/seven-days-with-titanium-day-3-ajaxxhr-and-webviews/) I have to convert xml to json using yql. But seems it does not work for...
yql - read html from file instead of url
Hello, I have a problem, my YQL query looks like this: ~~~ SELECT content FROM html WHERE url="http://yahoo.com/" AND xpath="//a" ~~~ and the question is .. is there any chance to read local html file in YQL? like using...
YQL Screen Scraping
This is essentially a follow up question to [this one](http://developer.appcelerator.com/question/124330/yql-help), but once I finally got some results from my YQL query, they weren't in the format I was necessarily expecting and now I'm not sure how to...
YQL Help
I realize this question is sort of peripheral to Titanium development, but I'm trying to use the YQL API and can't get a query to work. I've asked everywhere else I can think of (StackOverflow, the YQL forum, the YUI IRC channel, etc.) and hear nothing but...
Yahoo API not available
The (Ti|Titanium).Yahoo API object appears to be undefined when running inside the iPhone simulator. I've rm'ed the build directory and rebuilt to find the same result. I've also tried building the KitchenSink demo in which the YQL example appears to work...
Using the YQL-Flickr example in KS how to open image in webview?
Hi Guys. Im modifying the KitchenSink example of the YQL+Flickr to grab images from my album. The example just shows an alert with the row number etc... when an image is clicked. Instead i would like to show a webview with the full sized image. How do i go...
How do i get YQL results into a tableview?
Hi Guys. Does anyone have an example for getting info from a YQL query into a tableview? For example if i query BBC news for the latest headlines how do i show each headline as a row in a tableview? Code examples please! I've looked at the KS example of...
YQL whithin a function to perform several calls
Hi, I am new using YQL, and I am not very good using callback functions. I want to create a function that returns the result of a YQL query, but since the result data is in e parameter of the callback function, I don't know how to return it to the main...
yql multi-queries
how would one pass a multi-query using yql in titanium?
YQL query with open data tables crashes app
Hi all, I'm running into an issue with Titanium's Titanium.Yahoo.yql method on iPhone. I'm trying to execute a query which uses an open data table that I've built but unfortunately, it's causing the following exception: >Terminating app due to...
Yql type error ?
Hello, i'm trying yql : ~~~ Titanium.Yahoo.yql( 'select * from xml where url="http://developer.appcelerator.com/feed/questions/created"', function(e) { // e.data holds the reply in json format }); ~~~ but i get an error : ~~~ TypeError:...
MapView Multiple Annotations
Ok so i am trying to build a map with multiple annotations, the place names are being retrieved from an XML file on an external server. From here i am using a basic "for loop" to go through all my place names and do some formatting and basic...
YQL Limit parameter
The yql limit parameter does not seem to be working. I've tried the ~~~ select * from xml where foo='bar' limit 10 ~~~ ~~~ select * from xml(10) where foo='bar' ~~~ But it seems that Ti pushes all the records through instead of 10. It works fine in the...
things broke after update
Downloaded update to the mobile SDK but... 1) The title bar still says 1.2.1 2) My app no longer works. The app gets and parses data via YQL. Anybody else having issues?
YQL vs XML
I've got a working app on iPhone using YQL queries. Very nice, easy to use data returned from the YQL functions... but I'm migrating this to android too, and therefor need to find an alternative (standard xhr, I assume) to do it... I would still like to...
android yql support?
Is there / will there be YQL support? Just wondering if I should be re-writing all my iphone yql stuff in order to use the app on android? (I get errors on any YQL functions now in the android emulator) Thanks! David
yql in developer 2.1?
trying to get yql working on android with the latest TiDeveloper, but I'm getting this error when running the yql_flicker.js demo in kitchen sink. ~~~ [TRACE] E/KrollContext( 839): (kroll$1) [950,5799] ECMA Error evaluating source: TypeError: Cannot...
YQL on android in SDK 1.0
I'm trying to work with YQL in andriod. In 0.8.x it worked fine. But since 1.0 it's gone? The docs say it's supported both on Andriod and Iphone. But if you look at Kitchen Sink, on andriod the mashup tab is not shown and if you enable it, it will crash...
Does YQL support INSERT, UPDATE and DELETE
Hi, I am trying to use INSERT, UPDATE and DELETE with the Ti.Yahoo.yql and I don't know why, it's not working. Do you know if these options are available on Titanium?
Showing 1-50 of 53 1 2