User talk:DFRussia

From mediawiki.org
Latest comment: 15 years ago by Mdale in topic RSS extension in SVN

that would be swell if you make the updates. i'll keep watching your extension page. thanks again for this extension. --Wikiexpert 13:03, 2 August 2007 (UTC)Reply

How can i uninstall this extension !???[edit]

After first time running, now a can´t use the orignal RSS-feed-function from Wiki (last changes in rss format)!!

  • This extension turns off parser caching for all the pages on which the <rss> tag is present. This could result in server strain if rss tags are present on many high traffic pages.

How can i make this reverse / turn the parser on ? Thanks, bye

Question[edit]

How can i display the first few content of my feed? not just the title of my feed.

  • please ask all questions on the extension talk page and not my talk page so everyone can see the answer, I will move your question to the extension talk page and answer it there.

New "text" parameter added and cache problem fixed[edit]

Hi, we wanted to have an RSS format on our wiki where the items of the feed show the description rather than just the title link (see OrganicDesign:Home for a working example of this). This is a very popular format for rendering RSS so I updated your code to allow this format by adding a "text" parameter to the rss tag. If the parameter is not added everything works the same as before.

Also I noticed that my caching wasn't working and isolated the problem to the line which said:

if (($rssType == lastRSS)&&($egCache)){
   $rss->cache_dir = dirname( __FILE__ ).'/cache/'; //directory of cache
}

This doesn't work on my PHP installation, so I changed it to use the safer is_a() function as follows:

if (is_a($rssType, 'lastRSS') && $egCache) {
   $rss->cache_dir = dirname( __FILE__ ).'/cache/'; //directory of cache
}

--Nad 00:52, 17 August 2008 (UTC)Reply

Thanks for the heads up![edit]

I checked the RSS update, and it looks good. I've been a little busy lately and haven't been able to work on these new features. Now that there's been a change, I'm going to see what I can do to take it a little further. You just gotta love RSS.

--TheOtherTom 15:08, 18 August 2008 (UTC)Reply

Problem with html entities?[edit]

I have a feed that uses CDATA so that they do not have to handle escaping html entities. When I use RSSReader.php with this feed somehow regular text inside a CDATA has a transform of entities applied, so A&B incorrectly becomes A&B - I don't know how to fix this.

RSS extension in SVN[edit]

it would be helpful for testing and easier automated deployment of the extension if you put the RSS extension into the SVN. Any chance you could do that? If you don't have commit access you should introduce your self on wikitech-l then email Brion or Tim to get access Mdale 16:36, 19 March 2009 (UTC)Reply

problems with cache[edit]

I have problems with cache on all wiki RSS extensions. Your extension is working fine but cache refresh only once on 60minutes even if I set less. I need refresh time every 5minutes. I tried to disabled all wiki cache, but doesn't work. Can u help?

Error in line 209 ??[edit]

Hi there,

I have been playing around with this extension en all works pretty well except for one thing. On the top of my page I get the message: "Notice: undefined index: link in c:\wamp\www\wikipedia\extensions\RSSReader\RSSReader.php on line 209"

line 209: $output .= '<a href="'.$item['link'].'" ';

I understand it has to get the link from somewhere but because I am a total wiki and php noob I have no idea where and how