Re: [xmljs-users] Atom Feeds and Encoding
Brought to you by:
djoham,
witchhunter
From: Brent J. <blj...@gm...> - 2005-08-25 18:54:51
|
> > 1) I can't get it to parse Atom feeds. It just keeps returning a > > NAMESPACE_ERR. Anyone run into this and know how I can fix this, or a > > way to get around it? >=20 > I've never tried an Atom feed. Can you post as small an example as possib= le so we can take a look > at it? The example the user sent to me (I'm using xmljs for a Konfabulator widget) was a blog entry on blogspot.com: http://trishtunney.blogspot.com/atom.xml > > 2) Encoding! I'm trying to pull an RSS feed thats in french and the > > accented characters just keep coming back as garbled when I get the > > node value of the text node containing the french text. > > > Make sure the page's locale header specifies the proper encoding. Otherwi= se, the browser has to > guess what it should be and may very well guess wrong. Otherwise, it shou= ld work... Hmm, here's the example RSS feed that has french characters: http://www.lapresseaffaires.com/rss/lpa.xml Thanks, - Brent |