I missed probably one step to activate the RSS Feeds and no doc about this part of the configuration.
Hi,
In urls.py I add:
1) According to feed.py :
from askbot.feed import RssLastestQuestionsFeed, RssIndividualQuestionFeed
2) The feeds dictionnary :
feeds = {
'rss': RssLastestQuestionsFeed,
'question':RssIndividualQuestionFeed
}
3) The pattern :
url(
r'^feeds/(?P<url>.*)/$',
'django.contrib.syndication.views.feed',
{'feed_dict': feeds},
name='feeds'
),
After restarting apache, the RSS link is always /feeds/rss/? and the feeds are inactives.
Any idea ?
Ok, finally no problem : the site is under construction and protected by htaccess (the feed is unreachable).
To detect the error I used : http://feedvalidator.org which indicates clearly the nature of the error.
Tristan, the feeds are in the askbot/urls.py, so if you have 'askbot.urls' included in your urls.py you should have the feeds automatically.
If feed urls don't work that means you've changed something in your urls module. The defalut urls.py can be found in askbot/setup_templates.
I've just tested latest version - the feed urls work fine. On the hosted site we have the latest version too and the feeds work. Maybe you are missing migrations, or your INSTALLED_APPS is missing the feeds application. The sample settings file is also available in the askbot/setup_templates directory.
I followed the doc for the deployment and i made the <code>manage.py migrate askbot</code> and <code>manage.py migrate django_authopenid</code>. What is the name of teh app for INSTALLED_APPS? I see nothing named *feed and my INSTALLED_APPS has the same value as the original...
tristan ( 2012-04-29 14:34:25 -0500 )editCreate your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-04-29 13:18:29 -0500
Seen: 113 times
Last updated: Apr 30 '12
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.