This project is read-only.

Does need its own page?

Jan 10, 2008 at 10:19 PM
I'm just trying to figure out if can be implemented into an existing page on my website layout or if it has to be installed onto its own page only. Any response would be appreciated!
Jan 11, 2008 at 12:05 AM
You may be able to get away with making run in an IFrame within your page but I think it is meant to be stand alone.
Jan 11, 2008 at 11:57 AM
Edited Jan 15, 2008 at 3:35 PM
No, BlogEngine.NET does not require its own (default.aspx) page, just the code behind .cs file.
Yes, you can integrate BlogEngine.NET into an existing site.

Several options you might try:

  1. Replace BlogEngine's default.aspx with your existing page and use blog.aspx for integration purposes, e.g.:
    1. IFrame workaround as Ivildosola pointed out
    2. Screen scraping techniques (still quick & dirty)
    3. Streaming the RSS feed items (more elegant)
  2. Transform your current website layout into a BE.NET theme, then:
    1. Add a BlogEngine page with your homepage content
    2. Set this page as FrontPage via the admin interface
    3. Link to blog.aspx to serve your visitors the blog posts
  3. Create your very own page and inherit from BlogEngine:

<%@ Import Namespace="BlogEngine.Core" %>
<%@ Page Language="VB or C#" Title="Your Own Cool Page" Inherits="BlogEngine.Core.Web.Controls.BlogBasePage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphBody" Runat="Server">
<h1>Your Own Page</h1>
<p>Inheriting the cool layout and benefits from BlogEngine.NET

Hope this helps and good luck!