Plugin Directory

Changeset 345501


Ignore:
Timestamp:
02/14/2011 08:57:55 PM (15 years ago)
Author:
dschuesae
Message:
 
Location:
xml-google-maps/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • xml-google-maps/trunk/readme.txt

    r342628 r345501  
    44Requires at least: 2.1
    55Tested up to: 3.0
    6 Stable tag: 1.12.2
     6Stable tag: 1.12.3
    77Donate link: http://www.matusz.ch/donate_xmlgooglemapswpplugin.htm
    88
     
    5959
    6060== Changes ==
     61Version 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
    6167Version 1.12.2
    6268<ul>
  • xml-google-maps/trunk/xmlgooglemaps.php

    r342628 r345501  
    55 Feed URI: http://www.matusz.ch/blog/tags/xml-google-maps-wp-plugin/feed/
    66 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.2
     7 Version: 1.12.3
    88 Author: Patrick Matusz
    99 Author URI: http://www.matusz.ch/blog/
     
    1313
    1414//Versionsinformationen
    15 define("XML_GOOGLE_MAPS_VERSION","1.12.2",true);
     15define("XML_GOOGLE_MAPS_VERSION","1.12.3",true);
    1616define("XML_GOOGLE_MAPS_DB_VERSION",2,true);
    1717
     
    8484function xmlgooglemaps_converter_Picasa($content) {
    8585   
    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);
    8787
    8888    for ($i=0; $i< count($found[0]);$i++) {
     
    119119function xmlgooglemaps_converter_GoogleMaps($content) {
    120120   
    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);
    122122
    123123    for ($i=0; $i< count($found[0]);$i++) {
  • xml-google-maps/trunk/xmlgooglemaps_dbfunctions.php

    r146779 r345501  
    349349        global $wpdb;
    350350        $limit = "";
    351         if (($start>0) && ($length>0)) {
     351        if (($start>=0) && ($length>0)) {
    352352            $limit = "AND item_nr>=%d AND item_nr<%d";
    353353        }
     
    371371        global $wpdb;
    372372        $limit = "";
    373         if (($start>0) && ($length>0)) {
     373        if (($start>=0) && ($length>0)) {
    374374            $limit = "AND item_nr>=%d AND item_nr<%d";
    375375        }
Note: See TracChangeset for help on using the changeset viewer.