Changeset 657672
- Timestamp:
- 01/24/2013 12:25:29 AM (13 years ago)
- Location:
- whisperfollow/trunk
- Files:
-
- 2 edited
-
WhisperFollow.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
whisperfollow/trunk/WhisperFollow.php
r643324 r657672 4 4 Plugin URI: http://www.machinespirit.net/acegiak 5 5 Description: Follow and reblog multiple sites with simplepie RSS 6 Version: 1.2.1 6 Version: 1.2.0 7 Version: 1.2.2 7 8 Author: Ashton McAllan 8 9 Author URI: http://www.machinespirit.net/acegiak … … 62 63 63 64 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 } 66 74 return $feed; 67 75 } … … 502 510 whisperfollow_pubsub_change_subscription("unsubscribe",$self,$hub); 503 511 }else{ 504 whisperfollow_aggregate( print_r($wp,true),true);512 whisperfollow_aggregate($body,true); 505 513 } 506 514 }else{ … … 647 655 } 648 656 $log = ((string)date('r')).": ".(string)$message.$log; 649 update_option('whisperfollow_log', $log);657 update_option('whisperfollow_log',substr($log,0,100000)); 650 658 } 651 659 function followinglink(){ -
whisperfollow/trunk/readme.txt
r643324 r657672 43 43 == Changelog == 44 44 45 = 1.2.2 = 46 * Improved Stability and changed logging to Fixed length FIFO to avoid explosions 47 45 48 = 1.2.1 = 46 49 * Bugfix. Items from PuSH updates now actually get sent to aggregation 50 47 51 48 52 = 1.2.0 =
Note: See TracChangeset
for help on using the changeset viewer.