Is it possible to subscribe to a particular tag via email or rss feeds?
I would prefer the ability to have both.
I would prefer the ability to have both.
For subscribing to a particular tag via RSS feed, I added a class 'ParticularTag' in the askbot/models/tag.py but could not access it in feed.py file.
It is not necessary to modify models for this feature - you just need to pull out questions matching the tag - no need to modify file askbot/models/tags.py for that.
For the particular tag feature where should i place the rss feed link in the tag page, also what if the user chooses two or more tags, for which tag should i display the rss feed
Maybe add rss links to the /tags page, right after each tag, but show them only on mouseover of a particular tag - this is probably the easiest.
while displaying the stream of answers and comments, the tag <p> gets converted to </p>.
For displaying the stream of comments and answers. I am using itertools for this, but i want to display like this link:http://stackoverflow.com/feeds/question/510410, but how to define the title for three different models?
@sayanchowdhury sorry for the delay answering. On posts (of any kind) you can call .get_origin_post()
to get the question and then obtain the title thereof. You don't want to call this method for each post because it is not efficient. I think that the way models are designed - all in separate models may be a deficiency, but clean rewrite won't be easy/quick.
re: conversion of tags to html entities - do you see that as a problem somewhere? html which is a content of xml nodes must be escaped, so that it does not break the xml structure.
Sayan, thanks for looking into this btw, not the easiest task.
Whenever I am running the django server i am getting a warning: UserWarning: Cannot translate loader: askbot.skins.loaders.loadtemplatesource warnings.warn('Cannot translate loader: %s' % loader) but every thing works fine.Is something going wrong?
We are not using that loader, so warning is harmless, but we should find a way to silence this message.
I wanted to know that where should i create the popup bubble for rss feed of tags? Should i place it wherever there is a tag icon or just on the tag page.Also, @Evgeny i have sent out a pull request for the rss feed of particular question and also changed the description of the question that appears on the rss feed page.Please comment:- https://github.com/ASKBOT/askbot-devel/pull/19
Email subscription for tags already exist, please take a look at options in the "subscriptions" feature. RSS feeds for the tags do not exist yet.
The "interesting tags" are basically "followed tags" - maybe we should renamed accordingly. With the current setup there are lists of followed and "ignored" tags and the user can either obtain email feed with followed tags or for the entire forum but have questions with "ignored" tags excluded from the feed. - Does this work?
It works but the UI could be improved. When you click on a tag, I would like to see a description of the tag upfront and the ability to subscribe to the tag in the same page. The subscription tab isn't a very visible UI.
That's one part - the lack of ability to add tag to one of the lists - can be fixed with js, but another thing is that you have all or nothing approach for tag based email subscriptions. You either receive updates about all interesting tags or not, there is no way to selectively subscribe for the email updates per tag - this feature can be developed.
Yeah. I think for the purposes of Fedora, what we really need is the ability to selectively follow one tag. For instance, I can ask the KDE developers to subscribe to the KDE tag and they can ignore the rest of the questions. This is a key thing in any expert system. Everyone specializes in what they learn after some point and a generic ability to subscribe to a bunch of tags isn't as useful.
I'd like to be able to 'subscribe' to tags too so i'm notified by mail when posts are created/updated that also contain specific tags. I'll test the 'interesting tags' to see if this is what i'm looking for, which it seems it should be.
Yup, seems to work for me. Sweet!
To enter a block of code:
Comments
I have asked @sayanchowdhury to look into this
Very good, thank you.