I have a widget, but it still needs more work.
The main problem is that it does not load the news. Apple has built
into Widgets some security features that are good for the end user. I
my case it was blocking network access for the widget.
I had to modify the info.plist (that is what controls what privileges
a program has) and it was off and running by adding the below. So it
might be a good idea to look at widgets when you install them to see
what privileges they are asking for.
<key>AllowNetworkAccess</key>
<
true/>
The final html page looks like this link.
You can download the widget here.
This is my first pass, so let me know what you think. Hopefully this
was helpful.
The best way to learn widgets is to dig into other widgets and to read
the apple manual.
|