Topic on Extension talk:RSS

RSS.php not in git repo

14
Summary by CayceP

After install version 1.27 all problems had been solved!

JimHu (talkcontribs)

I'm guessing the installation section needs to be modified for those running <1.27?

CayceP (talkcontribs)

Yes, the file seems to be missing in the latest repository version. I tried to use the RSS.php from the version before but that threw an fatal exception in my installation. Couldn't get the lastest version to work at all in my 1.29.x installation.

Alexandroslee (talkcontribs)

Would you mind telling me how to find RSS.php ?

CayceP (talkcontribs)
Alexandroslee (talkcontribs)

Thanks a lot!

Alexandroslee (talkcontribs)

how to setup $wgRSSUrlWhitelist ?

show error message

"rss-empty-whitelist": " \"$1\" 不在允許訂閱白名單中。此白名單並無允許訂閱之 URL。",

"rss-empty-whitelist": "\"$1\" is not in the whitelist of allowed feeds. There are no allowed feed URLs in the whitelist.",

but I don't know how to setup $wgRSSUrlWhitelist ?

Alexandroslee (talkcontribs)

which file I could setup $wgRSSUrlWhitelist ? or when I edit the content?

URL whitelist of RSS Feeds, the whitelist is empty by default and no URLs are allowed. If there are items in the array, and the used feed URL isn't in the array, it will not be allowed.

Use array( "*" ) if you as admin want to allow anyone to use any feed Url.

CayceP (talkcontribs)

you need to define the array of allowed urls of $wgRSSUrlWhitelist in your wikis LocalSettings.php

Alexandroslee (talkcontribs)

seem setup in RSS.php but I still can't find it ?

is the first time seem there is RSS.php but the second time , disappear ?!

Alexandroslee (talkcontribs)

only version 1.27 has RSS.php

Alexandroslee (talkcontribs)

install version 1.27 had solve my problem! Thanks a lot !

Alexandroslee (talkcontribs)

Where can I edit the template MediaWiki:Rss-item which determines which item elements are used

{{ MediaWiki:Rss-feed \
 | title = {{{title}}} \
 | link = {{{link}}} \
 | date = {{{date}}} \
 | author = {{{author}}} \
 | description = {{{description}}} }}
CayceP (talkcontribs)

Looks for an article/page on your mediawiki called MediaWiki:Rss-item , if there is none, create a page/article and copy and paste the template content from your post and your should be done.

Alexandroslee (talkcontribs)

Thank you! after install version 1.27 all problems had been solved!