Extension talk:RSS/LQT Archive 1

Cannot modify header information
I installed the RSS Extension and if I want to use it, I get the error: Warning: Cannot modify header information - headers already sent by (output started at/kunden /140041_45136/cr-eu/start/ticopedia/extensions/rss.php:1) in /kunden/140041_45136/cr-eu/start /ticopedia/includes/WebResponse.php on line 10

I use Mediawiki-Version 1.13 (www.ticopedia.de)

What should I do ? What I have to change in teh rss.php or in the webResponse.php ?? --88.78.37.161 17:27, 30 November 2008 (UTC)

Incompatibility with MW 1.12
Hi all, I have an incompatibility using this plugin, it produces a SQL DB error... It says that the table mw_cur doesn't exist. OK, it was the fix that I did not applied correctly...--Rmatt 14:45, 28 March 2008 (UTC)

Internationalisation problems
When I try to read a feed on french, UTF-8 encoded, I have a problem. If I add the parameter charset=UTF-8 the text is cutten after the first exotic character (é, à...) and the rest of the text do not appear.

If I remove this parameter theses characters all well processed, but the apostrophs (') are replaced by (?). Any ideas ? I did not install any additional iconv library.

Misformatted text
I'm not sure if it's rss.php or the Magpie parser at fault, but RSS feeds with embedded &lt;pre&gt;&hellip;&lt;/pre&gt; tags are not displayed properly. All the newlines are stripped out and replaced with spaces, which ruins the formatting. &mdash;Psychonaut 14:23, 7 April 2008 (UTC)

Notitle
Hi, great work, however I miss "notitle" option when showing RSS feed. I have pages where I define RSS feed and pages where I show various feeds. Always showing source of RSS feed (name of the site + mediawiki page) is really annoying. It would be great if "notitle" option is inclueded into next ver.

--89.212.65.33 09:35, 14 April 2008 (UTC)

Formatting of feeds
This is a great extension but for some reason I can't seem to get my wordpress feed to work. I'm using a wordpress category feed http://ehealth.oerc.ox.ac.uk/?feed=rss2&cat=3. is this formatting no good for your extension. I'm getting the failure message.

Text Editors
I tried using nano to create the rss.php and the extension just won't work! Using Vi did the trick. --202.52.76.99 02:33, 5 June 2008 (UTC)

XML
how can i add a feed like this: http://www.asdfasdfasd.com/news/feed.xml? Bennylin 04:00, 7 June 2008 (UTC)

Chinese language Feed Problem
When I used it to read a Chinese Simplified Language Feed (the charset is UTF-8) It doesn't work. What I saw are NOT normal words

Update: This Problem is resoloved. Just add a line to rss.php : define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');

Proposed Patch (error handling)
sometimes, feeds aren't as clean as they should be. the rss extension was throwing php errors at me, so I added some checks to make sure we have the feed (and date in it) correctly from magpie:

I can't get the parameters to work.
On my wiki site the RSS works, but I cannot get the "max=5" entries to work. I get the error message: "Error: It's not possible to get max=5." The code I'm using is: http://www.webaddress.com|max=5. Please offer suggestions if you have any. Thanks! 169.253.4.21 18:22, 25 September 2008 (UTC)

Using magpie behind a proxy
I have mediawiki 1.4 set up on our intranet behind a proxy server. No matter what I try, I can't get magpie to pull any feeds through our proxy. I've changed the Snoopy.class.inc file to what I *believe* are the appropriate settings, but still I get an error like "Failed to load RSS feed from http://www.mediawiki.org/w/index.php?title=Special:RecentChanges&feed=rss!" A working sample of Snoopy.proxy.inc and/or any other tips to get this working would be very helpful. Thanks!! 20:09, 2 January 2009 (UTC)

Internationalisation problems still yet and with MW 1.14
Hi people,

I have a problem with my french feeds. They are trimmed after every character like é, è, à or even "'".

Furthermore, it is showing a problem as text on the top of the page, which is very odd, showing :

You can check at : FFE-PS Localité:Berlin

Thanks for your support and the great work already done ! --Rmatt 15:39, 1 March 2009 (UTC)

HTML stripped out
I've tried this extension (and several of its predecessors) on a Fedora 9-based MediaWiki 1.13.3 installation. Displaying the short version of a feed is fine, but the long version is consistently stripped of html formatting -- specifically, less-than and greater-than characters are completely stripped out, so the resultant page has things such as "Line one br /Line two" (where the br / should be a break tag).

I'm obviously missing something. Any ideas what? --Chris Tyler 16:26, 2 March 2009 (UTC)

Perhaps, this libxml2 bug? http://bugs.php.net/bug.php?id=45996 --Ashawley 04:45, 22 April 2009 (UTC)

list of Mediawikis having the rss extension installed
MattisManzel 19:58, 10 April 2009 (UTC): I'm looking for a list of Mediawikis with the rss extension installed or a clever query that finds many of them. Somebody knows?

MattisManzel 11:21, 17 April 2009 (UTC): I started one on odd-wiki-hive - 'wiki-net' - Mediawikis with rss extension.

Any way to keep feeds from being cut/trimmed?
Is there any way I can keep text from the feeds from being cut off after a certain number of characters? -Swooshy

Unescape HTML special characters
The HTML entities need to be unescaped. I had better luck with the following patch:

--- rss.php~   2009-04-21 19:57:57.000000000 -0400 +++ rss.php    2009-04-22 02:02:54.000000000 -0400 @@ -151,6 +151,7 @@                #Build description text if desired if ( $item['description'] ) { $text = trim( iconv( $charset, $wgOutputEncoding, $item['description'] ) ); +               $text = html_entity_decode($text); #Avoid pre-tags $text = str_replace( "\r", ' ', $text ); $text = str_replace( "\n", ' ', $text );

Or has something changed? --65.183.152.86 06:18, 22 April 2009 (UTC)

Cache
It's maybe a good idea to add a cache dir. In file rss.php I put after line require_once('extensions/magpierss/rss_fetch.inc'); these two: define('MAGPIE_CACHE_DIR', './rsscache'); define('MAGPIE_CACHE_AGE', 30*60); // 30 minutes

The change permission for the rsscache directory, same as the images directory. By default, on my wiki, it wrote to the ./cache dir which is use by the mediawiki for its filecache.

- 129.194.8.73 18:14, 17 June 2009 (UTC)