« XForms Status Update | Main | FOSDEM coming up »
February 15, 2006
Flickr Search in Firefox
It seems like Flickr searching seems to be “in” for the moment :) Mark Birbeck has just announced a tutorial for how to create an XForm to search in Flickr. I modifed it to work in Firefox (1.5.0.1 + official XForms extension 0.3):
Posted by beaufour at February 15, 2006 2:34 PM
Comments
When can we see an information bar for XForms? When I try to submit to flickr, it should pop up saying something along the lines of: “To protect your computer, Firefox prevented this site (www.beaufour.dk) from sending data to a different domain. [Edit Options]” it will really make it a lot easier for the day when sites built off of XForms communicating with webservices becomes commonplace.
Posted by: duck1123
at February 16, 2006 6:44 AM
I have FF 1.5.0.1, XForms 0.3, “allow cross domain xforms” added flickr.com as trusted domain
but I still get no result. Also no javascript error.
I don’t even get the search form. What’s wrong?
Posted by: Jens
at February 16, 2006 8:03 AM
duck1123: That’s a good suggestion. I’ve been looking at that but haven’t gotten anywhere yet. But someday it’ll be there :)
Posted by: beaufour
at February 16, 2006 9:03 AM
Jens: If you do not get the search form at all, then something is very wrong. You might have hit a non-functioning XPI, if you run Linux (see my previous blog post). And you need to add “beaufour.dk” as your trusted domain, not “flickr.com”.
Posted by: beaufour
at February 16, 2006 9:04 AM
ok, reinstalled xforms extension and now it does work :) Nice example.
Posted by: Jens
at February 16, 2006 11:02 PM
Great demo…the “Spinner/throbber” is a nice touch. Is there a standard way that the XForms UI shows that it’s busy, something similar to the way Firefox animates the main throbber when loading a page? Using and is a nice way to do it, but does that interfere with using something like a “wizard” form?
Posted by: ifland
at February 24, 2006 6:05 PM
ifland: There’s no standard way to do that. We “suffer” a bit of the same as AJAX does. The browser does not really have a way to show the asynchroneous activity going on. We could look at giving the main throbber a spin on submissions — at least as an option. There are pros and cons to it, though. I’ve created bug 328702 for it .
The example should not interfere with a “wizard form” I think. It is quite generic, and should work for any submit activity. It’s just a question of placing the spinner somewhere, where it is always visible.
Ps. The credit for the throbber goes to Mark Birbeck. I just “converted” his example.
Posted by: beaufour
at February 27, 2006 10:48 AM
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)