Re: Atom feed generator
Yes, you are correct in that the first one is perfectly ok. As for the second one, just replace the current comment tags with the CDATA one and you'll be ok The cdata sections isn't always required for inline scripts either, but the problem you will often encounter without it is that you can not use any of the chars "<", ">" or "&" in your javascript if you leave it out, so you'd be *very* limited in what you could do with it.