PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage publish relative references (hyperlinks)

Reply

publish relative references (hyperlinks)

 
Thread Tools Rate Thread
Old 16-05-2007, 12:28 AM   #1
C.M.G.
Guest
 
Posts: n/a
Default publish relative references (hyperlinks)



Win XP sp2
FrontPage Office 2003

For disk-based webs on the local HD, FP records a relative reference for
hyperlinks. When publishing to a remote FrontPage or SharePoint server, the
relative reference is replaced by an absolute reference.

To make a published web site more portable, I would like to make hyperlink
addresses relative. Is it possible to publish a web in this fashion?

Thank you.

Clem.


  Reply With Quote
Old 16-05-2007, 01:53 AM   #2
Charles W Davis
Guest
 
Posts: n/a
Default Re: publish relative references (hyperlinks)

Clem,

I disagree with your assumption that relative references are replaced. I
have dozens of relative links on the web on my hard drive. When published,
they do not change. However, if you hover over a link, the absolute
reference is visible. For instance, visit this site
(http://www.anthemwebs.com/archive.htm ) and hover over any of the dates in
the table and at the bottom of the browser you will see the absolute
reference. Choose Source from the View drop down menu and look at the code
for those links, all are relative.

When you create the link it will be relative unless you specify otherwise.
If not, how are you creating the link?

"C.M.G." <cmg@ohiorepromed.moc> wrote in message
news:uFmWZE1lHHA.1624@TK2MSFTNGP06.phx.gbl...
>
> Win XP sp2
> FrontPage Office 2003
>
> For disk-based webs on the local HD, FP records a relative reference for
> hyperlinks. When publishing to a remote FrontPage or SharePoint server,
> the relative reference is replaced by an absolute reference.
>
> To make a published web site more portable, I would like to make hyperlink
> addresses relative. Is it possible to publish a web in this fashion?
>
> Thank you.
>
> Clem.
>


  Reply With Quote
Old 16-05-2007, 02:38 AM   #3
C.M.G.
Guest
 
Posts: n/a
Default Re: publish relative references (hyperlinks)


Charles,

Thank you for your response.

I agree with your observations. The problem arises when I view a page in
internetexplorer and then "save as" *.mht; in that case, the source code is
converted to an absolute reference.

Do you have any idea how I can make the reference relative?

Thanks,

Clem.

"Charles W Davis" <Anthemwebs@lvcoxmail.com> wrote in message
news41C66F5-99DD-4DDF-B8DD-390E51220798@microsoft.com...
> Clem,
>
> I disagree with your assumption that relative references are replaced. I
> have dozens of relative links on the web on my hard drive. When published,
> they do not change. However, if you hover over a link, the absolute
> reference is visible. For instance, visit this site
> (http://www.anthemwebs.com/archive.htm ) and hover over any of the dates
> in the table and at the bottom of the browser you will see the absolute
> reference. Choose Source from the View drop down menu and look at the
> code for those links, all are relative.
>
> When you create the link it will be relative unless you specify otherwise.
> If not, how are you creating the link?
>
> "C.M.G." <cmg@ohiorepromed.moc> wrote in message
> news:uFmWZE1lHHA.1624@TK2MSFTNGP06.phx.gbl...
>>
>> Win XP sp2
>> FrontPage Office 2003
>>
>> For disk-based webs on the local HD, FP records a relative reference for
>> hyperlinks. When publishing to a remote FrontPage or SharePoint server,
>> the relative reference is replaced by an absolute reference.
>>
>> To make a published web site more portable, I would like to make
>> hyperlink addresses relative. Is it possible to publish a web in this
>> fashion?
>>
>> Thank you.
>>
>> Clem.
>>

>



  Reply With Quote
Old 16-05-2007, 08:16 AM   #4
Ronx
Guest
 
Posts: n/a
Default Re: publish relative references (hyperlinks)

Saving as .mht will always produce absolute links. The only way to get
relative links when saving a page from any browser is to View Source,
then save the notepad file at a new location.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
http://www.rxs-enterprises.org/fp



"C.M.G." <cmg@ohiorepromed.moc> wrote in message
news:OrLqjN2lHHA.4684@TK2MSFTNGP03.phx.gbl:

> Charles,
>
> Thank you for your response.
>
> I agree with your observations. The problem arises when I view a page in
> internetexplorer and then "save as" *.mht; in that case, the source code is
> converted to an absolute reference.
>
> Do you have any idea how I can make the reference relative?
>
> Thanks,
>
> Clem.
>
> "Charles W Davis" <Anthemwebs@lvcoxmail.com> wrote in message
> news41C66F5-99DD-4DDF-B8DD-390E51220798@microsoft.com...
> > Clem,
> >
> > I disagree with your assumption that relative references are replaced. I
> > have dozens of relative links on the web on my hard drive. When published,
> > they do not change. However, if you hover over a link, the absolute
> > reference is visible. For instance, visit this site
> > (http://www.anthemwebs.com/archive.htm ) and hover over any of the dates
> > in the table and at the bottom of the browser you will see the absolute
> > reference. Choose Source from the View drop down menu and look at the
> > code for those links, all are relative.
> >
> > When you create the link it will be relative unless you specify otherwise.
> > If not, how are you creating the link?
> >
> > "C.M.G." <cmg@ohiorepromed.moc> wrote in message
> > news:uFmWZE1lHHA.1624@TK2MSFTNGP06.phx.gbl...
> >>
> >> Win XP sp2
> >> FrontPage Office 2003
> >>
> >> For disk-based webs on the local HD, FP records a relative reference for
> >> hyperlinks. When publishing to a remote FrontPage or SharePoint server,
> >> the relative reference is replaced by an absolute reference.
> >>
> >> To make a published web site more portable, I would like to make
> >> hyperlink addresses relative. Is it possible to publish a web in this
> >> fashion?
> >>
> >> Thank you.
> >>
> >> Clem.
> >>

> >


  Reply With Quote
Old 16-05-2007, 10:30 PM   #5
C.M.G.
Guest
 
Posts: n/a
Default Re: publish relative references (hyperlinks)


Ronx,

Thank you for your response.

Is there a way of changing the code in the *.mht file? I've tried to edit it
w/ Notepad, but it inserts = signs at the end of every line.

Clem.

"Ronx" <ronx917@hotmail.com> wrote in message
news:%23kctKK5lHHA.1624@TK2MSFTNGP06.phx.gbl...
> Saving as .mht will always produce absolute links. The only way to get
> relative links when saving a page from any browser is to View Source, then
> save the notepad file at a new location.
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
> http://www.rxs-enterprises.org/fp
>
>
>
> "C.M.G." <cmg@ohiorepromed.moc> wrote in message
> news:OrLqjN2lHHA.4684@TK2MSFTNGP03.phx.gbl:
>
>> Charles,
>>
>> Thank you for your response.
>>
>> I agree with your observations. The problem arises when I view a page in
>> internetexplorer and then "save as" *.mht; in that case, the source code
>> is
>> converted to an absolute reference.
>>
>> Do you have any idea how I can make the reference relative?
>>
>> Thanks,
>>
>> Clem.
>>
>> "Charles W Davis" <Anthemwebs@lvcoxmail.com> wrote in message
>> news41C66F5-99DD-4DDF-B8DD-390E51220798@microsoft.com...
>> > Clem,
>> >
>> > I disagree with your assumption that relative references are replaced.
>> > I
>> > have dozens of relative links on the web on my hard drive. When
>> > published,
>> > they do not change. However, if you hover over a link, the absolute
>> > reference is visible. For instance, visit this site
>> > (http://www.anthemwebs.com/archive.htm ) and hover over any of the
>> > dates
>> > in the table and at the bottom of the browser you will see the absolute
>> > reference. Choose Source from the View drop down menu and look at the
>> > code for those links, all are relative.
>> >
>> > When you create the link it will be relative unless you specify
>> > otherwise.
>> > If not, how are you creating the link?
>> >
>> > "C.M.G." <cmg@ohiorepromed.moc> wrote in message
>> > news:uFmWZE1lHHA.1624@TK2MSFTNGP06.phx.gbl...
>> >>
>> >> Win XP sp2
>> >> FrontPage Office 2003
>> >>
>> >> For disk-based webs on the local HD, FP records a relative reference
>> >> for
>> >> hyperlinks. When publishing to a remote FrontPage or SharePoint
>> >> server,
>> >> the relative reference is replaced by an absolute reference.
>> >>
>> >> To make a published web site more portable, I would like to make
>> >> hyperlink addresses relative. Is it possible to publish a web in this
>> >> fashion?
>> >>
>> >> Thank you.
>> >>
>> >> Clem.
>> >>
>> >

>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off