26/04/05
RSS Feeds in Mantis 1.0.0a2 |
In Mantis 0.18.2 (#3548), the support for RSS has been added. However, it was only added for syndicating news. Following are the rules for the news rss feed to work:
1. Use http://www.example.com/mantis/news_rss.php to get the news feed for news for "All Projects".
2. Use http://www.example.com/mantis/news_rss.php?project_id=1 to get the news feed for news for project with id = 1.
3. If a specific project is selected, then the project must not be a private project.
4. Anonymous login must be enabled.
5. Private news will not be published in the RSS.
6. The generated RSS is RSS v2.0.
In Mantis 0.19.1 (#4758), support for auto-discovery for the RSS feeds on Mantis pages was implemented. This allows news aggregators to know about the RSS feeds associated with a given web page.
In Mantis 1.0.0a2 (#5502), support was added to syndicate RSS v2.0 files for Mantis issues. These feeds will syndicate the latest updated (or reported) 25 issues for all projects or for a specific project. The reported issues can be private or can belong to private projects, given that the issues are visible to the anonymous user and that anonymous login is enabled. This is different from the rules that are used in the news syndication which doesn't syndicate any private news or news relating to private projects, even if such information is accessible to the anonymous user. The difference is not usually a problem, since it is not normal for anonymous users to have access to private projects/issues/news.
To access this new feed:
- For all projects: http://www.example.com/mantis/issues_rss.php.
- For a specific project: http://www.example.com/mantis/issues_rss.php?project_id=1.
So this is what has been implemented so far, with regards to what is planned for the future, following is a brief summary:
1. Add a feed for issue notes.
2. Support feeds that are based on a saved filter.
3. Change the news feed to follow the same rules as the issues feed with regards to showing what is accessible to anonymous user, independent of whether the news is private or not or whether they belong to private project or not.
4. Support feeds for views in the "My View" page.
5. Support feeds for a specific issue (if people found this to be a useful alternative to monitoring an issue).
6. Support feeds that require authentication (i.e. for information that is not available to anonymous user).
I would like to get as much feedback on this topic as possible. Do you find these feeds useful? Which ones you would like to have first? Ideas about supporting feeds that require authentication, and whatever else you find relevant.
Comments:
1. I don't find feeds for notes all that helpful.
2. Feeds for a specific filter are extremely helpful as it gives you basically the ability to do a custom feed based on any criteria!
3. Not sure.
4. My page feeds... not all that useful for me but in general I think this could be quite useful for the individual developer.
5. I don't think specific issues need a feed really, monitoring does the job.
6. Authenticated feeds would be pretty useful as well. I would put this as very useful but below the other feed related requests
What would be most helpful to me is a feed for each category in a specific project. We are running software we would like to tie in to Mantis to show all open issues for each category.
For example, we have a page about "Widget A" in our system, and we'd like to be able to pull a feed of the issues related to "Widget A" from Mantis. Likewise, we have a page for "Widget B" and we'd like to pull the issues related to it from Mantis. We have several widgets and they are all part of the same project.
Is that clear? I'm not sure my need is something others would need too, we'll see. But if so and you need more feedback or detail, please let me know. The customized feeds based on saved filters seems like it would take care of this need, as well as several others.
Thanks for your continued development of Mantis. It's fantastic.
Where is that set?
Use the following configuration options to enable anonymous login:
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'anonymous';
You will need to have a valid and enabled Mantis user with name 'anonymous'. The access rights of the anonymous users will be the same as that of this account.
Checkout the following post for more details.
For authenticated access, have you considered generating a unique key per authenticated user - the RSS feed is then called as ?project_id=1/user=auth_token
The user can request a token regeneration at any point, in case they feel it was compromised. Paranoid admins can use SSL to protect this token even more.
thx a lot for this great tool !
I am calling on you because my hoster reported that the index.php was taking 28% of our mutualized server, and it sounds enorneous to me... we have very few users connected to this coporate tool. Have you heard about a previous issue? what can i do to tune it?
Sanks for your help
Cheers'
NHL
Comments are closed for this post.