Here is a simple FeedBurner Syndication Widget for BlogEngine.NET
Here is the "Very" Simple Code :)
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Specialized;
public partial class widgets_Syndication_widget : WidgetBase
{
public override string Name
{
get { return "Syndication"; }
}
public override bool IsEditable
{
get { return true; }
}
public override void LoadWidget()
{
StringDictionary settings = GetSettings();
String contents = String.Empty;
if (settings.ContainsKey("Contents"))
{
contents = settings["Contents"];
}
this.ltContents.Text = contents;
}
}
To Install it download and extract the file at the end of this post and copy the Syndication directory to ~/widgets of your BlogEngine.NET web site.
The Add it to your SideBar and Copy/Paste your FeedBurner Button Link as the Following Sample :
To Install it download and extract the file at the end of this post and copy the Syndication directory to ~/widgets of your BlogEngine.NET web site.
The Add it to your SideBar and Copy/Paste your FeedBurner Button Link as the Following Sample :
<br/>Syndication.rar
<p style="text-align: center">
<a href="http://feeds.feedburner.com/sb2/JSrW">
<img style="border-style: initial; border-color: initial; border-width: 0px"
src="http://feeds.feedburner.com/[YOURFEED]?bg=FF66300&fg=444444&anim=1" alt="" width="88" height="26" />
a>
p>
more
No comments:
Post a Comment