Sign up

Widgets » Hello World!

  • 91 downloads last 7 days
  • 5,191 total downloads
  • Rating: +26 (login to vote)
Hello World! V2.1 Jan 23, 2008 3:02:49 PM

Demo widget from the Hello World tutorial.

A companion widget for the introductory Opera Widget tutorial. This tutorial will show you the basics in creating a widget.


Comments 18 posts

Log in at the top of the page to post a comment.

1 - 18 of 18

good job. cool widget, I like the change the text

By dragos1, # Dec 11, 2007 10:17:58 PM

just wondering... where is the source codes and suff for a widget located?

By dragos1, # Dec 11, 2007 2:11:06 AM

Where is the source. The tutorial is missing some of the image files. Hard to follow when files are missing, eh?

By Loren Lowe, # Jun 30, 2007 5:48:11 AM

where can i get the source of a widget?

By evans123, # May 23, 2007 6:59:46 PM

Sicon, they should be accessible from the widgets menu from Opera.

By Benjamin Joffe, # May 7, 2007 11:47:28 AM

Hi! I have some widjets. I've downloaded them from this site. Where did they save?

By Sicon, # Apr 1, 2007 4:15:39 PM

I hope i could resize it . anyway its so wonderful

By sharly, # Mar 4, 2007 0:14:22 AM

Wonderful!

By manxs, # Dec 8, 2006 5:32:01 AM

привет!

By bomzh, # Sep 8, 2006 11:24:20 PM

good

By Matthewelk, # Jul 26, 2006 6:45:41 PM

I am having the same experience with the Hello World files; and I am running MacOSX. I've left posts on those other threads as well. HOWEVER -- please look at my post for my latest findings.

Maybe we can script or automator a group of actions for a .widgettest script?

http://my.opera.com/community/forums/topic.dml?id=148174&t=1152407667&page=1#comment1642886

By macthusiast, # Jul 9, 2006 3:14:57 AM

According to the Hello World tutorial: "During development, widgets can be opened by opening the config.xml file in the browser, either by dragging it from a file manager, or by using the File → Open menu."

I wish that worked for me! I get the same results as SteveW. Opera doesn't seem to be noticing that config.xml file is a spec for a widget. Am I going to have to install my own Apache server to serve the widgets to myself?

I'm using the Debian (Etch) version of Opera 9.

----

UPDATE: Judging by the comments posted in other forums, this seems to be a problem with Opera for Linux.

I have found a workaround. If I package my widget in a zip file with the .zip suffix (".wdgt" seems to be bogus), and then open it by drag-and-dropping from my file browser onto Opera, Opera *will* treat it as a widget.

I have also tried installing a local Apache server and serving the widgets from there, in accordance with the instructions at http://my.opera.com/community/dev/widgets/deploy/, but without success, although this could be a matter of finding the right server configuration settings.

By Pitarou, # Jul 2, 2006 8:44:35 AM

oversite, it says that you need Opera 9 beta to run the widgets. As version 9 is still in public testing, you may or may not want to install it. You can download it here: http://www.opera.com/download/index.dml?ver=9.0b

By tyfq, # Jun 8, 2006 3:01:02 AM

I am having what feels like major widget issues. Not only do I get the same display as SteveW, but it doesn't seem to matter where I put the files. Also when I click to download a widget, (not only the "Hello World" example, but also others) I get a bunch of control characters and no file.

I am running 8.53. Do I need something in addition to plain Opera? It doesn't say so anywhere.

By oversite, # Apr 30, 2006 2:22:11 AM

Files can go anywhere, just like when creating normal web pages. You can make a dir called "bluechicken" and reference images in it like this: <img src="bluechicken/redchicken.png" alt="a red chicken!">

By nicomen, # Apr 24, 2006 3:00:47 AM

I followed the example, but it's not clear where files should go ?
PNG go in images\, but can the others go anywhere ?

I ask because when I open the .xml from a temp directory all I get on the screen is
Hello World! This is the very first widget written! 454 300 John Doe john.doe@example.com Acme Examples, Inc. example.com HelloWorld 2006-01


The index.html just gives a Hello World!

If the files are all in the programme directory, index.html works fine, but we can't be expected to put all widget related files there surely ?

By SteveW, # Apr 17, 2006 2:33:28 PM

the tutorial page for this widget needs to be corrected...

http://dev.opera.com/articles/view/your-first-widget/

there's a 'typo' in the index.html code listed under 'Adding interactivity'...looks like possibly a cut-and-paste error near the <input> element, the id is not showing up correctly

By braham5, # Feb 14, 2006 4:50:55 AM

Copyright © 2001 - 2008 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer | Web analytics powered by HitsLink.HitsLink Logo