473,513 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

iframe/html scraping?

victorduwon
32 New Member
Hi guys,

I wanted to know if anyone knew if it was possible to use iframe to view only a particular section of a site in another page. I ask because I want to view only the body of a particular site without the header and footer or ads on another site. The site in question is public domain, so there are no copyright issues. I thought of using iframe, but I don't know if it it possible to do so and only view certain parts of the site. If anyone can help me out on this I would appreciate it, or just point me in the right direction.

Thanks

Vic.
Mar 17 '08 #1
5 5512
nomad
664 Recognized Expert Contributor
Hi guys,

I wanted to know if anyone knew if it was possible to use iframe to view only a particular section of a site in another page. I ask because I want to view only the body of a particular site without the header and footer or ads on another site. The site in question is public domain, so there are no copyright issues. I thought of using iframe, but I don't know if it it possible to do so and only view certain parts of the site. If anyone can help me out on this I would appreciate it, or just point me in the right direction.

Thanks

Vic.
Hello Vic:
To my knowledge you can not do this. The only way that I know of is to down load that web page and then make a new page for that section. Then make a iframe for it.

nomad
Mar 17 '08 #2
victorduwon
32 New Member
That's an interesting idea. Thanks for the suggestion. But is there a way automate it? The page I want is from the National Weather service here in America. I have tried using their XML feed, but it is too unreliable, and breaks my pages regularly. Is there anyway I can do this automatically? I would want it to update on a regular basis. I build my pages in html, but the backend is in lassoscript.
Mar 17 '08 #3
nomad
664 Recognized Expert Contributor
That's an interesting idea. Thanks for the suggestion. But is there a way automate it? The page I want is from the National Weather service here in America. I have tried using their XML feed, but it is too unreliable, and breaks my pages regularly. Is there anyway I can do this automatically? I would want it to update on a regular basis. I build my pages in html, but the backend is in lassoscript.
you might look to see if that page has any anchor points on it. If it does then your might be in business.

nomad
Mar 17 '08 #4
victorduwon
32 New Member
Actually, Nomad it has quite a few anchors. Have a look for yourself:

http://www.wrh.noaa.gov/forecast/MapClick.php?site=lox&smap=1&textField1=34.099548& textField2=-118.41432&degrees=F
Mar 17 '08 #5
nomad
664 Recognized Expert Contributor
Actually, Nomad it has quite a few anchors. Have a look for yourself:

http://www.wrh.noaa.gov/forecast/MapClick.php?site=lox&smap=1&textField1=34.099548& textField2=-118.41432&degrees=F

I took a quick scan over the code and I really did find a couple of anchor points
[HTML]<a name="contents">[/HTML]

so you then could do this
http://www.wrh.noaa.gov/forecast/MapClick.php?site=lox&smap=1&textField1=34.099548& textField2=-118.41432&degrees=F#content

this will point to that part of the web page.

Hopefully this info will help you finding the anchor point if there is one that you want to use.

nomad
Mar 18 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
9343
by: Csaba2000 | last post by:
I want to be able to embed a single quote into an INPUT element within a dynamically generated IFRAME. The example below shows how the IFRAME is generated. Challenge: I'd like the alert box to...
2
47296
by: Templar | last post by:
Hi i'm bothering with such problem... I must dynamic create an Iframe, and then put som raw HTML into it. But I can't. When I create iframe, I can't access its properties. Here's the coe...
1
1896
by: mustafa | last post by:
anyone know some good reliable html scraping (with python) tutorials. i have looked around and found a few. one uses urllib2 and beautifull soap modules for scraping and parsing...
4
5493
by: seans | last post by:
Hi, Is there some way from preventing the JavaScript code in a document loaded into an iframe from executing? I don't have access to the pages being loaded into the i-frame so I can't modify...
2
2429
by: bs9999 | last post by:
I'm using IFRAME to connect back to my ASP.NET page in order to fetch the FreeBox HTML Editor html contents and scripts (i do this apprach because the html editor is fairly heafty to send to the...
6
10547
by: howa | last post by:
Since it is part fo the standard, why I always heard that we should avoid iframe? any comments? thanks.
1
3035
by: knkk | last post by:
Hi, I have an iframe that fetches content from a different domain. This is my URL, which has an iframe that fetches content from another site careerbuilder.co.in (this is a partnership channel, so...
2
3266
riptide2049
by: riptide2049 | last post by:
I really have a problem here. I have a code that is suppost to take the href of a link from the right class;value of a link maked toreturn false. the value is a Media file the file is sent to...
0
7755
by: tequilamala | last post by:
I have an Iframe in one of the pages i am developing... the iframe is suppose to scroll up and down and the links target the iframe. the problem is that the iframe scrolls side to side on internet...
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7391
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7553
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5697
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.