First time here? Check out the FAQ!
2

Is it possible to subscribe to a particular tag via email or rss feeds?

I would prefer the ability to have both.

mether's avatar
1.5k
mether
updated 2011-07-11 21:11:33 -0500, asked 2011-07-11 21:07:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I have asked @sayanchowdhury to look into this

mether's avatar mether (2011-08-28 05:35:02 -0500) edit

Very good, thank you.

Evgeny's avatar Evgeny (2011-08-28 09:02:58 -0500) edit
add a comment see more comments

2 Answers

1

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.

sayanchowdhury's avatar
53
sayanchowdhury
answered 2011-09-03 08:48:22 -0500
edit flag offensive 0 remove flag delete link

Comments

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.

Evgeny's avatar Evgeny (2011-09-03 08:54:40 -0500) edit

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

sayanchowdhury's avatar sayanchowdhury (2011-09-13 02:44:32 -0500) edit

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.

Evgeny's avatar Evgeny (2011-09-13 07:52:21 -0500) edit

while displaying the stream of answers and comments, the tag <p> gets converted to &lt;/p&gt;.

sayanchowdhury's avatar sayanchowdhury (2011-09-19 13:09:22 -0500) edit

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's avatar sayanchowdhury (2011-09-19 13:14:34 -0500) edit

@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.

Evgeny's avatar Evgeny (2011-09-20 22:39:02 -0500) edit

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.

Evgeny's avatar Evgeny (2011-09-20 22:40:16 -0500) edit

Sayan, thanks for looking into this btw, not the easiest task.

Evgeny's avatar Evgeny (2011-09-20 22:41:34 -0500) edit

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?

sayanchowdhury's avatar sayanchowdhury (2011-09-27 13:40:58 -0500) edit
add a comment see more comments
1

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?

Evgeny's avatar
13.2k
Evgeny
answered 2011-08-28 07:09:47 -0500
edit flag offensive 0 remove flag delete link

Comments

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.

mether's avatar mether (2011-08-29 00:16:49 -0500) edit
1

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.

Evgeny's avatar Evgeny (2011-08-29 00:20:55 -0500) edit
1

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.

mether's avatar mether (2011-08-29 01:36:01 -0500) edit

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.

drpoovilleorg's avatar drpoovilleorg (2011-12-13 05:34:18 -0500) edit

Yup, seems to work for me. Sweet!

drpoovilleorg's avatar drpoovilleorg (2011-12-13 06:45:49 -0500) edit
add a comment see more comments