No, you can't make ajax calls out to a different domain. That's what we were
talking about in your original thread about this:

http://groups.google.com/group/jquery-en/browse_thread/thread/8270b3a1aa438b3c/81e4dee21be580c6?lnk=gst&q=simple+rss&rnum=1#81e4dee21be580c6

Usually the easy way to get around this is to use a little proxy script on
your server, so your javascript can call out to a url that's still on your
server, and your server will go get the actual remote content and return it
back to you. This is what the google feed api does. Jake provided a perl
example of such a script in the other thread.

--Erik


On 5/21/07, Glen Lipka <[EMAIL PROTECTED]> wrote:

I just checked, and we found the exact same problem at the exact same
time. :)
Thaks man, this is perfect.  Thank you so much.
I think this is MS Word being paste into Typepad.  its the dash character.
We will edit the blog source.

I just finished figuring out a PHP version too.  (My head hurts!)

Quick question...on this call $.ajax....Can you call from another site?
Like feedburner?
I got a permission denied error.

Glen



On 5/21/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
>
> Glen,
> the file is:
> get  http://erikandcolleen.com/erik/projects/jquery/rss/test.xml |
> hexdump -c
> 0000000   <   ?   x   m   l       v   e   r   s   i   o   n   =   "   1
> 0000010   .   0   "       e   n   c   o   d   i   n   g   =   "   U   T
> 0000020   F   -   8   "   ?   >  \n   <   r   o   o   t   >  \n  \t   <
> 0000030   t   e   s   t   >   f   o   o     226       b   a   r   <   /
> 0000040   t   e   s   t   >  \n   <   /   r   o   o   t   >  \n
> 000004e
>
> but  226 is an ascii value, not a utf-8 value.
>
>
>
> On 5/21/07, Erik Beeson <[EMAIL PROTECTED] > wrote:
> >
> > The problem seems to be that IE (IE6 on XP anyways) is choking on a
> > character in your XML. Try viewing this page in IE for an illustration of
> > the problem:
> > http://erikandcolleen.com/erik/projects/jquery/rss/test.xml
> >
> > Since it can't manage to parse the XML, I'd say this is an IE problem,
> > not a jQuery problem. I'm not sure how to fix it. Maybe don't use that
> > character in your blog? Or preprocess the XML on your server to properly
> > escape characters like that?
> >
> > --Erik
> >
> > On 5/20/07, Glen Lipka < [EMAIL PROTECTED] > wrote:
> > >
> > > Working off this sample:
> > > http://erikandcolleen.com/erik/projects/jquery/rss/
> > >
> > > My sample page:
> > > http://www.marketo.com/rsstest.htm
> > >
> > > My feed is formatted atom from Feedburner.  The works fine in
> > > Firefox.
> > > IE6/7 gives no love.
> > >
> > > It can't find anything, which is wierd because it's not doing
> > > anything particularly special.  Is this a bug?
> > >
> > > Thanks,
> > >
> > > Glen
> > >
> >
> >
>
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ



Reply via email to