Bug 139941 - Fix invalid MapQuest URL
Summary: Fix invalid MapQuest URL
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
Depends on:
Reported: 2007-01-12 01:08 UTC by Eckhart Wörner
Modified: 2009-08-05 16:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:

Patch for 3.5 branch (905 bytes, patch)
2007-01-12 01:11 UTC, Eckhart Wörner
Fix for MapQuest and Maporama URLs (1.10 KB, patch)
2007-01-12 20:01 UTC, Eckhart Wörner

Note You need to log in before you can comment on or make changes to this bug.
Description Eckhart Wörner 2007-01-12 01:09:12 UTC
Version:           3.5.3 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-3-686

The URL for MapQuest service does no longer work. The attached patch proposes another URL that (currently) works.
Comment 1 Eckhart Wörner 2007-01-12 01:11:43 UTC
Created attachment 19234 [details]
Patch for 3.5 branch
Comment 2 Eckhart Wörner 2007-01-12 19:40:24 UTC
Actually none of the three predefined URLs currently work.
Comment 3 Eckhart Wörner 2007-01-12 20:01:14 UTC
Created attachment 19241 [details]
Fix for MapQuest and Maporama URLs
Comment 4 Bram Schoenmakers 2007-01-12 21:37:27 UTC
SVN commit 622755 by bram:

Update these nice hardcoded URL's according to Eckhart Woerner. Thanks.


 M  +2 -2      kabprefs.cpp  

--- branches/KDE/3.5/kdepim/kaddressbook/common/kabprefs.cpp #622754:622755
@@ -36,9 +36,9 @@
   KConfigSkeleton::setCurrentGroup( "General" );
   QStringList defaultMap;
-  defaultMap << "http://www.maporama.com/share/map.asp?COUNTRYCODE=%c&_XgoGCAddress=%s&Zip=%z&State=%r&_XgoGCTownName=%l";
+  defaultMap << "http://world.maporama.com/idl/maporama/drawaddress.aspx?MD_scale=0.0002&MD_size=500x380&GC_country=%c&GC_address=%s&GC_zip=%z&GC_state=%r&GC_city=%l";
   defaultMap << "http://link2.map24.com/?lid=9cc343ae&maptype=CGI&lang=%1&street0=%s&zip0=%z&city0=%l&country0=%c";
-  defaultMap << "http://www.mapquest.com/main.adp?searchtab=address&searchtype=address&country=%c&address=%s&state=%r&zipcode=%z&city=%l&search=1";
+  defaultMap << "http://www.mapquest.com/maps/map.adp?country=%c&address=%s&state=%r&zipcode=%z&city=%l";
   addItemString( "LocationMapURL", mLocationMapURL, defaultMap[ 0 ] );
   addItemStringList( "LocationMapURLs", mLocationMapURLs, defaultMap );
Comment 5 Tobias Koenig 2009-08-05 16:32:02 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.