Auto download of flash plugin / bug 66179
Benoît Canet
bcanet at dental-on-line.fr
Wed Sep 14 13:44:54 BST 2005
Hello,
I've written a small flash installer for kde 3.5 khtml.
I know 3.5 is feature freeze but maybe this patch can be usefull for some
people who make their own kde based distro.
The installer use an xml configuration file to retrieve some infos about
available netscape plugins.
The URL of this configuration file must be given in kcmnspluginrc with a key
like PluginsListFile=file://$HOME/config.xml.
When this key is present the installer get the xml file with Netaccess and
parse it.
If a plugin is available for this platform and this mimetype a KWizard is
shown.
If no plugin is available the normal download plugin dialog is displayed.
The install wizard looks like Firefox plugin install wizard.
The wizard download the licence and the plugin tar.gz from macromedia web site
so there no licence problem.
shortcomings :
the wizard doesn't reload the current web page at the end of the install.
I'm not sure if this installer works with the AMD64 platform.
Best Regards
Benoît Canet
Dental On Line
ps : the patch apply to kdelibs/khtml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugins.xml
Type: text/xml
Size: 739 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050914/d01decc4/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 30935 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050914/d01decc4/attachment.diff>
More information about the kfm-devel
mailing list