[uf-discuss] URLs in hrefs
microformats at kaply.com
Fri Apr 20 10:40:56 PDT 2007
On 4/20/07, Nic James Ferrier <nferrier at tapsellferrier.co.uk> wrote:
> "David Janes" <davidjanes at blogmatrix.com> writes:
> > The reason that there has been little discussion is that the rules for
> > dealing with this are well understood and settled. This document 
> > will give you everything you need -- written in 1995.
> > Regards, etc...
> >  http://www.ietf.org/rfc/rfc1808.txt
> I disagree. I think Mikey raises a good point. When you're parsing
> do the url resolution yourself and that is not as simple as it should
var bar = foo.getAttribute("href")
foo is not resolved.
var bar = foo.href
foo IS resolved.
Same with .src for images.
More information about the microformats-discuss