473,856 Members | 2,569 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

include external file

hi,
how can i include a webpage from another server with ASP? (Without frames)
i tried XMLHTTP, but i loose the stylesheet, images src and relative links
of the included page.

See http://www.punticardinali.it/1winhttp.asp
("222" is a text in the calling page, other staff is included)

Ty
Jan 31 '07 #1
4 3932
"Giorgio" <da*@sa.itwrote :
>hi,
how can i include a webpage from another server with ASP? (Without frames)
i tried XMLHTTP, but i loose the stylesheet, images src and relative links
of the included page.
Maybe an IFRAME?

--
Tim Slattery
MS MVP(DTS)
Sl********@bls. gov
http://members.cox.net/slatteryt
Jan 31 '07 #2
Maybe an IFRAME?
Thanks for reply, but what about search engines with iframes?
Jan 31 '07 #3

"Giorgio" <da*@sa.itwro te in message
news:45******** *************** @reader1.news.t in.it...
>
Maybe an IFRAME?

Thanks for reply, but what about search engines with iframes?

If you hoping to make content of one site appear to come from yours it'll be
difficult.
Jan 31 '07 #4
Just idea how to do that. I can recommend to load header of needed webpage
before displaying content , try to find row where style sheet is declared,
and dynamically use this path it in your page. Its regarding css. About
sources you should build the rule which will "calculate" the real path to
source. Its a piece of work. Iframe can be helpfull
and remmember that content of other web pages changing so reason to display
this text for search crowlers not so effective.
Michael

"Giorgio" <da*@sa.itwro te in message
news:45******** **************@ reader2.news.ti n.it...
hi,
how can i include a webpage from another server with ASP? (Without frames)
i tried XMLHTTP, but i loose the stylesheet, images src and relative links
of the included page.

See http://www.punticardinali.it/1winhttp.asp
("222" is a text in the calling page, other staff is included)

Ty


Feb 1 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
3325
by: lallous | last post by:
Hello Sometimes, I don't know when exactly, when I try to include an external js file as: <script src='myfile.js'></script> that .js file goes not included in some cases!! To solve it, I had to use PHP as:
3
2456
by: Juergen Stein | last post by:
Hi Group, I couldn't find an answer on this with Google, so let me test you :) I've a fairly complex WebApp, and I put most of the JS code in independent external .js files. One of these external files contains a class A. The inline JS then inherits a class B from A. My question is now, since the class A is defined in the external file, is the class A definitely known at the point where I use it? I could
6
7075
by: alan | last post by:
Dear all, I have written my own function by C. And my development platform is W2k with VC6.0. Then I also defined a header file to extern declare this function. After that, I include this header file. The function is stored in C:\temp\myfun.c int func(){ return 1;
6
9585
by: atv | last post by:
Alright, i have some questions concerning include files en global variables.I hope someone is willing to answer these. 1).Why is it that if i define a global variable in a file, say main.c, and i have also other functions defined in that file, i can use the global in all functions, but once i split up the rest of the function in other files, i cannot use the global? Isn't that strange, all the files compiled should be treated as one...
6
2058
by: Dmitri Shvetsov | last post by:
Hi All, Does somebody know how can I include an external file into my C# source file? I need to insert the same strings (about 5-10) into about 75 different files, probably I will need to modify all these strings later, and I see it as a good idea to use an INSERT approach, but C# is not C++ and doesn't allow me just to insert some external file as I used to do. What's a command for that?
22
1742
by: maxwell | last post by:
I'm having a problem using the XML "include" mechanism, which I think has to do with namespaces. I have an XML file that has a lot of repetition--a sequence of elements that appear multiple times. My thought was to copy this sequence into a separate file, then use an entity defn to refer to that separate file: <!ENTITY ThirdPersonAllButTense SYSTEM "3PersNotTense.xml">
2
3560
by: jmcmejl | last post by:
Hi I have a question regarding including an xml file into another. I have googled and found this: Mainfile.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE adocname> <arootnode> &anincludedfile1; &anincludedfile2;
5
1909
by: frazzle | last post by:
I have been developing a system in PHP that uses MySQL. To that end, I have used a config file to hold high level fixed variables (database name, user id, password, etc) and I using "require_once" to get it into my code with no problems. The problem arises from my desire to integrate third party software, such as Wordpress, External Calendar, etc, into my site and have one central location for database configuration. I can successfully...
2
7116
by: joe t. | last post by:
My apologies, i'm not sure how to ask this question correctly, so i'll give the examples as i go. First, i *think* my problem is described here, but i may be misunderstanding: http://bugs.php.net/bug.php?id=15233&edit=1 Second, here's my problem: i have a class defined. Inside that class are several LONG functions
3
1540
by: Bob Bedford | last post by:
Hi all, I've a problem and can't resolve it. I've a include.inc.php file with only line is a huge query. to make it simple, the query is $query = "select * from xxx where mode = ".$mode Now, this file is included in an other PHP form. Here is the code: $mode = 1;
0
9767
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
10394
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9542
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...
0
7104
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
5769
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5967
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4592
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
4188
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3208
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.