|
ForDevelopers
IntroductionInterested in keeping the widgets up with the Netflix race? Here's what you need to know. SetupThe 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. AssemblyPutting together either widget is done with Make.
Key FilesThe 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. ReleasingTo 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. Upload the .zip and .dmg files to Google Code in the Downloads section. Update the Apple downloads (sorry, currently only the project owner can do this, unless we find some way to reliably share ownership of the Apple Widget download). |