Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Easily create a personalized widget with Safari 3 Web Browsers
Here's a unique way to use Safari's web clip feature to create your own widget. I set up a countdown timer and generated the HTML, using this countdown generator. I then copied the HTML source, pasted it into TextEdit, added <html><head></head><body> at the top, and </body></html> at the bottom, and saved it to the Desktop as an HTML file.

Then I opened it in Safari, and used Web Clip to make my own widget from the output. Bingo -- a customised widget!

[robg adds: The theory here is more interesting than the actual example of a countdown widget, given the number of such widgets that are already available. Basically, grab an HTML snippet from a page that generates such things, add the basic HTML tags around it, then create a widget from the output.]
    •    
  • Currently 1.88 / 5
  You rated: 2 / 5 (8 votes cast)
 
[7,075 views]  

10.5: Easily create a personalized widget with Safari 3 | 5 comments | Create New Account
Click here to return to the '10.5: Easily create a personalized widget with Safari 3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Easily create a personalized widget with Safari 3
Authored by: Spartacus on Dec 07, '07 08:47:06AM

In fact, the actual example of a countdown widget here is more interesting than the theory, since the latter has been demonstrated countless times since the Leopard preview last summer and therefore is not a hint.



[ Reply to This | # ]
10.5: Easily create a personalized widget with Safari 3
Authored by: zane on Dec 07, '07 04:31:40PM
The 'theory' has some merit. The webclip demonstrations, AFAIK, have hitherto only been shown using live, online webpages, not locally stored html files, which I think is the simple point Rob (and the OP) is endeavoring to make.

So, to reiterate the value of this theory/hint; In addition to creating webclip widgets from an online website, as demonstrated many times since Leopard's unveiling, you can also create or acquire scripts & code snippets, wrap them in html tags, store them locally, load them up in Safari, then quickly & easily create widgets from them using webclip - all without having to delve into Dashcode to create a widget from scratch.

Certainly, this is probably pretty obvious to some people, yet it's not something that ever really crossed my mind.

Back to the actual hint, it is worth noting that you must retain the source files for your widget to function. That is, you cannot make your source file, create a webclip widget from it, then trash the source. Webclip does not embed the source code into a newly created widget, it merely acts as a miniature browser window. Again, probably obvious, but a worthy disclaimer.

[ Reply to This | # ]
10.5: Easily create a personalized widget with Safari 3
Authored by: robogobo on Dec 07, '07 03:37:31PM

it's a hint to me.



[ Reply to This | # ]
10.5: Easily create a personalized widget with Safari 3
Authored by: fursonice on Dec 07, '07 04:36:46PM

i'm sorry, Web Clip?



[ Reply to This | # ]
10.5: Easily create a personalized widget with Safari 3
Authored by: barefootguru on Dec 07, '07 05:52:54PM

Safari, File -> Open in Dashboard.



[ Reply to This | # ]