Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: RSS Error  (Read 5519 times)

notuo

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
RSS Error
« on: July 17, 2006, 05:31:11 AM »

Hi all.

I followed all the directions in the final RSS post and got the thing working but I found this error:

Quote
XML Parsing Error: undefined entity
This came from this code:

Quote

Cuando una  empresa decide incrementar sus ventas y abrir nuevos mercados en el exterior,  el problema que a veces enfrenta no es el de conquistar nuevas culturas sino el  de conseguir que su própia empresa tenga una cultura internacional. Uno de los  errores que se suele cometer al establecerse en un nuevo país es el de no dar  la misma dedicación y compromiso al mercado exterior que al que se le da al  mercado local. Así lo podemos ver en el siguiente caso.

And the error is in the
Quote
ó
Any ideas on this?

Thanks in advance
Logged

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
RSS Error
« Reply #1 on: July 17, 2006, 06:25:21 AM »

ó is a special html character not recognized by xml. please follow this link (quick search result by google) to find out more: http://www.thescripts.com/forum/thread85898.html
Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
RSS Error
« Reply #2 on: July 17, 2006, 08:39:13 AM »

Quote from: mika
(quick search result by google)
Search, hehe... Mika, you're soo good ;)
Logged
"It's only dead fish that goes with the flow... "
Updated

notuo

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
RSS Error
« Reply #3 on: July 17, 2006, 03:20:12 PM »

Thanks you so much.

I'll do my home work.
Logged

Fred K

  • Still trying to learn stuff
  • ULTIMATE member
  • ******
  • Karma: 130
  • Posts: 2728
    • Personal
RSS Error
« Reply #4 on: July 17, 2006, 04:31:59 PM »

I haven't checked fully, but wouldn't declaring the language in the XML and use UTF-8 as charset take care of this issue? Or am I chasing up the wrong building again?

(Patric, I know you prefer to use ISO-what'sit as charset, but I think UTF-8 would do the trick here)
(Then the published text in the RSS wouldn't get converted from to ó)
I think.

My Swedish Atom feed for example uses a lot of (å ä ö) which passes validation, although there are other details of it that doesn't validate...
Then again, that feed is a hand written Atom feed so it may be different anyway... ;D
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
RSS Error
« Reply #5 on: July 17, 2006, 07:08:51 PM »

Quote from: agentsmith
(Patric, I know you prefer to use ISO-what'sit as charset, but I think UTF-8 would do the trick here)
(Then the published text in the RSS wouldn't get converted from to ó)
I think.
Well, yes, I prefer the ISO-blahblah-1 choice as that works for me. I have had nothing but trouble with UTF-8, don't ask me why...It should work, and it does for you ;)... But since I've changed to ISO-&%)#U()"-1 the RSS validates for me whatever I write it seems...

I have no ideas really... What about following the links in the RSS validation thingy... No answers there ??
Logged
"It's only dead fish that goes with the flow... "
Updated