Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default XML Feed

    Been going in circles on this one. NOAA
    ([url]http://www.nws.noaa.gov/data/current_obs/seek.php?state=ut&Find=Find[/url])
    gives xml and rss feeds for weather locations. Looking for a way to incorporate
    this into my website by either CF or Flash or Both. Any way to do this?

    JohnJ Guest

  2. Similar Questions and Discussions

    1. RSS Feed
      Hi, Has anyone already build a RSS feed for a news-site using asp.net (preferably C#)? Greetings -- Roland Wolters Homepage:...
    2. Remote RSS Feed
      I know that this isn't supposed to work, but it does and I can't figure out why. I have developed an application that pulls in all its info from...
    3. Dynamic RSS Feed
      Hi, I have just released an extension for DWMX/2004 that enables you to create a simple Dynamic RSS Feed for your website. It is written in ASP...
    4. odd characters from RSS Feed
      when consuming an RSS feed from MSNBC, it appears as though it is reading a ' is being displayed as ??? and a e of fiance appears as ????? any...
    5. RSS Feed query
      hi Every one, What is RSS feed? can i Create my own RSS feed to that Flash can load the news bit form the one I create or Do I have to use some RSS...
  3. #2

    Default Re: XML Feed

    Sure, its easy with CFMX. Run this,I think you will get the idea: <cfhttp
    url='http://weather.gov/data/current_obs/KNAK.xml' method='get'> <cfset
    xml=CFHTTP.FileContent> <cfset xmlDoc = XMLParse(trim(xml))> Station: KNAK
    (Annapolis (U.S. Naval Academy) (KNAK))<br> <cfloop index='ii'
    list='14,16,20,24'> <cfset varname =
    xmlDoc.current_observation.XmlChildren[ii].XmlName> <cfset varval =
    xmlDoc.current_observation.XmlChildren[ii].XmlText> <cfoutput>#varname#:
    #varval#</cfoutput><br> </cfloop> <p>==================</p> <cfoutput><cfdump
    var='#xmlDoc#'></cfoutput>

    zbob99 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139