Add Author Name in the blog post and RSS Feed

Topics: Writing modules
Nov 26, 2012 at 10:15 AM

I need to add ability in the blog where my user can select the author from the user list when creating blog post . Its bit of easy task which only needs to add a custom part int he blog content type. What I also want is to expose the author name in the rss feed. How can I do this withtout changing in the Blog Module

 

thanx

Coordinator
Nov 26, 2012 at 9:34 PM

It should already be there. That should be taken from the owner property.

Nov 27, 2012 at 6:37 AM

<rss version="2.0">
<channel>
<title>Yousafi Blog</title>
<link>http://beta.Yousafi.org:80/yousafi-blog</link>
<description>Yousafi Blog</description>
<item>
<title>Kaden Meets Doc and Special</title>
<link>
http://beta.Yousafi.org:80/yousafi-blog/kaden-meets-doc-and-special
</link>
<description>
<p>I helped Chad with a photography shoot this weekend in Kinston. We had a great time. My friend Becky, along with a friend of hers, hired us to take portraits of them with their beautiful four-legged friends. It was our first time photographing horses, and I think it went really well. Some of the pictures turned out fantastically, like this portrait of Doc: Isn't he beautiful? I had this sudden urge to take riding lessons and buy Kaden a horse for Christmas. Luckily the budget won't allow for such impulsive shenanigans. Kadester stayed with his Gigi and Poppy during the photo session, but afterwards we went and picked him up, so he could meet Doc and Special for a few minutes (and get a good look at the cows and donkey that also live there). He wasn't so sure about them while we were there, but he talked about them a lot later. When Chad loaded all of the photos onto the computer today, he was super excited to see the "horsies!" I guess he had a good time after all.</p>
</description>
<pubDate>Thu, 18 Oct 2012 00:30:00 GMT</pubDate>
<guid isPermaLink="true">
http://beta.Yousafi.org:80/yousafi-blog/kaden-meets-doc-and-special
</guid>
</item>
</channel>
</rss>
This is what I am receiving in rss feed. There is no author/owner name in the feed. Just to clarify, I need author name for each post. Also what about if my user wants to post on behalf of another user.  Can I hook into the RSS Feed generator

Coordinator
Nov 27, 2012 at 7:50 AM

Yes you can plug into it, but I would still file a bug for that.

This is an old post, but it remains pretty accurate: http://weblogs.asp.net/bleroy/archive/2010/04/07/rss-feeds-in-orchard.aspx