I'm attempting to port a Wordpress widget plugin to a Blogger gadget, and finding them extremely different worlds. What the WP widget does is:
- In the admin interface (provided by the widget object's
form()
method), it displays a list of the posts in the blog for the blog owner to select from, saving this as a widget setting. - In the widget display (provided by the widget object's
widget()
method), it displays some content linked to the post that was selected.
This seems to be bizarrely difficult behavior to replicate in a Google Gadget. The questions I wind up having are:
- As far as I can tell, Blogger barely has a concept of an admin interface, and certainly none that would manage widgets. It seems like I need to deploy admin and user functionality through the same gadget display; am I correct about this?
- I can get at a list of blog posts easily enough, but how in the world do I create a setting that's global to the widget instance instead of specific to the user viewing it? I get the vague impression that that may be possible through OpenSocial in some way, but damned if I can figure out how.