Ask Your Question
1

feeds/rss path not appended to askboturl

asked 2012-06-29 04:37:37 -0500

Jtrain gravatar image

updated 2012-06-29 08:15:28 -0500

Google just hit our site and all the 404 errors (which turned into 500 errors for another reason) got me digging into the problem....

We serve our askbot instance from a subdirectory url (like /forum/questions instead of /questions)

The correct setting for that is

ASKBOT_URL = 'forum/'

And this works well for all of the urls except the feeds url. The feeds url seems to be hardcoded to /feeds/rss in our installation.

I can see in the askbot/skins/default/templates/main_page/tab_bar.html (link) that there is a conditional that says {{ feeds_url }} while other links use the {% url namehere %} approach

edit retag flag offensive close merge delete

Comments

I put a pull request on github for it. I don't know Askbot as well as you do, hopefully you can make sense of whether it changes the original intention for the {{ feeds_url }} variable.

Jtrain gravatar imageJtrain ( 2012-06-29 05:12:28 -0500 )edit
Jtrain gravatar imageJtrain ( 2012-06-29 08:15:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-06-29 08:16:07 -0500

Jtrain gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-29 04:37:37 -0500

Seen: 127 times

Last updated: Jun 29 '12