Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. reading weather.com data feed

reading weather.com data feed

Scheduled Pinned Locked Moved C#
csharphtmlcomxmlquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jassim Rahma
    wrote on last edited by
    #1

    I have come across this artice: g Returned XML with C# and I want to know what's the best way from the listed ways to read weather.com weather xml data feed using C#?

    L B 2 Replies Last reply
    0
    • J Jassim Rahma

      I have come across this artice: g Returned XML with C# and I want to know what's the best way from the listed ways to read weather.com weather xml data feed using C#?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      jrahma wrote:

      I want to know what's the best way

      According to the article that you're linking to; "The simplest way to view the returned data is to get the response stream and put it into a string." I'd say the simplest approach that works would be the best :)

      I are Troll :suss:

      1 Reply Last reply
      0
      • J Jassim Rahma

        I have come across this artice: g Returned XML with C# and I want to know what's the best way from the listed ways to read weather.com weather xml data feed using C#?

        B Offline
        B Offline
        brunoseixas
        wrote on last edited by
        #3

        If the url returns a .xml or .atom you can try read using XmlReader or if you want a full html code, use WebClient.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups