Mantis Logo
Mantis Manual
Manual
Page Descriptions

Login page
Main page
View Bugs page
Bug View Simple page
Bug View Advanced page
Bug Change Status page
Bug Update Simple page
Bug Update Advanced page
My Account Page
System Management Pages
Monitor Bug
Reopen Bug
Delete Bug
Close Bug
Assign to Me
Resolve Bug
News Syndication


Partner Links


News Syndication
Last Modified: April 27, 2006 20:04PM
(0.18.2)
Description

News syndication was added in Mantis 0.18.2. The syndication is done using the RSS v2.0 protocol.

Up until Mantis 1.0.x releases, the news syndication were only available for:
  • Public Projects
  • Installations with anonymous access

If the above two conditions are not satisfied, then an "Access Denied" message will be prompted.

In Mantis 1.1, support for authenticated news feeds was added. Authenticated feeds takes a user name and a key token that are used to authenticate the user and generate the feed results in the context of the user's access rights (i.e. the same as what the user would see if they were to logged into Mantis).

To get access to the News RSS as anonymous user, visit the following page:
 http://www.example.com/mantis/news_rss.php 

While a user is logged in, the RSS links provided in the UI will always provide links to the authenticated feeds, if no user is logged in (i.e. anonymous), then anonymous links will be provided.

User Contributed Notes
News Syndication
Add Notes About Notes
mayevski@eldos.org
26-Oct-2004 7:28
#246
It's not clear what News Syndication provides - information about project changes (bug reports/changs in bug status) or news items which are posted using Edit News interface.
How can you set up anonymous access?
04-Nov-2004 14:39
#256
I looked into the docs and found nothing so far beyond allowing users to submit anonymous issues.
intrepid711@juno.com
11-Apr-2005 23:12
#405
What is not said, in plain english, is how to turn on the news syndication...

Go and edit the config_defaults_inc.php file and alter the following:

# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';

to read

# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = '';

Now go check your RSS link and you'll have the news feed working...

Jon
skozombie@SPAMMINGISSTUPID.kruel.org
14-Jun-2005 9:57
#468
I would find it handy if RSS feeds were able to be syndicated anonymously, as there is no way I'm allowing anonymous reporting of issues.

News (that is marked public) for our use, isn't anything we're afraid for the public to see.

Feel free to email me for clarifaction/ further details.
ut@NOSPAMdekoder.de
05-Dec-2005 6:35
#744
I agree to Skozombie. It would be comfortable, to configure RSS output (allow/deny public access) separately.
mattfast1 (at) gmail
13-Mar-2006 21:41
#936
You don't have to allow anonymous reporting of issues - just set the anonymous account to a dummy account (I use anonymous) - then set up that account so it only has "viewer" access. In that way, you have a system where anonymous users can view the issues and news, but cannot do anything else.
djpnewton@@@gmail.com
27-Apr-2006 17:49
#1028
you can also do like this

$g_anonymous_account = '';

and the anonymous user wont work anyway (but rss still will)
personne@nullepart.com
05-May-2006 4:34
#1057
With anonymous_login = ON the News RSS works but the Filters RSS still return errors.
ashkulz@com.rediffmail
09-May-2006 8:13
#1060
To get Filters RSS to work with the anonymous account, set

$g_stored_query_use_threshold = VIEWER;

in the configuration.
neopale
17-May-2006 10:50
#1074
We still have error with Filters RSS, (anonymous ON and $g_stored_query_use_threshold = VIEWER; )

?????
 
sunit.mathur@keane.com
30-May-2006 10:28
#1101
I am trying to set up a manitis RSS Feed so that I can put the top 3 issues on my team home page, but all i get is this:

http://192.168.20.91/mantis/ [^]" target="_self">Mantis - NEWS
Mantis - NEWS

I've enabled anonymous access and that solved my 'access denied' issue.

Please advise.

Thanks
Sunit.
matt@NOSPAMbargolf.net
02-Jun-2006 8:04
#1112
Two things,

One, RSS feed of issues
Sunit - Your top 3 issues RSS isn't going to be from the [RSS] link on the front page. That's just 'News' not issues. You probably want something like http://<servername>/mantis/issues_rss.php. This will show you all issues though. If you want a filtered list then see below.

Two, RSS feed of an issues filter
Remember that the RSS feed is generated as an anonymous user. This means the filter you use must be available to the anonymous users. Probably the easiest way to do this is to logon as a manager or an administrator*. Define a filter (make sure you have applied the filter), and save the filter, give it a name and tick the 'public' checkbox. Now from manage filters page you'll be able to get the RSS link for the filter.

* I believe the default configuration is that only managers and admins can create public filters
gerhard@ashleyassociates.co.jp
29-Jun-2006 6:08
#1159
Whenever I'm trying to access http://www.foobar.com/issues_rss.php on my server, I get a proper RSS list which, however, includes the following errors on top:

APPLICATION WARNING #user_get_field() for NO_USER:
APPLICATION WARNING #user_get_field() for NO_USER:

SYSTEM WARNING: Cannot modify header information - headers already sent by (output started at /usr/www/domains/bugs.php.live/docs/core/error_api.php:144)

===

I'm using version 1.0.3.
My configuration:

# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = '';

Any clue?
sparr0@gmail.com
11-Jul-2006 10:55
#1187
I just disabled error reporting (brute force, added a 'return;' to the top of the error handler), problem solved.
pierre@sdc
26-Jul-2006 16:18
#1201
Hi.

you have the :
APPLICATION WARNING #user_get_field() for NO_USER:
error just because you specified
$g_anonymous_account = '';
please fill g_anonymous_account with an existing account and there will be no more error.

This RSS NEWSfeed based on filters are just too great!
Thank you Mantis.
ploufs@hotmail.com
04-Aug-2006 8:32
#1214
When support rss feed with login info ?
robin.maltete@saint-gobain.com
08-Dec-2006 11:29
#1316
i am using version 1.06 and RSS is not working any way (filter, anonymous acces, etc.)

is there any issue about this ?
Add Notes About Notes
Last updated: Wed, 23 Jul 2008 - 15:39:54

Mantis @ SourceForge