Summary | Better display of HTML and Atom content in feed block |
Queue | Horde Base |
Queue Version | Git master |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 09/30/2008 (6095 days ago) |
Due | |
Updated | 04/14/2011 (5169 days ago) |
Assigned | 09/30/2008 (6095 days ago) |
Resolved | 03/27/2011 (5187 days ago) |
Milestone | |
Patch | No |
New Attachment: Block_Feed.patch
see feed http://rss.news.yahoo.com/rss/europe
Chuck, this patch is an alternative until you start refactoring
completely the feed block feature (comment
#6and#7).Rendering now looks better, but still looks completely different than
expected.
Here is an other feed example: http://rss.lemonde.fr/c/205/f/3050/index.rss
Assigned to Chuck Hagenbuch
State ⇒ Resolved
Bug #7415: setRawPostData is deprecated, use setBody instead1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/194d8faa1642fbebac715a0532b6caa0e3dccdc1
I checked back to pecl_http 1.6.0 (from 2007) and setRawPostData was
aliased to setBody as of then.
Version ⇒ Git master
can only get a HttpMessage from sent requests, i.e. you cannot *send*
a HttpMessage object.
Using horde-git, feed http://travaux.ovh.net/rss.php now looks Ok.
however, I get the following errors in horde.log :
2011-03-23T09:53:13+01:00 DEBUG: HORDE [horde] PHP ERROR: Function
HttpRequest::setRawPostData() is deprecated [pid 28498 on line 63 of
"/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php"]
2011-03-23T09:53:13+01:00 DEBUG: 1.
Horde_Core_Block_Layout_View->toHtml()
/var/www/html/hordetest/services/portal/index.php:43
2. Horde_Core_Block->getContent()
/var/www/html/hordetest/libs/Horde/Core/Block/Layout/View.php:96
3. Horde_Core_Block->_call()
/var/www/html/hordetest/libs/Horde/Core/Block.php:164
4. Horde_Block_Feed->_content()
/var/www/html/hordetest/libs/Horde/Core/Block.php:234
5. Horde_Block_Feed->_read() /var/www/html/hordetest/lib/Block/Feed.php:63
6. Horde_Feed::readUri() /var/www/html/hordetest/lib/Block/Feed.php:109
7. Horde_Http_Client->get() /var/www/html/hordetest/libs/Horde/Feed.php:108
8. Horde_Http_Client->request()
/var/www/html/hordetest/libs/Horde/Http/Client.php:96
9. Horde_Http_Request_Peclhttp->send()
/var/www/html/hordetest/libs/Horde/Http/Client.php:184
10. HttpRequest->setRawPostData()
/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php:63
11. Horde::errorHandler()
2011-03-23T09:53:13+01:00 DEBUG: HORDE [horde] PHP ERROR: Function
HttpRequest::setRawPostData() is deprecated [pid 28498 on line 63 of
"/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php"]
2011-03-23T09:53:13+01:00 DEBUG: 1.
Horde_Core_Block_Layout_View->toHtml()
/var/www/html/hordetest/services/portal/index.php:43
2. Horde_Core_Block->getTitle()
/var/www/html/hordetest/libs/Horde/Core/Block/Layout/View.php:97
3. Horde_Core_Block->_call()
/var/www/html/hordetest/libs/Horde/Core/Block.php:140
4. Horde_Block_Feed->_title()
/var/www/html/hordetest/libs/Horde/Core/Block.php:234
5. Horde_Block_Feed->_read() /var/www/html/hordetest/lib/Block/Feed.php:52
6. Horde_Feed::readUri() /var/www/html/hordetest/lib/Block/Feed.php:109
7. Horde_Http_Client->get() /var/www/html/hordetest/libs/Horde/Feed.php:108
8. Horde_Http_Client->request()
/var/www/html/hordetest/libs/Horde/Http/Client.php:96
9. Horde_Http_Request_Peclhttp->send()
/var/www/html/hordetest/libs/Horde/Http/Client.php:184
10. HttpRequest->setRawPostData()
/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php:63
11. Horde::errorHandler()
$data is NULL. I replaced call to setRawPostData by setBody (as
suggested by user comment
http://php.net/manual/en/function.httprequest-setrawpostdata.php) and
I don't get the error anymore.
eg : target="_blank"
Summary ⇒ Better display of HTML and Atom content in feed block
We should look for atom summary (or full content) as well, and have
support for displaying (filtered) HTML.
Priority ⇒ 1. Low
Type ⇒ Enhancement
Queue ⇒ Horde Base
Version ⇒ HEAD
State ⇒ Accepted
ticket 7291) as Icouldn't get the feed block working. But since then, it always has
been working this way.
calling code are you using? Or is this with the feed block in the
Horde portal?
anything in the source code. I've just added a feed through "Add
Content" in the horde portal.
Instead of leaving the original tags, the feed block probably should
convert line breaks into BR tags?
State ⇒ Feedback
calling code are you using? Or is this with the feed block in the
Horde portal?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Feed : line breaks
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
which isn't render in firefox (or some other brother).
eg : http://travaux.ovh.net/rss.php
Can Feed leave the BR tags ?