Bug 139941

Summary: Fix invalid MapQuest URL
Product: [Unmaintained] kab3 Reporter: Eckhart Wörner <ewoerner>
Component: generalAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Patch for 3.5 branch
Fix for MapQuest and Maporama URLs

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.

BUG:139941



 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.