Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted at DevOpera

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By operadev anchor Monday, 30. April 2007, 17:21:54

Opera Widgets Specification 1.0

The Widget specification Opera's implementation uses.

( Read the article )

By data64 anchor Tuesday, 12. June 2007, 16:17:51

avatarIs there a way to update the widget after it has been deployed ?
To clarify the question, the code within the widget can poll a particular URL after some interval (week, month, year, etc) to figure out whether a newer version of widget has been released. But, then what ? Is the user supposed to go down the widget again and will it overwrite the existing one, while preserving any widget specific settings ? or is there a way to get the widget to downloads updates ?

data64

By Ghostshaw anchor Sunday, 7. October 2007, 10:34:09

avatarThere are sever error's in the access example block (the <port> tags are closed with </path>) and the first bit about widget javascript is there twice.

-Ghost-

By chrismills anchor Monday, 8. October 2007, 14:55:46

avatarThanks for pointing these out ghost - I've fixed the tag errors. But I'm not sure which bit you are referring to that is duplicated.

all the best,

By AyushJ anchor Monday, 8. October 2007, 20:59:31

avatarhttp://paste.css-standards.org/26438/view
see the red parts..

By chaals O anchor Friday, 12. October 2007, 11:08:30

avatar@data64, in the initial implementation there is no auto-update mechanism - although you can always write one into the widget itself.

Widgets are being standardised at W3C now, and part of the work there is looking at this issue. You can read more about the Web Application Formats group and what they are working on - most of what they do, including pretty much all of their technical work, is public.

By ofiginuri anchor Saturday, 10. November 2007, 07:54:44

avataris it possible to set link for using openURL() to open link in, f.e. #_blank target?

By MixedBagDude anchor Tuesday, 4. December 2007, 23:42:50

avatar

Originally posted by operadev:

The Widget specification Opera's implementation uses.

( Read the article )



It is unclear to me how widgets can save and load data. I see several fine examples of widgets which appear to do this. However the Widget spec tells me nothing of how this is done. My only guess is that it uses an Applet. Yet the spec does not make any reference to Applets, nor if Java code is executed from a standalone Java app?

Where can I find more detailed info on widgets and examples?

Thank you

Charles

By Jadd anchor Saturday, 8. December 2007, 09:29:35

avatar

Originally posted by MixedBagDude:

It is unclear to me how widgets can save and load data. I see several fine examples of widgets which appear to do this. However the Widget spec tells me nothing of how this is done. My only guess is that it uses an Applet. Yet the spec does not make any reference to Applets, nor if Java code is executed from a standalone Java app?Where can I find more detailed info on widgets and examples?Thank you

I think those widgets use preferenceForKey() and setPreferenceForKey() methods.

By Profesjonalna anchor Monday, 31. December 2007, 01:11:07

avatarI think those widgets use preferenceForKey() and setPreferenceForKey() methods. - I agree with Jadd and I like to use them :smile:

btw. "Where can I find more detailed info on widgets and examples?" - I think You can search it on Tools menu.

Cheers

By zomaaaaaaa anchor Thursday, 10. January 2008, 00:26:37

avatarplease i hope to see tabs in different colors to know what tab i wanna without try in every one as some times i have alot of tabs at the same time ............ thank you ..... zomaaaaaaa

By minky anchor Saturday, 12. January 2008, 16:54:16

avatarthe link to setPreferenceForKey ist broken :

Not Found

The requested URL /widgets/assembly/wo-setPreferenceForKey was not found on this server.
( Read the article )

By henryjames anchor Sunday, 13. January 2008, 13:22:16

avatarDifferent tab colors is definetly a feature that could be useful for me as well. I was also interested in the setPreferenceForKey matter, but as minky has already pointed out is doesn't seem to work anymore.

By Jo-Hanna anchor Friday, 18. January 2008, 11:16:48

avatarthe widgets seems to be a great thing i have not read all at time but there are also possibilities to share them? i have made some widgtes for vista in combination of internet news and it works pretty nice so i wanna build some stuff for opera to share it.

By AyushJ anchor Friday, 18. January 2008, 17:18:34

avatar

Originally posted by Jo-Hanna:

the widgets seems to be a great thing i have not read all at time but there are also possibilities to share them?

Yes, you can upload your widgets to http://widgets.opera.com/ then anyone using opera can download/use it :smile:

By Jo-Hanna anchor Saturday, 19. January 2008, 11:44:15

avatarhey AyushJ thank you very much for the hint. that is exactly what i mean or better what i´m searched for. great! have a nice weekend.

By duncanbrown anchor Tuesday, 22. January 2008, 18:37:12

avatarAnd talking about witgets have a look at Opera Widget Arcade blog by Opera Desktop Team:)
Every day they work hard to make Opera faster and more handy for use.
To have some fun they decided to make something unique. How do you like it?:smile:

By JoFricks anchor Friday, 25. January 2008, 11:27:37

avataraaah the Arcade blog is really usefull, thank you duncan for the tip. i will first read all what i "can get" the first time i looked at it i realized that i have to learn much more about widgets.

By Quinnuendo anchor Saturday, 26. January 2008, 15:19:39

avatarthere is a typo (I guess) in the "content" part. It says "When a widget wants access to use Java content" in both the java atribute and the plugin atribute.

also in the table of contents, for the content atribute there is this link:
http://dev.opera.com/articles/view/opera-widgets-specification-1-0/#xml-security
which seems not to work.

actually now that I look at it most of the links from TOC don't work.

By michaeladams anchor Saturday, 2. February 2008, 14:26:57

avatarduncan, the arcade blog site is really great, thanks! I'm currently starting to work on development of some widgets and bits and pieces of support I've found there are truly helpful.

By lordiaco anchor Monday, 11. February 2008, 14:42:59

avatarOff-topic comment removed by moderator.

Post edited Monday, 11. February 2008, 15:24:55

By blogschreiber anchor Friday, 21. March 2008, 14:25:13

avatarHi Duncan, thx for your tip with the Arcode Blog Widget. :-)

Best regards

"blogschreiber"

Moderators: jax | malware | mcx | operadev