Last modified: 2014-08-01 18:56:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50710, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48710 - Extension RSS cannot render Mediawiki's own RecentChanges RSS or ATOM feed (when these are empty because are no changes): message "Error parsing XML for RSS"
Extension RSS cannot render Mediawiki's own RecentChanges RSS or ATOM feed (w...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
RSS (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-22 14:10 UTC by Karl Prinz
Modified: 2014-08-01 18:56 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Karl Prinz 2013-05-22 14:10:46 UTC
having installed 
+ RSS feed (Version 2.21 20130415)
+ MediaWiki	1.20.2

i´m unable to display the internal RSS feeds of my mediawiki. The Error-Message is: Failed to load RSS feed from https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=rss: Error parsing XML for RSS

Imho the problem is in "recent Changes" the use of the illegal tag "lastBuildDate". This RSS file saved and the tag replaced with "pubDate", the rss is displayed properly. Quite strange because those files are displayed correctly in the browser...

So could you please fix this or do i have to create an ugly workaround?

Best Regards

Karl Prinz
Comment 1 T. Gries 2013-05-22 19:30:36 UTC
1. please login to your server and try to fetch the feed url with wget or curl

wget https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=rss

Does this work?


If it fails, then let us know the error message. Perhaps it is a Proxy problem (which can be healed).

2. please try to use atom (instead of rss)

wget https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=atom
Comment 2 Karl Prinz 2013-05-23 09:59:07 UTC
(In reply to comment #1)
> 1. please login to your server and try to fetch the feed url with wget or
> curl
> 
> wget https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=rss
> 
> Does this work?

yes it does work with wget for rss and atom
Comment 3 T. Gries 2013-05-24 06:53:32 UTC
ok, I can confirm your observation and will try to fix this soon.
Comment 4 T. Gries 2013-06-04 07:54:11 UTC
keep-alive message: I will try to fix this until 2013-06-10.
Comment 5 T. Gries 2013-06-09 13:41:20 UTC
Hello,

I checked with latest E:RSS version the feed of http://de.wikipedia.org/w/index.php?title=Spezial:Letzte_%C3%84nderungen&feed=atom . This works for me.

Please can you confirm that this works on your server, with your configuration?


Remaining Problems, which I saw, are:

i) The difference view of MediaWiki (MediaWiki recent changes feed = difference view) introduces a table layout in the RSS feed, which is however not rendered by the extension in its present form. It was designed to do that.

ii) when the list of recent changes is empty and the feed does not have "item", the extension print the error message "Error parsing XML for RSS"
Comment 6 Karl Prinz 2013-06-11 08:36:51 UTC
(In reply to comment #5)
> Hello,
> 
> I checked with latest E:RSS version the feed of
> http://de.wikipedia.org/w/index.php?title=Spezial:
> Letzte_%C3%84nderungen&feed=atom
> . This works for me.
> 
> Please can you confirm that this works on your server, with your
> configuration?

Installed RSS Version 2.22, MediaWiki	1.20.2

it works with the external links not with the feed of my mediawiki

<rss max=4>https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=rss</rss>
Failed to load RSS feed from https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=atom: Error parsing XML for RSS
<rss max=4>https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=atom</rss>
Failed to load RSS feed from https://devnet.eggs.de/e/index.php5?title=Special:RecentChanges&feed=atom: Error parsing XML for RSS

<rss max=4>http://de.wikipedia.org/w/index.php?title=Spezial:Letzte_%C3%84nderungen&feed=rss</rss>
OK, with rendering problems mentioned below
<rss max=4>http://de.wikipedia.org/w/index.php?title=Spezial:Letzte_%C3%84nderungen&feed=atom</rss>
OK, with rendering problems mentioned below


> 
> 
> Remaining Problems, which I saw, are:
> 
> i) The difference view of MediaWiki (MediaWiki recent changes feed =
> difference
> view) introduces a table layout in the RSS feed, which is however not
> rendered
> by the extension in its present form. It was designed to do that.
> 
> ii) when the list of recent changes is empty and the feed does not have
> "item",
> the extension print the error message "Error parsing XML for RSS"
Comment 7 Karl Prinz 2014-05-15 16:04:48 UTC
Why wasn´t this fixed in the new version?

Is it too complicated to implement or do you think this feature is irrelevant?
Comment 8 Andre Klapper 2014-05-15 17:36:06 UTC
Somebody needs to provide a patch. Are you interested?
Comment 9 T. Gries 2014-05-15 19:40:31 UTC
@André: I will see, what I can do, time is limited, and I am not a paid developer.
Comment 10 Andre Klapper 2014-05-15 21:17:58 UTC
T.Gries: I know. :) I was answering comment 7.
Comment 11 Karl Prinz 2014-08-01 14:42:53 UTC
The bug is fixed, i´ve tested it 

* with the (latest) mediawiki version (mediawiki-1.23.2) 
* the actual version of the RSS extension (napshot of version c7c5f15) 
* with: <rss max=4>http://localhost/mediawiki-1.23.2/api.php?limit=4&action=feedrecentchanges&feedformat=rss</rss>

Thanx a lot Thomas!

Karl

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links