Ask Your Question
1

feeds/rss path not appended to askboturl

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

Jtrain gravatar image Jtrain flag of Germany
283 4 4 16

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

delete close flag offensive retag edit

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 ( 2012-06-29 05:12:28 -0500 )edit

Never mind, I found a fix for it in trunk now https://github.com/ASKBOT/askbot-devel/commit/fabf920337849c83107df3817ae1c350c41fd414

Jtrain ( 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 Jtrain flag of Germany
283 4 4 16

I found a fix for it in trunk. https://github.com/ASKBOT/askbot-devel/commit/fabf920337849c83107df3817ae1c350c41fd414

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 33 times

Last updated: Jun 29 '12