added secondary rss feed to bookmark page to test
This commit is contained in:
parent
97717684c4
commit
a32c9a1578
@ -215,7 +215,7 @@ if ($currenttag!= '') {
|
||||
$brss = '';
|
||||
$size = count($rsschannels);
|
||||
for ($i = 0; $i < $size; $i++) {
|
||||
$brss = '<a style="background:#FFFFFF" href="'. htmlspecialchars($rsschannels[$i][1]) . '"'
|
||||
$brss .= '<a style="background:#FFFFFF" href="'. htmlspecialchars($rsschannels[$i][1]) . '"'
|
||||
. ' title="' . htmlspecialchars($rsschannels[$i][0]) . '">'
|
||||
. '<img src="' . ROOT . 'images/rss.gif" width="16" height="16" alt="' . htmlspecialchars($rsschannels[$i][0]) .'"/>'
|
||||
. '</a>';
|
||||
|
@ -6,7 +6,7 @@ require_once dirname(__FILE__) . '/../src/SemanticScuttle/header-standalone.php'
|
||||
|
||||
$us = SemanticScuttle_Service_Factory::get('User');
|
||||
//$uid = $us->addUser('dummy', 'dummy', 'dummy@example.org');
|
||||
$uid = $us->getUserByUserName('mpemberton5');
|
||||
$uid = $us->getUserByUserName('user123');
|
||||
|
||||
$bs = SemanticScuttle_Service_Factory::get('Bookmark');
|
||||
for ($nA = 0; $nA < 10000; $nA++) {
|
||||
|
@ -256,6 +256,10 @@ if ($templatename == 'editbookmark.tpl') {
|
||||
array(
|
||||
filter($sitename .': '. $pagetitle),
|
||||
createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder())
|
||||
),
|
||||
array(
|
||||
filter($sitename .': (private) '. $pagetitle),
|
||||
createURL('rss', filter($user, 'url') . $rssCat.'?sort='.getSortOrder().'&privatekey='.$currentUser->getPrivateKey())
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user