[uf-discuss] URLs in hrefs
Nic James Ferrier
nferrier at tapsellferrier.co.uk
Fri Apr 20 10:53:30 PDT 2007
"Mike Kaply" <microformats at kaply.com> writes:
> 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.
In the browser context you're right... can't remember if this is true
in ajax imported docs?
More information about the microformats-discuss