First time here? Check out the FAQ!
1

feeds/rss path not appended to askboturl

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

Jtrain's avatar
293
Jtrain
asked 2012-06-29 04:37:37 -0500, updated 2012-06-29 08:15:28 -0500
edit flag offensive 0 remove flag 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's avatar Jtrain (2012-06-29 05:12:28 -0500) edit
Jtrain's avatar Jtrain (2012-06-29 08:15:02 -0500) edit
add a comment see more comments

1 Answer

1
Jtrain's avatar
293
Jtrain
answered 2012-06-29 08:16:07 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments