/    Sign up×
Community /Pin to ProfileBookmark

Embedding URL onto website

I’m the webmaster for a non-profit organization. There was a story done on a fund raising event that we recently did. Is there a way I can embed that story directly into the News page of our website rather than just providing a url link like, <a href=”http://storyabouttheevent.com”>Story</a>?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@nyxOct 10.2010 — How about an iframe? I think that's probably your only solution using plain HTML. If you're using a server side script however, you might be able to load the page in with a script and print it out again within the page being rendered.
Copy linkTweet thisAlerts:
@Major_PayneOct 11.2010 — Yes, as long as you have copyright permission to put the story from the other web site on yours. I doubt there would be a problem if you asked, but if you don't own the content, it is copyrighted unless stated otherwise.

An iframe can be used and, if you need to set the CSS to position just the story in the iframe, then you can adjust this example:
[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>How to position a page within an iframe using CSS</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
#outerdiv
{
width:446px;
height:246px;
overflow:hidden;
position:relative;
}

#inneriframe
{
position:absolute;
top:-412px;
left:-318px;
width:1280px;
height:1200px;
}
</style>
</head>
<body>
<div id='outerdiv'>
<iframe src="http://www.yahoo.com/" id="inneriframe" scrolling="no"></iframe>
</div>
</body></html>[/CODE]
×

Success!

Help @MichiKen 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 5.30,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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