Podręcznik:$wgOverrideSiteFeed
Feed: $wgOverrideSiteFeed | |
---|---|
Override the site's default rss/atom feed that appears on every page. |
|
Wprowadzono w wersji: | 1.14.0 (r38831) |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (tablica) |
Domyślna wartość: | [] |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
Override the site's default rss/atom feed that appears on every page.
Some sites might have a different feed they would like to promote instead of the RC feed (maybe like a "Recent New Articles" or "Breaking news" one).
Przykład:
$wgOverrideSiteFeed['format'] = "http://example.com/somefeed.xml";
Format can be one of either 'rss' or 'atom'.
$wgFeed
needs to be enabled to use this feature.