6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11523] Add universal link() method to Horde_Feed
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__ . , . . >< | \ \./ | | / \|__/ | \__|\__|
Comment
> Hi > > please find a short/uggly workaround. It avoid that link refers to > horde site but instead force all link to atom/rss site. > > --- horde4/lib/Block/Feed.php.old 2013-01-07 07:28:11.000000000 +0100 > +++ horde4/lib/Block/Feed.php 2013-01-07 07:29:03.000000000 +0100 > @@ -69,7 +69,7 @@ > if (++$count > $this->_params['limit']) { > break; > } > - $html .= '<a href="' . $entry->link . '"'; > + $html .= '<a href="' . (strlen($entry->link) ? > $entry->link : $this->_params['uri']) . '"'; > if (empty($this->_params['details'])) { > $html .= ' title="' . > htmlspecialchars(strip_tags($entry->description())) . '"'; > }
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers