Announcement

Collapse
No announcement yet.

Traffic Info: Full URL = Error in config Short URL = "Action Canceled"

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

  • Traffic Info: Full URL = Error in config Short URL = "Action Canceled"

    Our traffic information url is (note the possibility to set screen height and width, very nice) :
    http://mobil.vv.se/mapviewer.aspx?cm...=400&scr_w=500

    But, if I enter that URL in the settings I get an "error in config" error message and it won't accept it.
    If I manually enter the URL in the XLM-config file, it forces Centrafuse into setup mode on next lanuch.

    If I enter the short URL, http://mobil.vv.se, it accepts it, but then clicking on the "TRAFFIC" button all I get is a "Action Canceled" message from IE.

    If I would enter either of thease URLs in the webbrowser of centrafuse, then it works just fine.

    /M

  • #2
    I'm curious what the middle of the url is ??
    thats the part without the " ... "

    Comment


    • #3
      how about using just

      http://mobil.vv.se/mapviewer.aspx?cm...=113&object=1&

      Comment


      • #4
        It's because of the &. That is an invalid character in XML... Try replacing with & or #&160; I think... I don't remember the code for it...

        david
        __________________
        CENTRAFUSE http://www.centrafuse.com
        01 Jeep Cherokee Sport 4x4 Installed
        M10000/512Mb/20GB, Lilliput 7", Holux GM-210

        Comment


        • #5
          Originally posted by veetid
          It's because of the &. That is an invalid character in XML... Try replacing with & or #&160; I think... I don't remember the code for it...

          david
          Well, ampersand kinda did the trick, it's now accepted as an URL.
          But do you read the xml file as xml or as plain text ?
          Reason for asking is that & is not converted into & as I thought it would be when you read an xml-file, the link therefor contains "&" as well and doesn't resize properly.



          Originally posted by Don 944 LA
          how about using just
          No, the whole point with the long URL is that you can set the screensize and get the window the size you want it to be, meaning that you'd get rid of the ugly scrollbars.


          /M

          Comment


          • #6
            Maximus: It is parsed as an XML DOM. & is an html encode type, so I can see how it wouldn't parse out to a &. There should be a character you can enter that the XML dom will evaluate as &, not sure what it is though...

            david
            __________________
            CENTRAFUSE http://www.centrafuse.com
            01 Jeep Cherokee Sport 4x4 Installed
            M10000/512Mb/20GB, Lilliput 7", Holux GM-210

            Comment


            • #7
              & is the code for xml as well, must be something wrong with the way it's parsed.
              [H]4 Life
              My next generation Front End is right on schedule.
              It will be done sometime in the next generation.
              I'm a lesbian too.
              I am for hire!

              Comment


              • #8
                also try this:

                Ok this won't print right on screen so I'll type it.

                "ampersand pound 38 semicolon pound 38 semicolon"
                [H]4 Life
                My next generation Front End is right on schedule.
                It will be done sometime in the next generation.
                I'm a lesbian too.
                I am for hire!

                Comment


                • #9
                  Odd,

                  ..............zoom_region"ampersand pound 38 semicolon pound 38 semicolon"area=113.............. in the config file (I put it the correctly, but it wont display properly in the forum)

                  turns into ..............zoom_region&area=113........ ..... in the url


                  .............zoom_region&area=113............. .. stays the same.



                  /M

                  Comment

                  Working...
                  X