Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
What is the best way in Umbraco to convert URL's in string to links when using XSLT?
Example:
Lorem ipsum http://www.example.com sit dolerm
=>
Lorem ipsum <a href="http://www.example.com">http://www.example.com</a>; sit dolerm
Maybe this could be of help?:http://www.stylusstudio.com/xsllist/200305/post81170.html Regards,Magnus
This'll be harder than it sounds, what is a url anyway?
http://something.comhttp://something.something.something.aero/something/something.orbhttp://something.com?elkrj=zerlkjzer&lskdfj=zlekrjze&slfkjsfsdf sdf?รง"
regex matching all this won't be easy, mind explaining why you want to do this? and why the links aren't entered as hyperlinks in the content editor?
Thank's Magnus. I will try Jeni Tennison's solution.
@Rik, I am parsing RSS feed where links are plain text. They all start with http so the link that Magnus provided should solve it.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Convert URL to links
What is the best way in Umbraco to convert URL's in string to links when using XSLT?
Example:
Lorem ipsum http://www.example.com sit dolerm
=>
Lorem ipsum <a href="http://www.example.com">http://www.example.com</a>; sit dolerm
Maybe this could be of help?:
http://www.stylusstudio.com/xsllist/200305/post81170.html
Regards,
Magnus
This'll be harder than it sounds, what is a url anyway?
http://something.com
http://something.something.something.aero/something/something.orb
http://something.com?elkrj=zerlkjzer&lskdfj=zlekrjze&slfkjsfsdf sdf?รง"
regex matching all this won't be easy, mind explaining why you want to do this? and why the links aren't entered as hyperlinks in the content editor?
Thank's Magnus. I will try Jeni Tennison's solution.
@Rik, I am parsing RSS feed where links are plain text. They all start with http so the link that Magnus provided should solve it.
is working on a reply...