Closed (fixed)
Project:
Admin RSS
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Jan 2007 at 21:25 UTC
Updated:
20 Apr 2007 at 08:25 UTC
Hi,
I've adapted the module for 5.0. Could you check it and, if possible, branch the module for Drupal 5 so we can have a D5 branch ?
Since this is so small, I'm attaching a tarball of the whole 5.0 module version, ready to be installed and tested.
| Comment | File | Size | Author |
|---|---|---|---|
| adminrss.tar | 11 KB | fgm |
Comments
Comment #1
Yazz commentedAppears to install fine but nothing appears in the feeds it creates. Is it suppose to be able to show a feed if someone submits a new story node or page node?
Comment #2
fgmNote that you must first set it up with a password and use the specific RSS URL containing the password to see anything.
Comment #3
simbot commentedI think by default the key should be a long random string, so in adminrss_admin_settings() I've added:
$key = variable_get('adminrss_key', '');
if ($key == ''){
$key = md5(uniqid(rand(), true));
variable_set('adminrss_key', $key);
}
This should be quite secure as a default.
Comment #4
fgmThe problem becomes: if it's random, how does the webmaster know what the key is ? Without knowledge of the key, the module is useless, IMHO.
Note that you didn't submit a patch, so maybe I'm missing something here.
Comment #5
simbot commentedTrue, the admin still has to go to the module to get the feed URLs. but giving a secure default I think is a good idea.
I've applied your patch, and mine to CVS.