How to create short links using C# and database ID’s

I recently had a project where I wanted my web site content to utilize short URLs.  These short URL’s would be easier to utilize on Twitter where the message is limited to 140 characters.  At this stage link shortening is old news and I could use one of the many available link shortening services (Bit.ly, Goo.gl) to generate these links.  However, I dislike the idea of encouraging visitors to tweet a Bit.ly link, as opposed to my own links.

Using database ID’s to create short links

To address this my original idea was to simply rely on the auto-incremented row ID’s for each item in the database.  For the database table, this looks something like this:

Continue reading

2 Comments

How many web browsers support responsive design?

Responsive designFor anyone investigating Responsive Design it’s natural to ask what percentage of web browsers support this design technique.  However, the real question you’re asking is “what percentage of web browsers support CSS3 media queries?”.  CSS3 media queries are the primary technology involved in responsive design.  If you’re simply looking for a quick answer, here it is:

Responsive design is supported by 70-80% of today’s web devices

However, the complete answer is a lot more nuanced than this.  The number above examines all web-related traffic.  However, responsive design is often used to target mobile devices.  Those statistics look a lot different.  Furthermore, there are techniques for addressing browsers & devices that do not support responsive design.

Continue reading

Tagged with: , , , , | Leave a comment

Budgeting for your CMS or Web Project

I don’t think I’ll get too many arguments if I make this statement:

Content Management Systems (CMS) are a vital tool for creating and maintaining a modern web site.

However, CMS’s vary in price from free to $100k+ and there are widely differing opinions about what a CMS should cost.  I’m probably not going to change any minds on this and I’m not terribly interested in trying.  However, I would like to better frame this conversation.

Continue reading

Tagged with: , | 1 Comment

Wanted: Video-conferencing solution for mid-sized teams

Early attempts at video conferencingThe Telerik Evangelism team has recently been experimenting with new techniques for staying connected and in-sync.  One of these techniques was to utilize video-conferencing for our bi-weekly meetings.  Sadly, I’ve not discovered any video-conferencing solutions that accommodates a team of our size (15 people).  Below I’ve summarized my experiences thus far:

Continue reading

Tagged with: , , , , | 10 Comments

How to Export Blog Comments from Sitefinity 3 to Disqus

Over this past weekend I decided to retire my old goondocks.com blog.  This domain name is a reference to The Goonies which is a movie I remember fondly from the 80′s.  I picked up this domain many years ago and held on to it.  When I discovered Sitefinity 3.0 I used it to experiment and share my lessons & experiences.

After joining Telerik,  I launched sitefinitywatch.com and never again touched goondocks.com.  Consequently, this blog has stagnated and become a dumping ground for spammers.  There are now thousands of blog comments that contain nothing but spam:

Obscene amount of comments

I wanted to import my old blog posts and legitimate comments to this blog.  If you scroll down below you’ll see I’m using Disqus to manage my comments on this blog.  Consequently, I needed to find a way to filter the SPAM from these comments, export the comments from Sitefinity 3.x and then import these comments into Disqus.

Continue reading

Tagged with: , | 1 Comment

2011 reflections on Telerik’s Sitefinity CMS

Sitefinity - Work in progressThe Holidays are upon us and 2011 is nearly gone.  This past year has been extremely busy and significant for Sitefinity.  Before we move into 2012 I want to reflect on 2011.  This post is strictly my personal opinion and, consequently, is being published to my personal blog.

I’m publishing this for Sitefinity customers who might be interested in a Telerik insiders’ perspective on this past year.  Hopefully this provides some context and a glimpse into what’s coming in 2012.

Continue reading

Tagged with: | 2 Comments

Amazon’s Silk Browser breaks Web Personalization

Yesterday Amazon’s Jeff Bezos announced their new Kindle Fire tablet.  This tablet is a full color, touch-enabled device that is capable of apps, games, books, movies or web browsing.  To put it bluntly, it’s like an iPad…except it’s $199.

Kindle Fire

However, it’s the web browser component of this device that caught my attention.

Continue reading

1 Comment

WYSIWYG Rich Text Editors: Your CMS’s Achilles’ heel

Most of what you read online flows through web-based (browser-based) WYSIWYG Rich Text editors.  These tools are central to every CMS and enable content authors, who might know little about HTML, to create HTML.

However, content authors are often baffled by the behavior of these tools.  In fact, many characterize their Rich Text editor as the most fragile part of their CMS.  This blog post is inspired by my research into this challenge.

Continue reading

Tagged with: | 4 Comments

DO NOT use font styling in your Rich Text WYSIWYG editor

This web page looks the way it does because of a combination of HTML and CSS.  These 2 technologies are the primary languages of the web.  However, very few people who publish web content know HTML & CSS.  This is okay though; very few people who drive cars can build a car.

Using font types, sizes, colors and background colors in a WYSIWYG editor is WRONG

Rich Text (WYSIWYG) editors enable content authors, who know nothing about HTML, to create HTML.  However, there are good & bad practices with regard to HTML & CSS.  When Rich Text editors are poorly configured these tools make it easy for unsuspecting authors to accidently ruin their web site.

Continue reading

Tagged with: | 2 Comments

Modifying the width of the CKEditor Styles dropdown

CKEditor comes included with a handy-dandy style selector:

The style selector of CKEditor's toolbar

Unfortunately this style selector defaults to a very small width.  This small width can result in larger styles being truncated:

CKeditor's style selector toolbar is too small and cuts off the text.

Thankfully this can be fixed with a couple of custom styles:

Continue reading

Tagged with: , | 5 Comments