Announcement

Collapse
No announcement yet.

GassBuddy.asp 0.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GassBuddy.asp 0.1

    This is a retitled post of the original since I can 't figure out how to edit the title.

    Discussion about GasBuddy.asp. This asp page is along the same lines as Dan's script but this is more of a visual representation of the lowest prices in a particular area. This asp page refreshes every ten minutes so when you look, your seeing the most up to date data. Just drop both files in you HTML directory. One is the asp page and the other is the style sheet.


    http://board.homeseer.com/showthread.php?t=106591
    __________________
    Last edited by Rupp; September 5, 2005, 09:10 PM.
    -Rupp
    sigpic

    #2
    MeSteve there are 2 parts to the URL. Make sure to follow the instructions.

    I used this and it works just fine?

    strURL = "http://www.northdakotagasprices.com/index.aspx?"
    strQS = "s=Y&fuel=A&area=GRAND+FORKS&tme_limit=" & iHours

    I can take out the hyperlink in the next version.
    -Rupp
    sigpic

    Comment


      #3
      I got it working using the methon from the gasbuddy script, but using the zip search returned the following url:

      http://www.northdakotagasprices.com/...AIR+FORCE+BASE


      Comment


        #4
        Yes that is correct and the instructions state to :
        ' Go to http://www.gasbuddy.com and key in your zip code.
        ' Grab the first part of the URL up to the ? from the page
        ' and replace the strURL below...
        ' Change the area below from Huntsville to your city.
        ' 2 working examples...
        -Rupp
        sigpic

        Comment


          #5
          But if you look, after the "asp?" I get "&area=" instead of "s="

          Comment


            #6
            Here is a quick hack for Audrey that also adds a selector for city. Specific to my cities, but a starting point for others.
            Attached Files

            Comment


              #7
              Just updated the GasBuddy.asp to add the HS2.0 header and footers.

              http://board.homeseer.com/showthread.php?t=106591
              Attached Files
              Last edited by Rupp; September 5, 2005, 08:45 PM.
              -Rupp
              sigpic

              Comment


                #8
                Thanks Rupp

                Comment


                  #9
                  Your welcome.
                  -Rupp
                  sigpic

                  Comment


                    #10
                    Second that thanks!

                    Terry

                    Comment


                      #11
                      Here's a mod to Rupp's script that allows you to have as many cities/towns as you wish to be reported on the same page. I work 40 miles from home and prices range greatly between home and work cities. I like checking them all out.

                      Thanks for the great script, Greg!

                      --David
                      Attached Files
                      Last edited by dkindred; September 8, 2005, 06:58 AM.

                      Comment


                        #12
                        Rupp,
                        When you said Gas Buddy I thought you were talking about David Kindred.
                        HA HA

                        HA HA

                        HA HA

                        HA HA ...


                        ~Bill

                        Comment


                          #13
                          Bill,

                          Why-eye-otta!

                          Man, {sniff} the truth hurts. I'm gonna go eat my beans in the corner alone, now.

                          --Davey-san

                          Comment


                            #14
                            "MORE BEANS MR. TAGGERT?"
                            "Shoot, I reckon you boys had enough!"
                            ~BLAZING SADDLES

                            Sorry David, your hat reminded of the movie therefore you became a target. I expect my WAF-NETCID plugin will never work right again...


                            ~Bill

                            Comment


                              #15
                              Haha! Bill, I thought it was pretty funny. No need to apologize. I like to dish it out, myself. (You should see the notes Tinkles and I exchange.)

                              --David

                              Comment

                              Working...
                              X