Solved

Able to get iframe non-local source html?

Posted on 2006-07-21
3
301 Views
Last Modified: 2008-03-10
I have an idea for a web application.  I want to be able to develop a personal page and load an external page like www.google.com into a frame or iframe.  I was experimenting but began to wonder if what I wanted to do was even possible.  I was wondering if I am able to get the html source code of that external website that i loaded so that i may manipulate/parse it? I thought i heard somewhere that you are only able to get the source of webpages that are local to your site, and not externally loaded sites.

The programming languages I have at my disgretion is PHP, ASP, JavaScript, and HTML.  I could also consider using C++ or Perl.  I think this is possible with AJAX, but don't plan on learning yet another new language at the moment.  Please let me know how i can go about doing this.

Thanks in advance.

-- Jason
0
Comment
Question by:propractice
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
nschafer earned 250 total points
Comment Utility
Hi propractice,

See the following thread.
http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_21926190.html#17155324

This can show you how to do this and also points out a couple of issues you should be aware or.

Hope this helps,
Neal.
0
 

Author Comment

by:propractice
Comment Utility
if possible, i can also open a new window, load the external site in it, and grab the source from it, returning it to my original personal page for manipulation/parsing.

--jason
0
 

Author Comment

by:propractice
Comment Utility
thanks nschafer, you didn't give me the answer, but you showed me how to get there.  after a while of playing with the code and such, i was able to get it working.  thanks.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now