The impact on IE7 on DX Widgets

Prepare your RSS widgets!

Monday, September 5, 2005 by _Martin_ | Discussion: DesktopX

DesktopX Developers and users beware - IE7 may well cause some DesktopX widgets to fail because of it's new functionality.

That's not to say that all will be affected by this, but many of the widgets relying on RSS feeds for their data may struggle. The issue is that IE7 kindly interprets RSS feeds and displays the data in a more visually friendly format. While this is to be applauded, it does have implications.

Where a DesktopX widget uses a Web Browser control to load RSS data, and subsequently interprets it, things may fail to work. Both the InnerText and InnerHTML content of the page will be different because of the new interpretation of content, hence tags and content that a widget may search for could cease to work.

The safest solution will be for developers to start using the XMLHTTP object to load and manipulate XML feeds if they use them ... though I'm open to better ideas.

As an appeal to users, please don't expect developers to update object to do this. I know personally that I won't have the time to do this, even with the best will in the world, and other developers may be in the same boat.




ExodusCrow
Reply #1 Monday, September 5, 2005 10:44 AM
Thanks for the heads up. Hopefully most of the users will understand and be patient with the developers who choose to update their widgets, and learn to deal that most of the developers will be too busy to even think about it.
thomassen
Reply #2 Monday, September 5, 2005 2:17 PM
Thanks for the info Martin.
joeKnowledge
Reply #3 Monday, September 5, 2005 5:37 PM
That's a shame.

Lately, everytime I update my computer, a widget stops working.

Now with the new IE, your telling me the RSS feed widgets won't work too?
*sigh*

That sucks LOL When will their be a standard RSS reader that people can copy and use be available? When IE7 comes out I guess, right?
thomassen
Reply #4 Tuesday, September 6, 2005 10:42 AM
What about using CreateObject("Microsoft.XMLDOM") to parse the RSS feed? They you wouldn't be relying on IE.
_Martin_
Reply #5 Tuesday, September 6, 2005 1:45 PM
Thomassen,

XMLDOM is a valid solution, however, for the "average" developer, the XMLHTTP object returns a string that is easy to manipulate using standard VBScript like Left, Right, Len and InStr. From memory use of the XMLDOM object requires far more use of the object model.
aimzzz
Reply #6 Tuesday, September 6, 2005 5:24 PM
One word-- Opera

(Not that I've become prejudiced over the last week...)
Tarkus
Reply #7 Wednesday, September 7, 2005 12:47 AM
What does Opera have to do with RSS widgets?
_Martin_
Reply #8 Wednesday, September 7, 2005 2:53 AM
aimzzz - the only browsing capability that a developer can guarantee is on a users machine is IE. This means that users cannot develop based on something that not everyone has.
_Martin_
Reply #9 Wednesday, September 7, 2005 2:54 AM
Oh Thomassen,
I do have some Functions that I have been working on that will remove the need for users to master the XMLDOM model so I will release these some time shortly. These will allow things like GetXMLfromXML, GetTextFromXML, GetAttribute etc etc
CerebroJD
Reply #10 Wednesday, September 7, 2005 6:51 AM
Good thing I built my RSS reader using XMLHTTP right from the start... saves me a lengthly re-write.
thomassen
Reply #11 Wednesday, September 7, 2005 8:15 AM
Martin, is that your own functions you have put together?
_Martin_
Reply #12 Wednesday, September 7, 2005 8:55 AM
Yes - all nice and user friendly
_Martin_
Reply #13 Wednesday, September 7, 2005 8:56 AM
CerebroJD,

The only issue with the XMLHTTP object from memory is that you need to force the rest of DX to pause while the page loads. This isn't an issue with most modern connections, but as someone who was recently migrated from dial up it was a problem.
thomassen
Reply #14 Wednesday, September 7, 2005 12:19 PM
Doesn't XMLHTTP give any notification when the data is done loading?
Or give any info on it's status. If it does you can make a script in a separate thread to loop until it's done loading. Then it'd notify the main script when it was done. Now, I'm not sure if you can call a different script when one is running in a separate thread... If that's the case it could possibly be worked around by changing the state of the main script (that would be possible , right). And then the main script could react to the statechange.

mm.... wait... then how would you tranfer the data from the looping script...? doh!
...perhaps I'm complicating things a bit here....
_Martin_
Reply #15 Wednesday, September 7, 2005 3:40 PM
Yes, you can do a loop to check status, but that's not particularly efficient way of doing things. I think I may be able to purely use XMLDOM and avoid this.
aimzzz
Reply #16 Wednesday, September 7, 2005 5:02 PM
Martin- I understand- just being obnoxious
GreenReaper
Reply #17 Thursday, September 8, 2005 10:12 AM
I'd be highly surprised if there isn't a way to turn that off. If there really isn't, report it as a bug!
thomassen
Reply #18 Thursday, September 8, 2005 11:19 AM
Turn what off?
_Martin_
Reply #19 Friday, September 9, 2005 4:21 AM
Turn what off Green,the waiting until the page has loaded? If so then yes, you can do that, but it's not as easy then to perform actions on the page contents immediately.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01