Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A collection of examples for generating a Yahoo! Application Platform application from an RSS feed
PHP
tree: 7368e9b736

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
index.php
license.markdown
preview.png
readme.markdown
readme.pdf
sprite.gif

readme.markdown

RSS YAP app

A simple framework for generating a Yahoo! Application Platform application from an RSS feed

Installation

  • Click the download button above - OR -
  • Clone this repository: git clone git://github.com/erikeldridge/rss_yap_app.git

Usage

Requirements

  • PHP 5.2

Initialization

  • Upload this directory to your server
  • Create a new YAP application
  • Set the "Application URL" of the app to point to the location of this directory on your server
  • Set the "Small View Default Content" to:

    <style>
    #loading {
       font-size: 12px;
       font-family: Verdana, Arial, Helvetica, sans-serif;
       margin: 10px;
       background-image: url(http://l.yimg.com/a/i/ww/met/anim_loading_sm_082208.gif);
       background-repeat: no-repeat;
       padding-left: 30px;
       height: 16px;
    }
    </style>
    <yml:include replace="loading">
       <div id="loading">Loading ...</div>
    </yml:include>   
    
  • Click the "Save" button

  • Click the "Preview" button to see your app

Customization

Setting the feed url

  • Open index.php in a text editor
  • Set the "$feedUrl" variable at the top of the file to point to the RSS feed of your choice, e.g. "http://sports.yahoo.com/sow/rss.xml"
  • Save the file and reload the app
  • Note: by default, yapgen only handles RSS syntax. Also, some feeds may require special handling.

License

Something went wrong with that request. Please try again.