private function store_links(&$file, $hub, $self) {
		if (isset($file->headers['link']['hub']) ||
			  (isset($file->headers['link']) &&
			   preg_match('/rel=hub/', $file->headers['link'])))
		{
			return;
		}

		if ($hub)
		{
			if (isset($file->headers['link']))
			{
				if ($file->headers['link'] !== '')
				{
					$file->headers['link'] = ', ';
				}
			}
			else
			{
				$file->headers['link'] = '';
			}
			$file->headers['link'] .= '<'.$hub.'>; rel=hub';
			if ($self)
			{
				$file->headers['link'] .= ', <'.$self.'>; rel=self';
			}
		}
	}
private function store_links(&$file, $hub, $self) {
		if (isset($file->headers['link']['hub']) ||
			  (isset($file->headers['link']) &&
			   preg_match('/rel=hub/', $file->headers['link'])))
		{
			return;
		}

		if ($hub)
		{
			if (isset($file->headers['link']))
			{
				if ($file->headers['link'] !== '')
				{
					$file->headers['link'] = ', ';
				}
			}
			else
			{
				$file->headers['link'] = '';
			}
			$file->headers['link'] .= '<'.$hub.'>; rel=hub';
			if ($self)
			{
				$file->headers['link'] .= ', <'.$self.'>; rel=self';
			}
		}
	}
private function store_links ( & $ file , $ hub , $ self ) { if ( isset ( $ file -> headers [ 'link' ] [ 'hub' ] ) || ( isset ( $ file -> headers [ 'link' ] ) && preg_match ( '/rel=hub/' , $ file -> headers [ 'link' ] ) ) ) { return ; } if ( $ hub ) { if ( isset ( $ file -> headers [ 'link' ] ) ) { if ( $ file -> headers [ 'link' ] !== '' ) { $ file -> headers [ 'link' ] = ', ' ; } } else { $ file -> headers [ 'link' ] = '' ; } $ file -> headers [ 'link' ] .= '<' . $ hub . '>; rel=hub' ; if ( $ self ) { $ file -> headers [ 'link' ] .= ', <' . $ self . '>; rel=self' ; } } }
Store PubSubHubbub links as headers

There is no way to find PuSH links in the body of a microformats feed,
so they are added to the headers when found, to be used later by get_links.
@param SimplePie_File $file
@param string $hub
@param string $self
Store PubSubHubbub links as headers