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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Jtrain's avatar
293
Jtrain
asked 12 years ago, updated 12 years ago

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 (12 years ago)
Jtrain's avatar Jtrain (12 years ago)
see more comments

1 Answer

1

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Jtrain's avatar
293
Jtrain
answered 12 years ago
link

Comments

see more comments