DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

8
kicks
published 2 years, 2 months ago, submitted by madskristensen madskristensen 2 years, 2 months ago

madskristensen.dk — Today, I needed a function that would look through some text input and check for any URL's and the URL's should then be turned into hyperlinks. In other words, I had to turn this www.someurl.com into <a href="http://www.someurl.com" target="_blank">www.someurl.com</a>. It should also be able to handle URL's that starts with http:\\ and not just www.

Add a comment 2 comments | category: | Views: 3 | Get KickIt image code
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
I will be doing something similar with the comments on www.dotnetkicks.com. As you can see, currently only plain text is allowed.
posted by gavinjoyce gavinjoyce 2 years, 2 months ago
That's great. Not even WordPress or other blog/CMS engines does this automatically. You have to write something like [url]http:\\www.url.com[/url]. That's just annoying.
posted by madskristensen madskristensen 2 years, 2 months ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge