Addressable
June 19th, 2008
We work with a large variety of URIs at Berkman. But I’ve been haveing difficulties using the URI library. Many times it would throw the URI::InvalidURIError when in fact I was parsing a valid web address or perhaps some text containing a valid web address. Today I came across an extension to the URI ruby library called Addressable. The heuristic_parse method is making my life a happier one.
Entry Filed under: Ruby on Rails

Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed