* renamed FeedSub plugin to OStatus * now setting avatar on subscriptions * general fixes for subscription * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though) * a few bits of code documentation * HMAC support for verified distributions (safest if sub setup is on HTTPS) And a couple core changes: * minimizing HTML output for exceptions in API requests to aid in debugging * fix for rel=self link in apitimelineuser when id given This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions. Needs some further cleanup to treat posts as status updates instead of link references.
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <?php
 | |
| /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
 | |
| 
 | |
| /**
 | |
|  * Keeps the exception class for XML_Feed_Parser.
 | |
|  *
 | |
|  * PHP versions 5
 | |
|  *
 | |
|  * LICENSE: This source file is subject to version 3.0 of the PHP license
 | |
|  * that is available through the world-wide-web at the following URI:
 | |
|  * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 | |
|  * the PHP License and are unable to obtain it through the web, please
 | |
|  * send a note to license@php.net so we can mail you a copy immediately.
 | |
|  *
 | |
|  * @category   XML
 | |
|  * @package    XML_Feed_Parser
 | |
|  * @author     James Stewart <james@jystewart.net>
 | |
|  * @copyright  2005 James Stewart <james@jystewart.net>
 | |
|  * @license    http://www.gnu.org/copyleft/lesser.html  GNU LGPL
 | |
|  * @version    CVS: $Id: Exception.php,v 1.3 2005/11/07 01:52:35 jystewart Exp $
 | |
|  * @link       http://pear.php.net/package/XML_Feed_Parser/
 | |
|  */
 | |
|  
 | |
| /**
 | |
|  * We are extending PEAR_Exception
 | |
|  */
 | |
| require_once 'PEAR/Exception.php';
 | |
| 
 | |
| /**
 | |
|  * XML_Feed_Parser_Exception is a simple extension of PEAR_Exception, existing
 | |
|  * to help with identification of the source of exceptions.
 | |
|  *
 | |
|  * @author  James Stewart <james@jystewart.net>
 | |
|  * @version Release: 1.0.3
 | |
|  * @package XML_Feed_Parser
 | |
|  */ 
 | |
| class XML_Feed_Parser_Exception extends PEAR_Exception
 | |
| {
 | |
| 
 | |
| }
 | |
| 
 | |
| ?>
 |