X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FFeed.php;h=635b04e4d45641dc813748b16867dc987b56fb3f;hb=634f48b9d09648ec38781d222d186513e96b9ab7;hp=caf2e5716ad458937b662e29c4a445a23bf70b60;hpb=9e2a081fcc286cb5486b2b73aba16908953e5873;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/Feed.php b/includes/Feed.php
index caf2e5716a..635b04e4d4 100644
--- a/includes/Feed.php
+++ b/includes/Feed.php
@@ -245,7 +245,7 @@ abstract class ChannelFeed extends FeedItem {
global $wgRequest;
$ctype = $wgRequest->getVal( 'ctype', 'application/xml' );
$allowedctypes = array( 'application/xml', 'text/xml', 'application/rss+xml', 'application/atom+xml' );
- return (in_array( $ctype, $allowedctypes ) ? $ctype : 'application/xml');
+ return ( in_array( $ctype, $allowedctypes ) ? $ctype : 'application/xml' );
}
/**
@@ -306,13 +306,13 @@ class RSSFeed extends ChannelFeed {
function outItem( $item ) {
?>
-
- getTitle() ?>
- getUrl(), PROTO_CURRENT ) ?>
- rssIsPermalink ) print ' isPermaLink="false"' ?>>getUniqueId() ?>
+ getTitle(); ?>
+ getUrl(), PROTO_CURRENT ); ?>
+ rssIsPermalink ) { print ' isPermaLink="false"'; } ?>>getUniqueId(); ?>
getDescription() ?>
- getDate() ) { ?>formatTime( $item->getDate() ) ?>
- getAuthor() ) { ?>getAuthor() ?>
- getComments() ) { ?>getComments(), PROTO_CURRENT ) ?>
+ getDate() ) { ?>formatTime( $item->getDate() ); ?>
+ getAuthor() ) { ?>getAuthor(); ?>
+ getComments() ) { ?>getComments(), PROTO_CURRENT ); ?>
- getUniqueId() ?>
- getTitle() ?>
-
- getDate() ) { ?>
- formatTime( $item->getDate() ) ?>Z
+ getUniqueId(); ?>
+ getTitle(); ?>
+
+ getDate() ) { ?>
+ formatTime( $item->getDate() ); ?>Z
getDescription() ?>
- getAuthor() ) { ?>getAuthor() ?>
+ getAuthor() ) { ?>getAuthor(); ?>