Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 772 → Rev 773

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