03/06/05
RSS Feeds in Mantis 1.0.0a3 |
In addition to the RSS support in Mantis 1.0.0a2, there has been several bug fixes related to broken RSS feeds that are caused by certain data sets. Also there has been a couple of new features including RSS feeds that are sorted by submit date, and RSS feeds that are based on filters. This post will explain how the new features can be used.
Following are some example URLs that should clarify the parameters that are expected on the URL and how they affect the feed contents:
- To get the last submitted 25 issues:
http://bugs.mantisbt.org/issues_rss.php?sort=submit - To get the last updated 25 issues:
http://bugs.mantisbt.org/issues_rss.php?sort=update - To get the last submitted 25 issues for project id 1:
http://bugs.mantisbt.org/issues_rss.php?project_id=1&sort=submit - To get the last updated 25 issues for project id 1:
http://bugs.mantisbt.org/issues_rss.php?project_id=1&sort=update - To get the issues based on project id 1 and filter id 1
http://bugs.mantisbt.org/issues_rss.php?project_id=1&filter_id=1
The best way to get the link for a specific project/filter combination is to do the following:
- Create the filter
- Make sure it is public and is applicable to the project you want to use it with.
- Make sure that the anonymous user has access to the filter.
- Select the project you want the filter to work on, or select "All Projects" if you want it to work on all projects.
- Go to the View Issues page.
- Select "Manage Filters".
- Right click on the "RSS" icon next to the filter you want to subscribe to, and select "Copy Link Location".
- Select "Add Feed" in your RSS reader or aggregator and paste the link from the clipboard.
In the case where you are not using filter based feeds and you want to subscribe to issues related to a certain project, you can get the project id as follows:
- Click the "Manage" menu option.
- Click "Manage Projects".
- Click on the project that you want to get the project id for.
- Read the project id from the url. The format of the URL should look as follows: http://bugs.mantisbt.org/manage_proj_edit_page.php?project_id=1.
Comments:
Right click on the "RSS" icon next to the filter you want to subscribe to, and select "Copy Link Location".
[/Quote]
I dont have this link, and im using the latest version. Do I need to activate this somhow?
By the way: Thank you for a great product :)
But now i get "Access Denied." error, but im logged in as administrator :( Any help for that one?
APPLICATION WARNING #user_get_field() for NO_USER:
Access Denied.
[ Click here to proceed ]
I set the filter to be specific to a project, but to be "public".
Any ideas?
APPLICATION WARNING #user_get_field() for NO_USER:
(repeated 18 times)
SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/mantis/core/error_api.php:144)
Then, the RSS file begins as expected, for all projects.
I just set that to "anonymous", and created a new user with username "anonymous" and "viewer" rights.
Now it works like a charm!
Sorry for the comment noise. Might be worth mentioning in the docs, though...
Comments are closed for this post.