473,804 Members | 2,314 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 5543
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.go v/forecast/MapClick.php?si te=lox&smap=1&t extField1=34.09 9548&textField2 =-118.41432&degre es=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.go v/forecast/MapClick.php?si te=lox&smap=1&t extField1=34.09 9548&textField2 =-118.41432&degre es=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.go v/forecast/MapClick.php?si te=lox&smap=1&t extField1=34.09 9548&textField2 =-118.41432&degre es=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
9369
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 show: Mom said, "Don't" instead of the current: Mom said, "Do not". The point of the exercise is that I will be passing arbitrary strings to the IFRAME and I want to ensure that the final string is the same as the original. So I'm interested...
2
47348
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 snipplet: //************************************* //*************************************
1
1917
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 http://www.dalkescientific.com/writings/diary/archive/2005/04/21/screen_scraping.html and the other uyses mechanize, clientcookie ,clientform. http://sig.levillage.org/?p=588 which one should i go with. i am looking for and html scraping solution
4
5513
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 then. They are being loaded from a server. thanks again. sean
2
2458
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 user when most dont use it on our site instead deferring to a user request before actually sending down the code via AJAX or in this case an IFRAME). append all script tags and relevant html elements into my main page's DOM, outside of the iframe....
6
10557
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
3058
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 they will co-operate if there are small things they need to do in their code, like putting something in the body tag or adding some script, though I would ideally like everything to be done in this page, and not in their pages). ...
2
3284
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 quicktime or windows meida player depending on which plugin was found. after the plug in is found a iframe with the right player is created. here is the code. for some reason In IE the plug in doesnt work and in fire fox it crashes <!DOCTYPE html...
0
7779
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 explorer but not on firefox. I dont want it to scroll sideways. in index.htm the iframe is at the bottom of the code. index.htm <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">...
0
9712
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9171
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7634
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
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 we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.