Results 1 to 2 of 2

Thread: gas price in xml

  1. #1
    Variable Bitrate
    Join Date
    Sep 2005
    Posts
    249

    gas price in xml

    Does anyone know of a website that stores gas prices in xml format? The are a couple of sites that contain the cheapest gas prices for a given zipcode. Now i want the same information in xml. I do not want to parse thru html code to retreive the information as xml would be more stable and easier to work with.

    thanks

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    9,851
    I think a lot of sites have xml in the back, but you won't see it. They will more than likely lock that file from public viewing.

    I looked at a few sites' source and they are definately reading from either a mySQL db or an xml document. I don't think anyone wants to hardcode that!

    But yeah, I don't think you will be able to find a publicly available one. Parsing isn't that bad as long as it is formatted well.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

Bookmarks

Posting Permissions

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