Plugin Directory

Changeset 657672


Ignore:
Timestamp:
01/24/2013 12:25:29 AM (13 years ago)
Author:
acegiak
Message:

Improved Stability and changed logging to Fixed length FIFO to avoid explosions

Location:
whisperfollow/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • whisperfollow/trunk/WhisperFollow.php

    r643324 r657672  
    44    Plugin URI: http://www.machinespirit.net/acegiak
    55    Description: Follow and reblog multiple sites with simplepie RSS
    6     Version: 1.2.1
     6    Version: 1.2.0
     7    Version: 1.2.2
    78    Author: Ashton McAllan
    89    Author URI: http://www.machinespirit.net/acegiak
     
    6263
    6364    if ( $feed->error() )
    64         whisperfollow_log('simplepie-error: '.implode("\n",$feed->error()));
    65 
     65        $errstring = implode("\n",$feed->error());
     66        if(strlen($errstring) >0){ $errstring = $feed['data']['error'];}
     67        if(stristr($errstring,"XML error")){
     68            whisperfollow_log('simplepie-error-malfomed: '.$errstring.'<br/><code>'.htmlspecialchars ($url).'</code>');
     69        }elseif(strlen($errstring) >0){
     70            whisperfollow_log('simplepie-error: '.$errstring);
     71        }else{
     72            //whisperfollow_log('simplepie-error-empty: '.print_r($feed,true).'<br/><code>'.htmlspecialchars ($url).'</code>');
     73        }
    6674    return $feed;
    6775}
     
    502510                        whisperfollow_pubsub_change_subscription("unsubscribe",$self,$hub);
    503511                    }else{
    504                         whisperfollow_aggregate(print_r($wp,true),true);
     512                        whisperfollow_aggregate($body,true);
    505513                    }
    506514                }else{
     
    647655    }
    648656    $log = ((string)date('r')).": ".(string)$message.$log;
    649     update_option('whisperfollow_log',$log);
     657    update_option('whisperfollow_log',substr($log,0,100000));
    650658}
    651659function followinglink(){
  • whisperfollow/trunk/readme.txt

    r643324 r657672  
    4343== Changelog ==
    4444
     45= 1.2.2 =
     46* Improved Stability and changed logging to Fixed length FIFO to avoid explosions
     47
    4548= 1.2.1 =
    4649* Bugfix. Items from PuSH updates now actually get sent to aggregation
     50
    4751
    4852= 1.2.0 =
Note: See TracChangeset for help on using the changeset viewer.