<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Better display of HTML and Atom content in feed block</title> 
  <pubDate>Fri, 10 Apr 2026 14:49:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7415</link> 
  <atom:link rel="self" type="application/rss+xml" title="Better display of HTML and Atom content in feed block" href="https://bugs.horde.org/ticket/7415/rss" /> 
  <description>Better display of HTML and Atom content in feed block</description> 
 
   
   
  <item> 
   <title>using latest cvs, feed convert tags &quot;&lt;br/&gt;&quot; into something l</title> 
   <description>using latest cvs, feed convert tags &quot;&lt;br/&gt;&quot; into something like &quot;\r\n&quot; which isn&#039;t render in firefox (or some other brother).



eg : http://travaux.ovh.net/rss.php

Can Feed leave the BR tags ?

</description> 
   <pubDate>Tue, 30 Sep 2008 11:16:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49308</link> 
  </item> 
   
  <item> 
   <title>Is this something that used to work, and just changed? And w</title> 
   <description>Is this something that used to work, and just changed? And what calling code are you using? Or is this with the feed block in the Horde portal?</description> 
   <pubDate>Tue, 30 Sep 2008 21:33:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49319</link> 
  </item> 
   
  <item> 
   <title>&gt; Is this something that used to work, and just changed? And</title> 
   <description>&gt; Is this something that used to work, and just changed? And what 

&gt; calling code are you using? Or is this with the feed block in the 

&gt; Horde portal?



this is with the feed block in the Horde portal. I haven&#039;t changed anything in the source code. I&#039;ve just added a feed through &quot;Add Content&quot; in  the horde portal.



Instead of leaving the original tags, the feed block probably should convert line breaks into BR tags?

</description> 
   <pubDate>Wed, 01 Oct 2008 07:31:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49325</link> 
  </item> 
   
  <item> 
   <title>Okay. And again: did it used to work? Or has it always been </title> 
   <description>Okay. And again: did it used to work? Or has it always been this way?</description> 
   <pubDate>Wed, 01 Oct 2008 20:03:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49336</link> 
  </item> 
   
  <item> 
   <title>&gt; Okay. And again: did it used to work? Or has it always bee</title> 
   <description>&gt; Okay. And again: did it used to work? Or has it always been this way?



Sorry, I&#039;m using the feed block only recently (since ticket 7291) as I couldn&#039;t get the feed block working. But since then, it always has been working this way.</description> 
   <pubDate>Thu, 02 Oct 2008 07:04:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49345</link> 
  </item> 
   
  <item> 
   <title>This is really a feature request for the feed block. Recateg</title> 
   <description>This is really a feature request for the feed block. Recategorizing as such.</description> 
   <pubDate>Fri, 03 Oct 2008 23:14:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49372</link> 
  </item> 
   
  <item> 
   <title>Right now we strip all tags, and only look for the entry des</title> 
   <description>Right now we strip all tags, and only look for the entry description. We should look for atom summary (or full content) as well, and have support for displaying (filtered) HTML.</description> 
   <pubDate>Fri, 03 Oct 2008 23:15:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49373</link> 
  </item> 
   
  <item> 
   <title>Is it possible to open links (feed&#039;s titles) into new window</title> 
   <description>Is it possible to open links (feed&#039;s titles) into new windows ?

eg : target=&quot;_blank&quot;

</description> 
   <pubDate>Mon, 06 Oct 2008 11:57:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t49387</link> 
  </item> 
   
  <item> 
   <title>re·viving this issue :-)

Using horde-git, feed http://tr</title> 
   <description>re·viving this issue :-)

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 &quot;/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php&quot;]
2011-03-23T09:53:13+01:00 DEBUG:  1. Horde_Core_Block_Layout_View-&gt;toHtml() /var/www/html/hordetest/services/portal/index.php:43
 2. Horde_Core_Block-&gt;getContent() /var/www/html/hordetest/libs/Horde/Core/Block/Layout/View.php:96
 3. Horde_Core_Block-&gt;_call() /var/www/html/hordetest/libs/Horde/Core/Block.php:164
 4. Horde_Block_Feed-&gt;_content() /var/www/html/hordetest/libs/Horde/Core/Block.php:234
 5. Horde_Block_Feed-&gt;_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-&gt;get() /var/www/html/hordetest/libs/Horde/Feed.php:108
 8. Horde_Http_Client-&gt;request() /var/www/html/hordetest/libs/Horde/Http/Client.php:96
 9. Horde_Http_Request_Peclhttp-&gt;send() /var/www/html/hordetest/libs/Horde/Http/Client.php:184
10. HttpRequest-&gt;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 &quot;/var/www/html/hordetest/libs/Horde/Http/Request/Peclhttp.php&quot;]
2011-03-23T09:53:13+01:00 DEBUG:  1. Horde_Core_Block_Layout_View-&gt;toHtml() /var/www/html/hordetest/services/portal/index.php:43
 2. Horde_Core_Block-&gt;getTitle() /var/www/html/hordetest/libs/Horde/Core/Block/Layout/View.php:97
 3. Horde_Core_Block-&gt;_call() /var/www/html/hordetest/libs/Horde/Core/Block.php:140
 4. Horde_Block_Feed-&gt;_title() /var/www/html/hordetest/libs/Horde/Core/Block.php:234
 5. Horde_Block_Feed-&gt;_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-&gt;get() /var/www/html/hordetest/libs/Horde/Feed.php:108
 8. Horde_Http_Client-&gt;request() /var/www/html/hordetest/libs/Horde/Http/Client.php:96
 9. Horde_Http_Request_Peclhttp-&gt;send() /var/www/html/hordetest/libs/Horde/Http/Client.php:184
10. HttpRequest-&gt;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&#039;t get the error anymore.

</description> 
   <pubDate>Wed, 23 Mar 2011 09:09:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t62567</link> 
  </item> 
   
  <item> 
   <title>setBody() is a method of HttpMessage, not HttpRequest and AF</title> 
   <description>setBody() is a method of HttpMessage, not HttpRequest and AFAICS you can only get a HttpMessage from sent requests, i.e. you cannot *send* a HttpMessage object.</description> 
   <pubDate>Wed, 23 Mar 2011 09:51:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t62569</link> 
  </item> 
   
  <item> 
   <title>setBody is there on HttpRequest; it&#039;s just not documented on</title> 
   <description>setBody is there on HttpRequest; it&#039;s just not documented on php.net. I checked back to pecl_http 1.6.0 (from 2007) and setRawPostData was aliased to setBody as of then.</description> 
   <pubDate>Sun, 27 Mar 2011 00:13:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t62682</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #7415: s</title> 
   <description>Changes have been made in Git for this ticket:

Bug #7415: setRawPostData is deprecated, use setBody instead

 1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/194d8faa1642fbebac715a0532b6caa0e3dccdc1</description> 
   <pubDate>Sun, 27 Mar 2011 00:14:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t62683</link> 
  </item> 
   
  <item> 
   <title>Sounds like this is all set now since you said it looks okay</title> 
   <description>Sounds like this is all set now since you said it looks okay.</description> 
   <pubDate>Sun, 27 Mar 2011 00:15:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t62684</link> 
  </item> 
   
  <item> 
   <title>&gt; Sounds like this is all set now since you said it looks ok</title> 
   <description>&gt; Sounds like this is all set now since you said it looks okay.
Sorry, I spoke too fast.

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
</description> 
   <pubDate>Mon, 28 Mar 2011 07:33:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t62694</link> 
  </item> 
   
  <item> 
   <title>attached is a patch for a better rendering.

see feed http</title> 
   <description>attached is a patch for a better rendering.

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 #6 and #7).

</description> 
   <pubDate>Thu, 14 Apr 2011 07:59:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7415#t63710</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
