Loading ...
Sorry, an error occurred while loading the content.

Re: [rss-public] XML text, using PHP

Expand Messages
  • Sam Ruby
    ... A full version of either function would look more like: http://intertwingly.net/stories/2005/09/28/xchar.rb In any case, if there is felt to be a need for
    Message 1 of 3 , Feb 11, 2006
    • 0 Attachment
      Phil Ringnalda wrote:
      > Sam Ruby wrote:
      >
      >> $strings = array(
      >> "title" => "The <blink> tag is evil",
      >> "description" => "Never <b>ever</b> use it",
      >> "pubDate" => "Sat, 11 Feb 2006 07:33:35 -0500"
      >> );
      >
      > "title2" => "Beware ]]> & you're OK"
      >
      >> function cdata($string) {
      >> return "<![CDATA[$string]]>";
      >> }

      A full version of either function would look more like:

      http://intertwingly.net/stories/2005/09/28/xchar.rb

      In any case, if there is felt to be a need for a description of escaping
      it would fit better in section 3.3 than in section 4.1.1.20.4.

      - Sam Ruby
    Your message has been successfully submitted and would be delivered to recipients shortly.