Did some more playing around on this -- it looks like FF and IE just
don't pickup change to existing <link> attributes and update their
live bookmark list. You can append a "application/rss+xml" <link >
and have it show up in the list, but editing or removing just doesn't
cause the browsers to update their list. This is independent of gwt.
Pitty.
On Nov 8, 7:50 pm, Brian <[EMAIL PROTECTED]> wrote:
> Some browsers support "live book marks" where if you have a <link> in
> the html's <head>, then a little rss icon appears, allowing you to
> subscribe. I'm guessing this doesn't work in gwt by replacing the
> link contents at runtime? I haven't been able to get it to work.
>
> html:
> <head>
> <link id="rsslink" />
> </head>
> .. omitted ..
>
> code:
> LinkElement rssLink = LinkElement.as(DOM.getElementById("rsslink"));
> rssLink.setTitle("Sample RSS");
> rssLink.setType("application/rss+xml");
> rssLink.setRel("alternate");
> rssLink.setHref("http://www.sample.com/rss.xml");
>
> --> basically nothing happens. Neither Firefox nor IE pickup the Live
> Bookmark and display the RSS feed icon.
>
> Is this just a browser limitation, or is there something else I can
> do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---