I modified the RSS feed because it was crashing the server providing
our headlines. For New Articles, the entire contents of the article is
in the feed. I shortened the string as shown below; the titles and
summaries come out okay. I noticed in 1.4.5 even after my change, if
Recent Changes includes uploads, the entire upload log seems to be in
the RSS feed. I haven't figured out where that string is generated in
order to shorten it.
in QueryPage.php, in function feedItemDesc(), change this:
if( isset( $row->text ) ) {
$text = "<p>" . htmlspecialchars( wfMsg( "summary" ) ) .
": " .
$text . "</p>\n<hr />\n<div>" .
nl2br( htmlspecialchars( $row->text ) ) . "</div>";; }
to this:
if( isset( $row->text ) ) {
$text = "<p>" . htmlspecialchars( wfMsg( "summary" ) ) .
": " .
$text . "</p>\n";
}
Michelle
On Jul 14, 2005, at 3:47 AM, David Patrick wrote:
feed.php looks to give you what you would need.
Not had much of a chance to have an in depth look, but it does seem to
be the file that builds the RSS document for you.
I guess you could remove parts from that until you get what you wish
to achieve. Let us know how you get on....
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Mark Cunningham
Sent: 14 July 2005 11:30
To: Arthur Guy
Cc: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Configuring RSS output
On 7/14/05, Arthur Guy <arthur(a)astarsolutions.co.uk> wrote:
Configure it to do what?
The format of the content of the RSS feed; i.e. rather than the full
comparision of the change, just a summary or perhaps one column...
I imagine it uses its own style sheet so the best
bet would be to
find this
is and edit it.
Are stylesheets use to configure content?