This page has moved


This page can now be found on the Wikka Documentation Server.
Thanks for updating your bookmarks!

An archive of old revisions of this page is still available for reference.

 


CategoryMigratedDocs
Comments
Comment by amaire.gotadsl.co.uk
2005-01-17 10:09:24
Wondering if there should be an RSS feed to get the recent comments as well :)

- Sam
Comment by nihqny.nikon.net
2005-06-03 20:02:14
How about password/login RSS?
-Chris
Comment by JavaWoman
2005-06-03 20:36:24
Chris,
Can you explain what you mean by 'password/login RSS' ?
Comment by SamuelDr
2005-06-13 21:17:11
Hi, i'm currently working on a new RSS implementation using Magpie RSS.
It can read RSS(1(not sure) and 2) feeds and Atom XML feeds.
It currently does not support caching, when it will be done, i'm gonna make a page about it.
Just tell me if it is worth something.
Thx.
Comment by SamuelDr
2005-06-13 21:19:33
correction : not RSS implementation but RSS action, the RSS generation won't be touched.
Comment by JavaWoman
2005-06-13 21:40:38
SamuelDr,
I've been looking at Magpie as a possible replacement for Onyx-RSS which Wikka currently uses - not only because it has some bugs, and doesn't support ATOM, but more importantly because it is no longer maintained and the code base - um - doesn't invite to develop it further.
I'm not sure why you state it doesn't support caching - its features page clearly states that it does (http://magpierss.sourceforge.net/#features) - "[a]nd it happens transparently." Which means that's even easier than using Onyx-RSS. :)
Comment by SamuelDr
2005-06-13 23:05:13
JavaWoman,
I currently not have implemented the caching into my action, I know it's possible, but as i'm really lazy, I didn't did it for now.
Comment by SamuelDr
2005-06-13 23:48:25
Hi there,
finally, magpie RSS was automatically turning the cache ON.
I'm creating a new page for my action. See you there : NewRSSAction
;)
Comment by JeanRoure
2005-12-30 21:51:23
Note for ONLINE.NET hosted wikka websites :
The error message may occur: "Could not open the specified file. Check the path, and make sure that you have write permissions to this file" it's easy to solve:
1. Create a tmp directory on the remote server
2. edit the actions/rss.php (line 9) and replace the $rss_cache_path /tmp with tmp (whithout slash)

FR : en cas de souci chez online.net (et peut-être chez free.fr), ce fil rss marchera si on pense à créer un répertoire tmp et à modifier éventuellement le fichier actions/rss.php pour supprimer le slash devant le nom du répertoire.

-- JeanRoure (2005-12-30 21:37:56)
Comment by PietroSperoni
2006-01-03 12:33:14
Hmm, I wasn't happy in the way the rss was output-ed. Mainly because there was no link to the source of the rss, nor was the description explained, so I changed the code in rss.php:
<code>
$cached_output = "<h2><a href=\"".$meta['link']."\">".$meta['title']."</a>: ".$meta['description']."</h2>";
$cached_output .= "<ul>\n";
while ($max_items > 0 && ($item = $rss->getNextItem()))
{
$cached_output .= "<li><h3><a href=\"".$item['link']."\">".$item['title']."</a></h3><br />\n";
$cached_output .= $item['description']."</li>\n";
$max_items = $max_items - 1;
}
$cached_output .= "</ul>\n";
echo $this->ReturnSafeHTML($cached_output);
</code>

Instead of:
<code> $cached_output = "<h3>".$meta['title']."</h3>";
$cached_output .= "<ul>\n";
while ($max_items > 0 && ($item = $rss->getNextItem()))
{
$cached_output .= "<li><a href=\"".$item['link']."\">".$item['title']."</a><br />\n";
$cached_output .= $item['description']."</li>\n";
$max_items = $max_items - 1;
}
$cached_output .= "</ul>\n";
echo $this->ReturnSafeHTML($cached_output);

</code>

ANd yet I am still unhappy because the description seem to only show around 300 characters of each item. And not the full text. I tried playing both with rss and with onyx-rss but with no result. It might be a limit of xmp_parse() in php. Any suggestion would be appreciated,
Pietro
Comment by 141.35.111.192
2006-01-26 15:39:13
"If-Modified-Since" anyone?
I do a fair amount of rss embedding in my wiki. In fact you could say that I mainly use my wiki as an aggregator to which I add some extra stuff here and there. I have been asked by Joshua (maintainer of del.icio.us) if I could use the "If-Modified-Since" way of requesting the rss. To avoid using too much bandwidth uselesly. I would like to comply. But I don't know how. Before I immerse myself in web protocols and libraries that do it, and so on, is there anybody who had the same problem and found a way to change the rss reader to use the "If-Modified-Since" header. (To recapitulate, the 'if-modified-since' is a way in which the client requesting an rss feed sens along with the requested info on when was it received the last time. If in the meantime the feed has not been changed the reader only receives a: "not changed" message- this strategy drops the bandwidth use by many orders of magnitude).
Comment by PietroSperoni
2006-02-02 12:09:18
"If-Modified-Since" anyone?
I do a fair amount of rss embedding in my wiki. In fact you could say that I mainly use my wiki as an aggregator to which I add some extra stuff here and there. I have been asked by Joshua (maintainer of del.icio.us) if I could use the "If-Modified-Since" way of requesting the rss. To avoid using too much bandwidth uselesly. I would like to comply. But I don't know how. Before I immerse myself in web protocols and libraries that do it, and so on, is there anybody who had the same problem and found a way to change the rss reader to use the "If-Modified-Since" header. (To recapitulate, the 'if-modified-since' is a way in which the client requesting an rss feed sens along with the requested info on when was it received the last time. If in the meantime the feed has not been changed the reader only receives a: "not changed" message- this strategy drops the bandwidth use by many orders of magnitude).
Comment by 134.76.60.191
2006-02-03 08:13:01
Pietro, we have some problems with onyx-rss, the 3rdparty tool providing the support for feed-integration. Unfortunately it is not longer maintaned, so we'll switch to another tool in the future. At current you can take a look at the integration of magpie (http://wikkawiki.org/NewRSSAction) and look into their docs if they provide "If-Modified-Since".
Greets,
Nils (not logged in)
Comment by HztvrL
2007-02-17 15:28:38
hello! what i have to do if i'd like to disable rss? removing the rss.php action is enough? thanks.
Comment by DarTar
2007-02-18 04:29:59
HztvrL,

- to remove RSS autodiscovery you'll have to remove lines 20-26 from actions/header.php
- to make sure no one has access to your feeds you may want to remove the feed-related handlers, i.e. all files terminating in ".xml.php" and ".xml.mm.php" from the handlers/page folder.

In 1.1.7 it will be possible to disable feeds from the config file.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki