473,385 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

iframe/html scraping?

victorduwon
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 5504
nomad
664 Expert 512MB
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
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 Expert 512MB
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
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 Expert 512MB
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...

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.