YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Customizing RSS feed output
kraigb
#1 Posted : Wednesday, September 02, 2009 10:16:56 PM
Rank: Newbie

Medals:

Joined: 9/2/2009
Posts: 2
Points: 6

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
In the last couple of days I've installed blogengine.net and am happily up and running. I'm trying now to customize certain aspects of the RSS feeds and have a couple of questions.

First, the URL for a specific category feed looks like http://www.kraigbrocksch...4b4b-9081-6a9ee2c77369. Is there any way to use a friendlier category name? Every other feed URL I've seen doens't use a GUID but uses just a short text category name instead.

Second, when I go to that URL, the title in the feed is the same as the Name in the basic settings for the blog. Where can I insert a different string than that name?

Third, I subscribed to my own feed in Outlook to see how things appear. The feed posts, however, come from "kraig.nospam@nospam.kraigbrockschmidt.com (kraigb)"--how do I control what appears here so it's a friendlier string?

Thanks

.Kraig
Sponsor  
 
kraigb
#2 Posted : Friday, September 04, 2009 10:16:48 PM
Rank: Newbie

Medals:

Joined: 9/2/2009
Posts: 2
Points: 6

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
For the nospam issue, looks like this requires edits to the source code. Andre Loker has some info on this (http://blog.andreloker.de/post/2008/07/09/Things-to-note-when-upgrading-to-BlogEngineNET-14.aspx) which worked. In my case (in the 1.4.5 source code) I changed like 554 in SyndicationGenerator.cs to:

writer.WriteElementString("author", BlogSettings.Instance.AuthorName);

which gives a much friendlier appearance to the RSS feed. The title is set on line 407.

To change the GUID in the category would require more extensive changes, it seems, so I'm still wondering if there's an easier way.
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC1 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.049 seconds.