BlogEngine.NET Twitter Widget

by Donovan Olivier April 30, 2010 10:24PM

I have been using a modified version of the BlogEngine.NET Twitter widget that I got from Al Bsharah, but noticed that it doesn't correctly create the link for Twitter user names that contain an underscore.

An easy fix for this is to modify line 354 of his widget.ascx.cs file to include an underscore in the regular expression:

private static readonly Regex regex2 = new Regex("@[a-zA-Z0-9_]*", 
                                        RegexOptions.Compiled | RegexOptions.IgnoreCase);

UPDATE May 1, 2010: The original has now been updated.


Tags: ,

Blog

Comments

May 1, 2010 6:21PM #

trackback

A Better Twitter Widget for BlogEngine.NET 1.6

A Better Twitter Widget for BlogEngine.NET 1.6

Al Bsharah |

November 18, 2010 2:49PM #

trackback

BlogEngine.NET Twitter Feed Widget

BlogEngine.NET Twitter Feed Widget

planetdonovan.com |

September 23, 2011 3:03PM #

pingback

Pingback from freerob.com

HTML | Free Software | Free Templates | Freerob.com

freerob.com |

December 3, 2012 10:21PM #

pingback

Pingback from siteduct.com

Buy SEO Tool

siteduct.com |

August 2, 2013 6:48PM #

pingback

Pingback from followliker.com

twitter follow bot

followliker.com |

October 8, 2013 1:34PM #

pingback

Pingback from alexatrafficracer.org

Alexa Page Rank Booster

alexatrafficracer.org |

Comments are closed

The Perpetrator

perpetrator

Donovan Olivier

software developer, architect, husband, father, son, brother, uncle, nephew, sinistral, enquirer, skeptic, cynic, anarchist, contrarian, infidel, dissident, rebel, troublemaker, dissenter, renegade.