Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 532 → Rev 533

/trunk/api/text/wiki_papyrus/Parse/Syndication.php
1,5 → 1,5
<?php
// $Id: Syndication.php,v 1.2 2005-06-03 16:10:41 jpm Exp $
// $Id: Syndication.php,v 1.3 2005-10-13 16:37:54 florian Exp $
 
 
/**
15,7 → 15,7
*/
class Text_Wiki_Parse_Syndication extends Text_Wiki_Parse {
var $regex = '/\{\{Syndication url="(.+?)"\}\}/';
var $regex = '/\{\{Syndication titre="(.+?)" url="(.+?)" nb=(.+?)\}\}/';
/**
*
35,9 → 35,8
function process(&$matches)
{
$options = array(
'url' => $matches[1]
'titre' => $matches[1], 'url' => $matches[2], 'nb' => $matches[3],
);
return $this->wiki->addToken($this->rule, $options);
}