CommunityServer 2008.5 wiki sitemap fix

by Administrator 16. October 2008 00:27

In CommunityServer 2008.5 , the sitemap is not include wiki pages.

I wrote a small patch let sitemapindex.ashx and sitemap.ashx support wiki pages.

Download it : CS2008.5_SiteMap_Wiki.zip 

Tags: , ,

CommunityServer

Syntax Highlighter Wrapper CSModule for CommunityServer 2008.5

by Administrator 12. October 2008 06:27

dp.SyntaxHighlighter is a popular Syntax Highlighter engine.

It's use  javascript and CSS for syntax highlighter and easy use in every system. But CommunityServer  is not allow use <p name="xxx" class="xxx" > in default setting. Have two way use  dp.SyntaxHighlighter in CommunityServer.

  • Way 1: Edit CommunityServer.config , change <p dir = "true" /> to <p name="true" class="true" dir = "true" /> in <MakeUp></MakeUp> , and add all javascipt and css in themes.
  • Way 2: Write a CSModule , because CSModule is allow use any HTML.

I wrote a  Syntax Highlighter Wrapper CSModule for CommunityServer 2008.5 ( Wiki support )

You just needs add this CSModule in CommunityServer.config , and no require add javascript and css in theme. This CSModule will load needs javascript in page.

SyntaxHighlighter CSModule

 

Download :

Binary : CommunityServer.SyntaxHighlighterWrapper10.zip

Tags:

CodeHighlight for CommunityServer

Code highlight Extension for BlogEngine.Net

by Administrator 2. October 2008 00:13

I transfer my Code Highlight CSMdoule to BlogEngine.Net extension. There is a very easy wrote a extension on BE.Net

Just change a few code for BE.Net

1
2
3
4
5
6
7
8
9
10
    public CodeHighlightExtension()
    {
        Page.Serving += new EventHandler<ServingEventArgs>(ServingContent);
        Post.Serving += new EventHandler<ServingEventArgs>(ServingContent);
    }

    private void ServingContent(object sender, ServingEventArgs e)
    {
        e.Body = SourceCodeMarkup(e.Body);
    } 

And on BE , line break have some different communityserver , so i convert "<br />\r\n" to "\n" and add default format style in code.
If you don't want change default style , will no needs modify web.config .

It's test on BlogEngine.Net 1.4.5.0 . 

Project page : http://update.to/be/codehighlight/
Download : http://update.to/be/codehighlight/CodeHighlight_10.zip

Tags: ,

BlogEngine.Net

CS2008.5 Code highlight CSModule

by Administrator 17. September 2008 20:48

CommunityServer 2008.5 is release in 2008/9/15 ,  and they have a new Wiki system.

My CS2008 Code highlight CSModule ver:1.2 is not support highlight wiki , because Wiki not use csa.PrePostUpdate for formating context.

I make a small update for Wiki.

1
2
3
4
5
6
        public void Init(CSApplication csa, XmlNode node)
        {
            csa.PrePostUpdate += new CSPostEventHandler(csa_PrePostUpdate);
            WikiEvents.BeforeAddPage += new PageEventHandler(WikiEvents_BeforeUpdatePage);
            WikiEvents.BeforeUpdatePage += new PageEventHandler(WikiEvents_BeforeUpdatePage);
        }

 

And add a default format in code ,  it mean you don't needs modify web.config if you don't want change format.

Download 1.3 : CommunityServer2008.5.CodeHighlight_1_3.zip
Project page : http://update.to/cs/codehighlight/

Tags: ,

CodeHighlight for CommunityServer

Powered by BlogEngine.NET 1.6.1.0
Theme by Extensive SEO

About the site

Update.to is design by Ruri software.

 

This site support software information and download of Ruri software.

 

Most software are "Free" and you can direct download it ( no register and no sign anything )

ADBanner