Ask Your Question
2

Title change should not change urls and RSS guid

asked 2011-01-18 00:27:21 -0600

graeme gravatar image

updated 2011-03-01 09:30:12 -0600

Benoit gravatar image

If a question title is changed the url changes, as does the RSS guid (which uses the URL).

The URL change could break links. The guid change causes some feed readers to repeat the item.

edit retag flag offensive close merge delete

Comments

hmm, will read more about rss. the only thing I can say now, if the question slug in the request does not match the current one, there will be a redirect, using the id of the question (which is a part of the urls) - to the correct url.
Evgeny gravatar imageEvgeny ( 2011-01-18 00:44:12 -0600 )edit
To clarify, if you change the title the guid changes, so the feed reader thinks its a new question, so displays it again. Simple fix would be to use the question id as the guid (the feed will only ever contain questions, right?).
graeme gravatar imagegraeme ( 2011-01-19 02:18:09 -0600 )edit
I see now, thanks. Yes right now there is only question feed, but adding an extra key will not hurt. I will add this fix to the next release, the latest - on Friday this week.
Evgeny gravatar imageEvgeny ( 2011-01-19 02:25:52 -0600 )edit
Just in case you did not notice you should make isPermaLink attribute is set false http://cyber.law.harvard.edu/rss/rss.html#ltguidgtSubelementOfLtitemgt Not sure how if Django feeed framework does this when yopu probide a guid that is not link
graeme gravatar imagegraeme ( 2011-01-21 00:56:28 -0600 )edit
Sorry, missed your comment, which points to an improvement that can be made to the notifications. The url that is used in the guid actually can be used to access the resource, an in that respect it can serve the purpose of a permalink. It will be redirected to a url with a slug though... Should be fine as is I think - no?..
Evgeny gravatar imageEvgeny ( 2011-01-25 22:24:28 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-01-21 19:11:22 -0600

Evgeny gravatar image

The item guid now is the question url without the slug. Does this fix the issue?

edit flag offensive delete link more

Comments

1
Looks OK: the feed reader in which I noticed the issue works fine with the feed now. You might consider an option to remove the slug from urls: IMAO it just makes urls longer for a dubious SEO benefit.
graeme gravatar imagegraeme ( 2011-01-23 06:01:39 -0600 )edit

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: 2011-01-18 00:27:21 -0600

Seen: 219 times

Last updated: Jan 21 '11