Ideally, I would like to find an existing tag that does this (allaire,
wanna add it?). There are other things like...
../../whatever.cfm
/whatever.cfm
mailto: tags
<base href="">
then there are different ways a URL might be coded
href=""
href=''
window.location = '';
you can see that it isn't actually as straightforward as you might
imagine. So I'm wondering if there's some code out there that uses the w3
standard for href resolution that might help me in my quest...
thanks,
jeff
At 03:10 PM 9/5/2000 -0500, John Andrichak IV wrote:
>Perhaps I misunderstood your question, but why not just concatenate the
>strings?
>
><cfset fullURL = baseURL & relativeURL>
>
>John Andrichak IV
>Web Programmer
>Dannemiller Memorial Educational Foundation
>
>----- Original Message -----
>From: "!jeff!" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, September 05, 2000 2:54 PM
>Subject: Resolve URL
>
>
> > I would like to create a CF_tag that takes a base URL, and a URL relative
> > to it, and magically creates a fully qualified URL from the relative one.
> >
> > has anyone done this? Is there downloadable code either in CF or in
> > regular expression that I could convert? Are there standards regarding
> > resolving URL's that I should be aware of?
> >
> > I know that CFHTTP does this, but I'm starting with a list of links, not
> > from an HTTP request...
> >
> > j
> > !j!
> >
> > The mark of mediocrity is searching for the precedent.
> >
> > !jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI
> > BIGWORDS.com worker#2
> > [EMAIL PROTECTED] [EMAIL PROTECTED]
> > .r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300
> >
> > --------------------------------------------------------------------------
>----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
> >
>
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
!j!
The mark of mediocrity is searching for the precedent.
!jeff! sherwood Director of BIGWORDS.com Web Site Design / JEDI
BIGWORDS.com worker#2
[EMAIL PROTECTED] [EMAIL PROTECTED]
.r.e.c.o.v.e.r.e.d.n.e.t.s.c.a.p.e.u.s.e.r. . . . 415.543.1400.x300
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.