Index: trunk/extensions/GoogleNewsSitemap/GoogleNewsSitemap_body.php |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | } |
141 | 141 | switch( $this->params['quality'] ) { |
142 | 142 | case 'only': |
143 | | - $conditions[] = 'fp_quality >= 1'; |
| 143 | + $conditions[] = 'fp_quality >= 1'; |
144 | 144 | break; |
145 | 145 | case 'exclude': |
146 | 146 | $conditions['fp_quality'] = 0; |
Index: trunk/extensions/GoogleNewsSitemap/FeedSMItem.php |
— | — | @@ -9,8 +9,17 @@ |
10 | 10 | class FeedSMItem extends FeedItem { |
11 | 11 | |
12 | 12 | private $keywords = ''; |
13 | | - private $title; // Title object, not string. |
14 | 13 | |
| 14 | + /** |
| 15 | + * @var Title |
| 16 | + */ |
| 17 | + private $title; |
| 18 | + |
| 19 | + /** |
| 20 | + * @param Title $title |
| 21 | + * @param $pubDate |
| 22 | + * @param string $keywords |
| 23 | + */ |
15 | 24 | function __construct( $title, $pubDate, $keywords = '' ) { |
16 | 25 | parent::__construct( $title->getText(), '' /* description */, $title->getFullUrl(), $pubDate ); |
17 | 26 | $this->title = $title; |