Here is the text of my edited xml.rss.decodeString, for easy reference: on decodeString (s) { «Changes «3/15/02; 5:54:43 PM by DW «Created. Factored out of xml.rss.compileService, so drivers can get at it. s = string.replaceAll (s, "'", "'"); //work around a bug in xml.entityDecode «Work around double decoding bug. Set flAlphaEntities false, but be sure to decode " ourselves.6/29/02; 1:31:15 AM by mwe «s = xml.entitydecode (s, true, true) s=xml.entityDecode(s,false,true); s = string.replaceall (s, """, "\""); s = string.replaceall (s, "{", "{"); s = string.replaceall (s, "}", "}"); s = string.replaceall (s, "<%", "<%"); if system.environment.isMac { //02/22/2001 JES: convert to Mac text on Macintoshes s = latinToMac.convert (s)}; return (s)}
3:10:16 PM Categories: Radio
|
|