Results 1 to 9 of 9

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

  1. #1
    Variable Bitrate
    Join Date
    Apr 2004
    Location
    The land of polar bears and nekkid blonds
    Posts
    446

    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. #2
    Maximum Bitrate Don 944 LA's Avatar
    Join Date
    May 2004
    Location
    San Diego / Los Angeles
    Posts
    679
    I'm curious what the middle of the url is ??
    thats the part without the " ... "

  3. #3
    Maximum Bitrate Don 944 LA's Avatar
    Join Date
    May 2004
    Location
    San Diego / Los Angeles
    Posts
    679

  4. #4
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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

  5. #5
    Variable Bitrate
    Join Date
    Apr 2004
    Location
    The land of polar bears and nekkid blonds
    Posts
    446
    Quote 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.



    Quote 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

  6. #6
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    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

  7. #7
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    & 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!

  8. #8
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    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!

  9. #9
    Variable Bitrate
    Join Date
    Apr 2004
    Location
    The land of polar bears and nekkid blonds
    Posts
    446
    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

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
  •