What's new? | Help | Directory | Sign in
Google
                
Search
for
Updated Apr 08, 2008 by ryan.s.lee
Labels: Featured, Phase-Implementation
ForDevelopers  
Information to assist developers.

Introduction

Interested in keeping the widgets up with the Netflix race? Here's what you need to know.

Setup

The project is divided into three parts: common files (common), Dashflix widget (dashflix), and Dashflix mini widget (mini). Common files are used in both widgets; they are included in the widget projects via the SVN externals mechanism. You will want to check out the root of the project. Be sure to update periodically while developing. Things may change in the common area.

Assembly

Putting together either widget is done with Make.

Key Files

The common/trunk/js/events.js file holds all of the scraping code, which is done with regular expressions. All of the regular expressions can be found immediately after the license text at the top of the file. This is the most likely place where a fix would be placed after a Netflix site update.

Releasing

To make a release, make sure the Makefile and Info.plist files both contain the correct version information. Make an SVN tag for the current common trunk and commit it, then change the svn:externals in both widgets to point to the new tag. Make an SVN tag for the trunk of both widgets. Run make all to get a .zip and a .dmg for the new version number.


Sign in to add a comment