Changeset 345501
- Timestamp:
- 02/14/2011 08:57:55 PM (15 years ago)
- Location:
- xml-google-maps/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
xmlgooglemaps.php (modified) (4 diffs)
-
xmlgooglemaps_dbfunctions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xml-google-maps/trunk/readme.txt
r342628 r345501 4 4 Requires at least: 2.1 5 5 Tested up to: 3.0 6 Stable tag: 1.12. 26 Stable tag: 1.12.3 7 7 Donate link: http://www.matusz.ch/donate_xmlgooglemapswpplugin.htm 8 8 … … 59 59 60 60 == Changes == 61 Version 1.12.3 62 <ul> 63 <li>Supports picasa https URLs (thx to simo)</li> 64 <li>Limits for gpx parse mode with database won't work (thx to matthias)</li> 65 </ul> 66 61 67 Version 1.12.2 62 68 <ul> -
xml-google-maps/trunk/xmlgooglemaps.php
r342628 r345501 5 5 Feed URI: http://www.matusz.ch/blog/tags/xml-google-maps-wp-plugin/feed/ 6 6 Description: This plugin allows you to easily insert Google Map or Google Earth Plugin Maps into your blog. Supports KML, KMZ, GPX, geoRSS filelinks. Supports Default, Satellite, Hybrid, Physical and Google Earth Plugin Maptypes 7 Version: 1.12. 27 Version: 1.12.3 8 8 Author: Patrick Matusz 9 9 Author URI: http://www.matusz.ch/blog/ … … 13 13 14 14 //Versionsinformationen 15 define("XML_GOOGLE_MAPS_VERSION","1.12. 2",true);15 define("XML_GOOGLE_MAPS_VERSION","1.12.3",true); 16 16 define("XML_GOOGLE_MAPS_DB_VERSION",2,true); 17 17 … … 84 84 function xmlgooglemaps_converter_Picasa($content) { 85 85 86 preg_match_all('#\<a([^\>]*?)href=["\'](http :\/\/picasaweb\.google\.[a-z\.]*\/data\/feed\/base\/user\/[a-zA-Z0-9\/:\-\.,_?&=;~]*?)["\']([^\>]*?)\>(.*?)\<\/a\>#i', $content, $found);86 preg_match_all('#\<a([^\>]*?)href=["\'](https?:\/\/picasaweb\.google\.[a-z\.]*\/data\/feed\/base\/user\/[a-zA-Z0-9\/:\-\.,_?&=;~]*?)["\']([^\>]*?)\>(.*?)\<\/a\>#i', $content, $found); 87 87 88 88 for ($i=0; $i< count($found[0]);$i++) { … … 119 119 function xmlgooglemaps_converter_GoogleMaps($content) { 120 120 121 preg_match_all('#\<a([^\>]*?)href=["\'](http :\/\/maps\.google\.[a-z\.]*\/maps\/ms[a-zA-Z0-9\/:\-\.,_?&=;~]*?)["\']([^\>]*?)\>(.*?)\<\/a\>#i', $content, $found);121 preg_match_all('#\<a([^\>]*?)href=["\'](https?:\/\/maps\.google\.[a-z\.]*\/maps\/ms[a-zA-Z0-9\/:\-\.,_?&=;~]*?)["\']([^\>]*?)\>(.*?)\<\/a\>#i', $content, $found); 122 122 123 123 for ($i=0; $i< count($found[0]);$i++) { -
xml-google-maps/trunk/xmlgooglemaps_dbfunctions.php
r146779 r345501 349 349 global $wpdb; 350 350 $limit = ""; 351 if (($start> 0) && ($length>0)) {351 if (($start>=0) && ($length>0)) { 352 352 $limit = "AND item_nr>=%d AND item_nr<%d"; 353 353 } … … 371 371 global $wpdb; 372 372 $limit = ""; 373 if (($start> 0) && ($length>0)) {373 if (($start>=0) && ($length>0)) { 374 374 $limit = "AND item_nr>=%d AND item_nr<%d"; 375 375 }
Note: See TracChangeset
for help on using the changeset viewer.