Hello,
[...] (is there such a thing as authenticated RSS?) [...]
RSS is a XML-File, which you gets from an (standard) Webserver. I think you can use the PHP authenticating method:
<?php header("WWW-Authenticate: Basic realm="Roundcube Mail RSS-Feed""); header("HTTP/1.1 401 Unauthorized"); # send authentication Request
if($PHP_AUTH_USER=="USERNAME" && $PHP_AUTH_PW=="Password") # check if username and Password matches {
# create RSS newsfeed
}
else
{
# nothing
}
Therfore you need Apache and PHP as module included into Apache.
Christian Debertshäuser
There is ofcourse no way I will be sending my username and password everytime I retrieve a RSS feed. Therefore; my original proposal was as follows: send the sessionID while retrieving the RSS; so RC can simply use that session for retrieving the RSS feed. Implementing another authentication methode makes the RSS thing too stand-alone to be useful for RC
On Wed, 04 Jan 2006 20:13:44 +0100, Christian Debertshäuser christian.debertshaeuser@onlinehome.de wrote:
Hello,
[...] (is there such a thing as authenticated RSS?) [...]
RSS is a XML-File, which you gets from an (standard) Webserver. I think you can use the PHP authenticating method:
<?php header("WWW-Authenticate: Basic realm="Roundcube Mail RSS-Feed""); header("HTTP/1.1 401 Unauthorized"); # send authentication Request
if($PHP_AUTH_USER=="USERNAME" && $PHP_AUTH_PW=="Password") # check if username and Password matches {
# create RSS newsfeed
}
else
{
# nothing
}
Therfore you need Apache and PHP as module included into Apache.
Christian Debertshäuser