I've been thinking about making it even easier to install individual
plugins. Firefox 3 has a "web protocol handler" API
(https://developer.mozilla.org/en/Web-based_protocol_handlers) that
would allow you to do things like register a "squeezeinstall" protocol
such that links like
HREF="squeezeinstall:repo=http...etc...&type=plugins&name=MyPlugin"
could be handed off to SqueezeCenter (via URLs like
http://yourip:9000/extensions/install.html?id=squeezeinstall:repo%3dhttp...etc...%26type%3dplugins%26name%3dMyPlugin
). SC could then display a simple confirmation screen ("Do you want to
install the plugin MyPlugin from http...etc...?"). Installing a plugin
would add the source repo URL to the extension downloader's list of
repos (needed so the user can learn of plugin updates).

One really nice thing about the Firefox3 web protocol handler API is
that Javascript running on SC7 would register the user's SC7 URL so
that neither the plugin author nor the user would have to know or enter
the SC7 web address to make the squeezeinstall: links work.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime 
KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=54805

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to