HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Relative links and images
Posted by: Ori (---.inter.net.il)
Date: Saturday, 07-Apr-2007, 07:53:26

Hello,

I want all links and images in my html to be relative to a code base.
I tried to set the html Head element with a base, but it didn't work when I tried to load a document with a relative image source.

Is there a way to do it?

Thanks,
Ori

Re: Relative links and images
Posted by: Ori (84.229.114.---)
Date: Saturday, 07-Apr-2007, 15:10:46

OK, sorry - after playing with it I could load a document with relative links and images. Now I have a new problem

My problem is that when I save the html it has full links, instead of relative links. Is there an easy way (without changing the html) to make the links relative?

Thanks.

Re: Relative links and images
Posted by: Shaggy (87.245.178.---)
Date: Monday, 09-Apr-2007, 20:53:28

No, you will have to rebase links manually. The simplest way is to iterate on the image and hyperlink collections, pick HTML elements and rebase their URL's.

Re: Relative links and images
Posted by: vm (---.pie.net.pk)
Date: Tuesday, 08-May-2007, 16:50:32

Any idea of how to save the complete page (webpage complete)?



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
76puL
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.