MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

enable rss feeds in monox blogs  (Mono Support )

Viewed 79834 time(s), 14 post(s) 9/26/2011 10:57:31 AMby anil
anil

anil

9/26/2011 10:57:31 AM
hi,
i have done this-->web.config appSetting called MonoXRssIsTurnedOn set to true.
and anything more to do with web.config plzz tell me..
or plzz tell me the solution of enabling the rss feeds in monox blog..

This content has not been rated yet. 
40 Reputation 5 Total posts
denis

denis

9/26/2011 2:11:08 PM
RSS feed is by default enabled in MonoX. For example, on our demo MonOX site, it can be accessed at the following URL:
http://monox.mono-software.com/blog/posts/MonoX/?MonoXRssFeed=MonoX
RSS links are embedded in the header of the page, with support for RSS "autodscover" feature. You can find all embedded links easily (for example, on IE 9 click Tools - Feed discovery).
Rated 5.00, 1 vote(s). 
7207 Reputation 956 Total posts
anil

anil

9/28/2011 6:19:30 AM
hi denis.
thanks for helping me..denis plzz tell me the rss feed url and where that page is stored in source code..tell me step by step what steps i have to follow to use the feature of rss feeds..
This content has not been rated yet. 
40 Reputation 5 Total posts
denis

denis

9/27/2011 9:21:09 AM
There is no static RSS page in the code. RSS feed is dynamically generated by Web parts that implement the IRssWebPart interface. The actual generation process takes place in the MonoSoftware.MonoX.RssEngine.RssEngine class.
Could you let me know what exactly you nmeed to do?
Rated 5.00, 1 vote(s). 
7207 Reputation 956 Total posts
anil

anil

9/27/2011 9:30:39 AM
thnx denis..i have succeded in my task..now i am able to use the rss feeds.
2 more query denis..can rss feeds be applied for particular post or blog and can i apply rss feeds for discussions and if i can what will be the url plzz help me...
This content has not been rated yet. 
40 Reputation 5 Total posts
denis

denis

9/27/2011 9:39:31 AM

By default, an RSS feed is present in parts that display a list of changing items (blog posts, discussion topics, etc.), and not on the individual items (single blog post). You can always find such links by looking in the header of the page and searching for a link (or multiple links) of the following format

<link rel='alternate' type='application/rss+xml' ...

For example, this page holds a RSS feed containing messages that we exchanged in this topic and that you could subscribe to.

Rated 5.00, 1 vote(s). 
7207 Reputation 956 Total posts
anil

anil

9/27/2011 9:56:04 AM
thnku so much denis..can u help me plzz if i posted a post on blog and that post can be seen only by my friends not by any other person..how can i do this..tell me plzz..
This content has not been rated yet. 
40 Reputation 5 Total posts
denis

denis

9/27/2011 2:35:24 PM
Not by default. It could be implemented with a few lines of custom code, where you could use the GetFriends() method in the MonoSoftware.MonoX.Repositories.FriendRepository by passing it the user ID of the blog post author, and than checking if the currently active user (SecurityUtility.GetUserId()) is present in the it - if not, the request woule be redirected to your custom message page, informing the user that it hasn't got the access to that particular post.
This content has not been rated yet. 
7207 Reputation 956 Total posts
anilarora

anilarora

10/3/2011 10:39:04 AM
thnx denis for guiding me but 1 more query denis...privacy box which is used in user profile page to just show the status according to the option selected like private,public or friends...
denis plzz help me how can i use it with blogs that when i posts the blog it will just shown to the option selected from the privacy box i.e. only to friends or any other option selected...
This content has not been rated yet. 
25 Reputation 5 Total posts
denis

denis

10/3/2011 12:06:22 PM
This is a more complicated scenario, in which you would have to change the structure of the BlogPost table to include the PrivacyLevelId (a foreign key linked to the primary key in the PrivacyLevel table). Let me know if you have the source code of MonoX, so we could guide you through the process.
I will put this topic on a "todo" list for our future tutorial blog posts.
This content has not been rated yet. 
7207 Reputation 956 Total posts
1 2