Results 1 to 4 of 4

Thread: Passing Feed to Panel

  1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    1
    Vote Rating
    0
      0  

    Default Passing Feed to Panel

    New at Ext JS so just learning the ropes.

    I want to pass a Feedburner RSS script to display my blog inside a panel.

    The script is:
    <script src="http://feeds.feedburner.com/testext?format=sigpro" type="text/javascript" ></script>

    I can't pass it as the html argument, because it's script. How can I get it to display in a panel?

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    87
      0  

    Default

    document.write will override what wever is on your page.

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    Are you loading the content using load or autoLoad?

    You can enable scripts in loaded content using scripts:true, e.g.
    Code:
    autoLoad: {
      url: '...',
      scripts: true
    }
    ps. You could also consider using an IFRAME instead (see the ManagedIframePanel user extension).

  4. #4
    Ext User
    Join Date
    Oct 2008
    Posts
    42
    Vote Rating
    0
      0  

    Default

    Hi Condor, I did that trick but the content isn't loaded. If I double click the HTML I'm calling it will display widget/feed. But if I do it via autoLoad it displays whatever content is inside the HTML except for the widget/feed passed by <script> tags. I'll go and take a look at that user extension.
    Thanks

    update:
    As Condor said, that user extension does the trick. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •