Is there any RSS support for MediaWiki - i.e. generating a .rss stream for a site?
I am aware of an extension that parses/embeds rss files within MediaWiki pages with <rss>url</rss> but I want the inverse: to allow others to use RSS to see what's new on my MediaWiki site.
David J. Biesack wrote:
Is there any RSS support for MediaWiki - i.e. generating a .rss stream for a site?
I am aware of an extension that parses/embeds rss files within MediaWiki pages with <rss>url</rss> but I want the inverse: to allow others to use RSS to see what's new on my MediaWiki site.
Yes, the Special:RecentChanges page has its own RSS feed, and you can use that to see what's new on the site.
Hínandil
Hínandil <hinandil@...> writes:
David J. Biesack wrote:
Is there any RSS support for MediaWiki - i.e. generating a .rss stream for a
site?
I am aware of an extension that parses/embeds rss files within MediaWiki
pages with <rss>url</rss>
but I want the inverse: to allow others to use RSS to see what's new on my
MediaWiki site.
Yes, the Special:RecentChanges page has its own RSS feed, and you can use that to see what's new on the site.
Hínandil
What if my wiki requires login to read? How can I bypass this? Do I need to make the Special:RecentChanges page globally readable?
Thanks!
Brion Vibber <brion@...> writes:
ddwalker wrote:
What if my wiki requires login to read?
Then an RSS feed would be a security hole.
Yes and no. The RSS only feeds the recentlyChanged page, which doesn't contain too much infomation. Also my web server requires login to get access to the wiki, which is another layer of security.
So the question is, can I set the RecentlyChanged page to readable and the RSS would work?
ddwalker wrote:
Brion Vibber <brion@...> writes:
ddwalker wrote:
What if my wiki requires login to read?
Then an RSS feed would be a security hole.
Yes and no. The RSS only feeds the recentlyChanged page, which doesn't contain too much infomation. Also my web server requires login to get access to the wiki, which is another layer of security.
The Recentchanges feeds include diffs of content on changes, and full content of new pages.
So the question is, can I set the RecentlyChanged page to readable and the RSS would work?
Try it and see...?
-- brion vibber (brion @ pobox.com)
Brion Vibber <brion@...> writes:
ddwalker wrote:
Brion Vibber <brion <at> ...> writes:
ddwalker wrote:
What if my wiki requires login to read?
Then an RSS feed would be a security hole.
Yes and no. The RSS only feeds the recentlyChanged page, which doesn't
contain
too much infomation. Also my web server requires login to get access to
the
wiki, which is another layer of security.
The Recentchanges feeds include diffs of content on changes, and full content
of
new pages.
So the question is, can I set the RecentlyChanged page to readable and the
RSS
would work?
Try it and see...?
I tried it and yes it worked. And yes, you're right that the feed gives the diff, which I don't want to reveal. Is there any other way around?
Thanks!
On 29/11/05, ddwalker darkwalker000@yahoo.com wrote:
I tried it and yes it worked. And yes, you're right that the feed gives the diff, which I don't want to reveal. Is there any other way around?
Well, you could write an authorisation layer for the RSS feed (if you do, please consider making it useful for the ever-present request for a watchlist feed - http://bugzilla.wikimedia.org/show_bug.cgi?id=471).
Or I guess you could hack up the existing feed to just be links and no content, though that would seem to me to make it rather less useful. Still, I guess it would be no less informative than a normal view of Special:Recentchanges, so maybe that's the way to go...
-- Rowan Collins BSc [IMSoP]
On 19 Apr 2005, at 13:04, David J. Biesack wrote:
I am aware of an extension that parses/embeds rss files within MediaWiki pages with <rss>url</rss>
Cool! Where do you get that? I thought I had collected all the MediaWiki extensions in the world!
but I want the inverse: to allow others to use RSS to see what's new on my MediaWiki site.
WikiURL?title=Special:Recentchanges&feed=rss
Or if you want to get fancy, "hideliu=0" will spit out the diffs on the feed.
:::: fas-cism (fash'iz'em) n. A system of government that exercises a dictatorship of the extreme right, typically through the merging of state and business leadership, together with belligerent nationalism. -- American Heritage Dictionary, 1983 (reference to "business" was removed in later editions) :::: Jan Steinman http://www.Bytesmiths.com
Is there a way to get a rss for a special part of the site, like for Template:In_the_news, for example. It's because this could actually be a useful rss news feed. I guess not, because it would require a little hacking to make that page computer readable...
I tested http://en.wikipedia.org/wiki/WikiURL?title=Template:In_the_news&feed=rss but it gives you the normal page
On 4/19/05, Jan Steinman Jan@bytesmiths.com wrote:
On 19 Apr 2005, at 13:04, David J. Biesack wrote:
I am aware of an extension that parses/embeds rss files within MediaWiki pages with <rss>url</rss>
Cool! Where do you get that? I thought I had collected all the MediaWiki extensions in the world!
but I want the inverse: to allow others to use RSS to see what's new on my MediaWiki site.
WikiURL?title=Special:Recentchanges&feed=rss
Or if you want to get fancy, "hideliu=0" will spit out the diffs on the feed.
:::: fas-cism (fash'iz'em) n. A system of government that exercises a dictatorship of the extreme right, typically through the merging of state and business leadership, together with belligerent nationalism. -- American Heritage Dictionary, 1983 (reference to "business" was removed in later editions) :::: Jan Steinman http://www.Bytesmiths.com
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 4/20/05, Alexandre Van de Sande alexandrevandesande@gmail.com wrote:
Is there a way to get a rss for a special part of the site, like for Template:In_the_news, for example. It's because this could actually be a useful rss news feed. I guess not, because it would require a little hacking to make that page computer readable...
Quite so. Somebody would have to write a script to parse either the wikitext or the HTML and extract the "items" in a meaningful way. People have done this with a few pages, according to http://en.wikipedia.org/wiki/Wikipedia:Syndication, but no feed for that one is listed there.
There have also been various feature requests for creating a feed from the history of a page, the activity in a category, and for user watchlists (the last being particularly difficult because people like their watchlists to stay private). See http://bugzilla.wikimedia.org/buglist.cgi?bug_id=471,472,943
Creating a "standard" (i.e. official part of the software) feed from actual items within a page is a little more complex, and it's hard to see how to do it in a "standard" way.
mediawiki-l@lists.wikimedia.org