XMLDataSet works in FF and IE7, not IE6

So on our website we've got a page with a Spry tabbed panel.
Two of the four panels load a Spry XMLDataSet. Both datasets are
being generated from a standard RSS feed. Everything works fine in
IE7 and FireFox, but in IE6, we get the spry:state=error. An
example of the code:
var dsHeadlines_filter = function(dataSet, row, rowNumber) {
row["link"] = Url.decode(row["link"]);
return row;
var dsPressReleases_filter = function(dataSet, row,
rowNumber) {
// row["link"] = Url.decode(row["link"]);
row["link"] = "
http://www.chaminade.edu/news/pr/rss.php?"
+ Url.decode(row["link"]);
row["link"] =
row["link"].replace(/CustomDispForm.aspx/,"rss_news.aspx");
var item_date = new Date(row["pubDate"]);
var today = new Date();
var one_day=1000*60*60*24;
if
(Math.ceil((today.getTime()-item_date.getTime())/(one_day)) >
60)
return null;
else
return row;
var dsHeadlines = new Spry.Data.XMLDataSet("
http://www.chaminade.edu/includes/rss.php?http://news.google.com/news??svnum=10&as_scoring =n&hl=en&tab=wn&ie=UTF-8&ned=us&as_drrb=q&as_qdr=&as_mind=18&as_minm=1&as_maxd=17&as_maxm= 2&geo=&aq=f&q=%22chaminade+university%22&output=rss",
"rss/channel/item",{sortOnLoad:"pubDate",sortOrderOnLoad:"descending",useCache:false});
dsHeadlines.setColumnType("pubDate", "date");
dsHeadlines.filterData(dsHeadlines_filter);
var dsPressReleases = new Spry.Data.XMLDataSet("
http://www.chaminade.edu/includes/rss.php?https://portal.chaminade.edu/_layouts/listfeed.a spx?List=%7B88741681%2D7558%2D4BF3%2DA377%2DBC59EB62B903%7D",
"rss/channel/item",{sortOnLoad:"pubDate",sortOrderOnLoad:"descending",useCache:false});
dsPressReleases.setColumnType("pubDate", "date");
dsPressReleases.filterData(dsPressReleases_filter);
Does anyone have an idea of why this isn't working in IE6?
IE6 doesn't even report any error messages. It simply shows the
HTML we setup upon a spry:state=error condition.

Yep, it was definately a content-type issue. Thanks for the
tip! My PHP/RSS parser was inadvertently setting the content type
back to text/html. I was able to override the function and set it
to text/xml, and it works great in all browsers including IE6.
Thanks again!

Similar Messages

  • Problem on ios 7.0.4 on iphone  enable your mobile data uncheck to green (enambled) works great ring and shows who ringing may work on 4s and five not tested please try get back to me thanks

    on iphone  enable your mobile data uncheck to green (enambled) works great ring and shows who ringing may work on 4s and five not tested please try get back to me thanks

    I'm sorry, but you are going to have to try a little better to explain your issue and what your question is, or post in your native language.

  • My ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    my ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    Wow the customer service is even worse. Does Apple want me to go around jailbreaking my iPod now so I can use something that actually recognizes my product?

  • IPAD Mini Locked after iOS upgrade, tried reset on iPAD did not work, plugged in and device not appearing in iTUNEs for reset/restore

    PAD Mini Locked after iOS upgrade, tried reset on iPAD did not work, plugged in and device not appearing in iTUNEs for reset/restore.  Just get an Apple Logo then a flashing blue screen as if it is caught booting up.   This has happened twice before and iTunes restore fixed it.  But this time device not appearing in iTunes.
    Running iTunes for PC.  But as stated restore has worked before!  Any help greatly appreciated!!

    Place the device in DFU mode and let iTunes restore the device to factory condition.

  • Laptop show work on feature and do not turn off

    When I restart my Laptop, it shows work on feature and do not turn off, and then it shows restart for two hours, what should I do?

    Hi @Aprillu1985
    Welcome to the HP Community! I will be happy to help you with your laptop but I will need some additional information. I am not sure what you mean by “work on feature”. What screen does it stop on when it is restarting for those two hours? Are you getting any error messages at all? What operating system are you using? What is the product number for your laptop?
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Flash 9 will not work on AOL and IE7

    hi
    i have searched online and in this forum but cannot solve my
    problem.
    the search facility is not working on this forum at the
    moment so i will explain my problem.
    i week agao i had to have my laptop repaired as the windows
    wouldnt boot due to some corrupt files caused i think by a virus
    but not 100% sure.
    now i can not get flash 9 to work on my AOL and IE7 browser
    although it works on fire fox.i have unistalled and installed time
    and time again but i am tearing my hair out now..
    please please someone...can you help me?

    OMG I think I just fixed it!
    If you have Avast! Anti-virus, open the 'On-acess protection
    control' when you right-click the icon, then turn the 'Resident
    Protection' to 'normal' instead of 'high'!
    Hope this helps at least someone!

  • Looping flash intro in IE7 not IE6

    Hey all,
    I have a pretty simple site that utilizes flash streaming
    video via .flv files. These swfs have a small intro with my company
    logo and the video title in the beginning and then the video plays
    after the intro is finished. In IE6 this works great! In IE7 the
    intro keeps looping not allowing the video to be seen. Any ideas???
    Thanks in advance,
    K

    Remove the offending comma (marked in red)
    var Accordion1 = new Spry.Widget.Accordion("LeftMenu", {useFixedPanelHeights: false, defaultPanel: -1, duration: 250, fps: 90, });
    FYI, you do have other problems with your code which is made evident by the yellow triangle in the left bottom corner of IE.
    I hope this helps.
    Ben

  • Java applet works in windows and does not work in linux

    Hello, guys!
    I'm working with site which is located in vpn network at work.
    I use browsers firefox 3 and opera.
    When I want to open java applet using firefox or opera at first everything is fine then on the last stage of loading(judging by progress bar) applet hangs(progress bar hangs) and when I reload page firefox shows in the bottom bar: applet <applet's name> bail.
    In windows everything works both in ie6 and firefox 3.
    On both environments I have the jre 6 installed.
    please help!

    Ok, I installed ies4linux and jre 1.5.16. I can work with that but when I start applet screen goes black and window frames dissapear.
    To solve this problem(feature?) I disabled DirectX-based acceleration for Java 2D but that works for javacpl.exe and does not work for my applet.

  • Farcebook login form works on PC and MAC not on iPad and iPhone

    Hi
    We created this test page http://www.zuiliuniversity.com/login
    If you click on the text it creates your account /and/or logs you in.
    BUT
    Changes the link to: http://www.zuiliuniversity.com/Default.aspx?PageID=14977116&Error=Thank+you+for+logging+in .
    AND Correctly logs you in.
    BUT
    it only works on MAC and PC
    We couldnt get it to work on iPad or iPhone.
    This is the code for the module
    {module_facebooklogin,buttonImage="",buttonText="CLIC TO REGISTER OR LOGIN",zoneId="-1",autoSubscribeNewUsers="",redirectToPage="",pageId="-1"}
    Any ideas on what are we missing?

    I'm thinking there's some bug involving the window.open function that BC attaches to your login link.  You have a few options.  Here's what the facebook login button outputs:
    <a target="_fblogin" href="http://www.zuiliuniversity.com:80/FB/LinkToContact.aspx?A=0&S=False&ZID=-1&PID=-1&AuthProc essUrl=http%3a%2f%2fwww.zuiliuniversity.com%2fZoneProcess.aspx%3fZoneID%3d-1%26OID%3d14977 116%26OTYPE%3d1" onclick="var w = window.open('','_fblogin','width=680,height=400,scrollbars=yes');w.focus();">CLIC TO REGISTER OR LOGIN</a>
    I think if it is the window.open function that is messed up in iOS.  It could be that the target "_fblogin" isn't valid with that underscore or maybe even that there is an empty value for the first parameter in window.open which hshould be the url to open. 
    You might be able to take advantage of BC's {system_visitorDeviceClass} module which will output "desktop", "phone" or "tablet" depending on their device.  You can write some javascript that if it's a phone or tablet you can remove the onclick attribute on the link so it just uses the HREF instead like a normal link.  The link's href attribute will still work since it leads to the Facebook permission dialog but in the same browser window.  You could try:
    (function($){
          $(document).ready(function() {
              var device = "{system_visitorDeviceClass}";
              var targ = $("a[target='_fblogin']");
              if ( device === "phone" || device === "tablet" ) {
                   // Remove the onclick handler the BC puts inline on your link
                   targ.removeAttr("onclick");      
    })(jQuery);
    If you insert this at the bottom of your page that has the login button or the bottom of your page template it could work, you'd bypass (remove) the onclick for phones or tablets and use the regular link URL which should lead to the permissions FB prompt anyway-- just not using window.open to do it.

  • Ipod touch was working, shut down and will not power up

    Ipod was working. Went dead and will not power up. The unit was charged. I connect it to a charger and I get nothing. Tried the power and home button combo but the unit is not responding. It is less than 6 months old

    Try restoring the iPod via iTunes on your computer.  If iTunes does not see the iPod:
    - place the iPod in recovery mode.  See:
    iPhone and iPod touch: Unable to update or restore
    - If not successfull, try placing the iPod in DFU mode:
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Password to unlock backup doesnt work - changed passwords and still not accepting - suggestions?

    Password to unlock iphone backup doesnt work, tried new password and still nothing, any suggestions/help?

    If you don't know the password for your encrypted backup, it can no longer be used.  The whole point of encryption is lost if the password can be circumvented.
    Your only choice now is to disable backup encryption and create a new backup. If you need to encrypt the new backup - re-enable encryption and DO NOT LOSE THE PASSWORD.
    iTunes: About iOS backups

  • Ical works on Iphone and ipad not powerbook

    Icloud works for Ical on Iphone and Ipad not powerbook. I have gone through preferences....any other ideas?

    Ehhhh PowerBook can't run iCloud what I know off. It's a PPC and can run 10.5 but not 10.6 or 10.7

  • My home button doesnt work at all and its not broken and it didnt fall. What should I do to solve this issue?

    This is an iPad replacement because the ne that I had before rejected my sim card so Apple sent me a new ne for free. I received it last Wednesday and the home button didnt work correctly. And today, a week later, it just stopped working completely, whenever I press it, it doesnt work. What should I do? Are there any steps that I can take to try to solve this button issue?

    hmm.
    it literally does nothing?
    If the engraving is important to you, then you may wish to get it repaired.
    I would recommend calling iphone repair www.iphonerepair.com
    or iresq www.iresq.com
    but first try this:
    https://discussions.apple.com/message/15143496#15143496
    --Sam

  • I have a sonos music system that does not yet work with Lion and will not for about 3-weeks.  I need to uninstall lion and go back to snow leopard, how do I do that?

    I have a Sonos music system that is not yet compatible with Lion and will not be for several weeks.  How do I uninstall Lion and go back to Snow Leopard?

    While we all have MacBooks only a few have Lion. There's a Lion Support Community. You should also post this question there. https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion

  • Oracle JInitiator issue with Firefox 3 and IE7 - not working!

    Hi,
    I'm accessing the oracle apps server through VPN using a Windows Vista system running Firefox 3 and IE 7. I'm able to log on and access the self service pages correctly. But I'm unable to access the form based pages. If I use the JInitiator 1.3.1.21, both browsers crash (though Firefox says missing plugin and mentions this version only). On installing higher versions of the plugin (28, 30), IE 7 keeps giving the message "installing components...oajinit.exe" and there is no more progress.
    Could anyone please let me know what could be the issue and how to resolve it.
    Thanks in advance!

    As I don't have access to metalink yet, can you tell me for my configuration what is certified and what browser I should use? I already mentioned that my OS is Vista and I have IE7. I realise that IE6 cannot run on Vista and now Firefox 3 cannot be used. So what JInitiator should I use for IE 7?The currently supported desktops for Release 11i include:
    - Win2K / WinXP + IE6 / Firefox 2.x
    - WinXP + IE7 / Firefox 2.x
    - Mac OS X v10.3.9 + Safari 1.3 and higher
    - Mac OS X v10.4.7 + Safari 2.0 and higher
    - Vista desktop clients running the native JRE plug-in on IE 7 ***
    *** Oracle JInitiator Not Certified for Vista Desktops: Oracle JInitiator 1.3 will not be certified for Vista desktops. Jinitiator 1.3 is based on JDK 1.3. JDK 1.3 is not compatible with Vista. No new updates to JInitiator are planned for Vista.
    Firefox 2 Certified on Vista for Oracle E-Business Suite
    http://blogs.oracle.com/stevenChan/2008/04/firefox_2_certified_on_vista_f.html
    Windows Vista + IE7 Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/2007/11/windows_vista_ie7_certified_wi.html

Maybe you are looking for

  • Creation of New Base Unit of Measure

    Hi Forum, does anyone have any detail on how to go about creating new units of measure and what to look out for?  Any documentation would be appreciated. I know the Tcode (CUNI) and to copy certain existing BuM's but was wondering about the ISO and w

  • Problem with iOS 6 new app banner

    In IOS 6, new download apps will have a banner saying new. I have this blue banner too, its just that I do not have the new button. Is this a bug or something?

  • How to block a delivery

    Dear Gurus, My question is once a delivery is created and saved, due to some reasons I need to block it from furthur processing, that is, no one should be able to do PGI. I dont want to delet it since I need to keep a track of these kinds of document

  • What is specified in jta-data-source in persistence.xml??

    When searching on the web I find examples like: <jta-data-source>java:DefaultDS</jta-data-source> or <jta-data-source>jdbc/MyDataSource</jta-data-source> What exactly is specified here? Prob dumb question but I can't figure it out. Ty

  • Text animation preset

    I have used native presets, downloaded some from real script writers and also from other sources, and these all seem to work fine, whether using key frames or in and out points it all works. Here is a download link for a project with 1 comp, with two