On Friday, December 17, 2010, Chuginator wrote:
> Instead of restricting the user to specific pictures of the day, why not
> open it up and allow an image URL?

good idea; probably the easiest way to do that would be to extend the potd 
DataEngine. my suggestion:

* create a service for the Providers source that has "addProvider" and 
"removeProvider"; this would save the results in a config file (or separate 
.desktop files for each; either would work fine)

* have a generic, built-in, provider that uses a provided URL as the image 
location that uses those

* check for such defined providers on potd startup and offer them alongside 
the other providers

then adding support for this in the plasmoid would be simple and 
straightforward.

extra points for adding a QScript backend much like the comics engine did so 
more complex providers can be added / downloaded from the web.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to