Avatar of whiwex
whiwex

asked on 

Add html reference to another web site

I am working on a web site for a local newspaper. I have created a web page that uses their page layouts meaning my page uses their menus and ads but the main contents of the page is my data. So it looks like you are on the newspapers web site but for this particular page you are on my server. The ads and munus all work fine except for two parts of the page where they have given me a html page. The problem is I need to resize there html page to fit on my page. I have been reading that this can't be done because we are on two different domains. IS ther any work around? Does anyone have any ideas on how I can get this to work?

Thanks
Web ComponentsWeb DevelopmentHTML

Avatar of undefined
Last Comment
Hugh McCurdy
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

I'm not confident that I understand the question.  It appears to me the problem is they have given you an entire web page and you only want part of it (just enough for the ad, etc).  Is that right?

One idea is to embed the web page in a frame.  (I'm not to thrilled by this approach but it should work if I understand what you want.)

Another is to process the page they gave you and strip out what you don't want.  This has two problems.
1. If they are doing something advanced, you might strip out too much.  Or the editing might be too complicated to be cost effective.
2. My guess is that you are just starting out and if I suggested you write a program to process html files, you wouldn't know where start.

So, that's what I have so far based on limited information.

If you need more help, please try to give us more information.  Thanks.

Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

Can you tell me if you are dealing with static content or dynamic content?

Static content doesn't automatically change.  CNN's home page is an example of dynamic content.

If they are giving you an HTML file and say "use that" then it's static.  If you link to their website and the page keeps changing every hour (say to update the temperature, etc), it's dynamic.
Avatar of user_n
user_n
Flag of United States of America image

Try to  change the styles of the new page with java script
Avatar of whiwex
whiwex

ASKER

it is a dynamic page. They change it everyday.  You can see the page at pgstatistics.com. Just the statistics in the center is what I control. The left column is empty but they want to put these two links
in the left column
http://www.post-gazette.com/includes/2007design/site/999021.html 
http://www.post-gazette.com/includes/2007design/site/recentPhotos.html 

Avatar of Carlos Llanos
Carlos Llanos
Flag of United States of America image

So the two html pages you were given need to be resized?

Have you tried using CSS inside of the html pages for this?

Also, are these two pages static or dynamic as well?
Avatar of whiwex
whiwex

ASKER

Yes they need to be resized to fit the column. As far as CSS goes are you saing they would add some css to the html pages? and yes they are dynamic pages the photos and links change daily.
ASKER CERTIFIED SOLUTION
Avatar of Hugh McCurdy
Hugh McCurdy
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Web Development
Web Development

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

78K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo