0

Code Examples and Tutorials for YOS & YAP

Interested in creating apps on Yahoo!'s open platforms? We just released a series of step-by-step tutorials and code examples to complement our Y!OS documentation. Here are a few highlights:

Getting Started With YQL:
http://developer.yahoo.com/yos/tutorials/yql_console.html

Code Examples for Y!OS and YAP:
http://developer.yahoo.com/yos/code_exs/index.html

Are we missing any code examples or tutorials you'd like to see? Please let us know by replying to this post.

-- YDN Docs Team

by
2 Replies
  • I want to develop a Yahoo! App for http://apps.yahoo.com/myapps that will grab content from a particular RSS feed, parse the XML nodes, and render the data with HTML and CSS. Does Yahoo! provide any wrapper functions to grab external feed content from third-party feeds? For comparison, this is achieved in Google Gadgets with the following Google API functions:

    _IG_FetchContent(url, func) Returns and operates on the content at url as text. This is the function you should use for working with HTML content.
    _IG_FetchXmlContent(\url, func) Returns and operates on the XML content at url as a DOM object.
    _IG_FetchFeedAsJSON(url, func, num_entries, get_summaries) Returns and operates on the feed content at url in JSON format.

    What is the Yahoo! equivalent? Do you have any examples you can provide?

    Thanks!
    0
  • Yes, YQL will allow you to bring in external data feeds like XML / JSON / RSS.

    If you go here: http://developer.yahoo.com/yql/console/ and on the right column under "Available Tables", click on "data" to expand. The console will give you a test bed to see the sample queries.

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    QUOTE (burntber @ Feb 11 2009, 12:36 PM) <{POST_SNAPBACK}>
    I want to develop a Yahoo! App for http://apps.yahoo.com/myapps that will grab content from a particular RSS feed, parse the XML nodes, and render the data with HTML and CSS. Does Yahoo! provide any wrapper functions to grab external feed content from third-party feeds? For comparison, this is achieved in Google Gadgets with the following Google API functions:

    _IG_FetchContent(url, func) Returns and operates on the content at url as text. This is the function you should use for working with HTML content.
    _IG_FetchXmlContent(\url, func) Returns and operates on the XML content at url as a DOM object.
    _IG_FetchFeedAsJSON(url, func, num_entries, get_summaries) Returns and operates on the feed content at url in JSON format.

    What is the Yahoo! equivalent? Do you have any examples you can provide?

    Thanks!
    0
  • It would be awesome if you guys could provide the source (or similar source) to the "To Do List" (Content Id: 8299978) app. It seems like the next step up from the "mysocial.php" tutorial, as it allows some interactivity. I think the amount of examples that YUI have available has made me spoiled :)
    0
This forum is locked.

Recent Posts

in Y!OS Documentation