/    Sign up×
Community /Pin to ProfileBookmark

Importing External HTML

Years ago, I had a set of pages dedicated to Progressive Rock groups. The index frame was also the links page and there were many links the pages had in common. I imported the links to the index and was able to update them all by changing the one common file.

I want to do the same thing again. I can’t remember how and I can’t find anything about it in my reference books.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@swonJan 14.2003 — If I understood you correctly, you can do it this way:

create a index.html on a Domain:

In another domain you can take it into the frameset:

<frameset rows="50,*">

<frame src="http://www.whereyourfilelies.com">

<frame src="other.html">

</frameset>

So you must only edit the index.html on your http://www.whereyourfilelies.com
Copy linkTweet thisAlerts:
@gbeacockauthorJan 15.2003 — Sorry, I wasn't clear. The frames were no problem and I am not using them in this project anyway. That was just part of the explaination of what I did before.

For example, in the index frame, I had a list of links to all my progressive rock band pages. This list was the same for each page. Instead of changing all my pages when I added a new page, I created a small file that contained the list of all the pages and this file became a part of the index frame.

What I want to do now, in my Family Tree project, I have a data file that contains the individual's information. the main file 'index.html' builds a page from this info. Now that the first edition is working, I found that I am going to have to update the index file for everyone when make micro adjustments, and it will be a horror when I start work on the second edition.

What I would like to do

<head>

<-- title - importing js, css files etc. from a common directory, I can do this -->

</head>

<body>

<-- pull the body of the page from the common directory, I did this before somehow to a smaller degree -->

</body>
×

Success!

Help @gbeacock spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...