Nice work
Could be interesting to share you method.
I'm thinking about releasing something based on magpie, to add an additional level of feed caching in case you start to export you rss feeds on many domains, could help out.
Anyway, the idea behind outputting the forum link as first link in forum feeds, and the forum index link in general ones was in the end, to make sure we'd have it on feed eventually aggregated on blogs or other type of websites.
This to keep a link to the top level source.
In your case, you're using them on your web site it seems. Is it this much of a big deal to link to the forum from here ?
Anyway, I think I could somehow make this first link activable in acp, to let user chose what they want, even though I still think this links is useful both for seo and users, as it's the top source link.
To get rid of it on the general feeds, just open mx_ggsitemaps/includes/ggs_functions.php and comment these two line of code :
- Code: Select all
$this->output_data['data'] .= sprintf($this->style_config['rss_tpl'], $chan_title_gen, $this->path_config['root_url'], $chan_time, $chan_desc_gen, $rss_gen_url, htmlspecialchars($this->rss_config['sitename']), $this->path_config['root_url']);
$this->output_data['url_sofar']++;
Then, if you want to do the same for forum feeds, open rss_forum.php from the same folder and comment out :
- Code: Select all
$this->output_data['data'] .= sprintf($this->style_config['rss_tpl'], htmlspecialchars($board_config['sitename']), $this->path_config['phpbb_url'], $chan_time, $chan_desc, $rss_url, $chan_title, $this->path_config['phpbb_url']);
$this->output_data['url_sofar']++;
Should be enough for what you want.
++