Simple HTML question....

Status
Not open for further replies.
D

Deleted member 12422

Guest
Well, I'm sure there's lots of fun ways to do this, but I like inline frames.

They are as simple as this:

code:<HR>
Code:
 <iframe>FRAMESET FILENAME HERE!</iframe>

Hope that helps. You can tweak the size, IIRC, with standard HTML sizing "calls" (or whatever the hell they are called in HTML, god help me if I ever like this language...)

Whee!

-John
 
D

Deleted member 12422

Guest
... And this is where my shining ignorance of HTML shows through. I'd love to be able to answer those questions, but I have utterly no idea. I hate HTML coding, and avoid it at all costs if possible.

ANYWAY! You might check http://www.w3.org/MarkUp/ for info about the HTML spec itself, since that could probably answer your questions better. I assume that an inline frame, however, would be visible to GoogleBot (though I have never used that program) since it loads the page from another file, keywords and all.

Anyway, check the w3c. They rule.

-John
 

beta

Ars Tribunus Militum
1,991
Originally posted by Schluppy:
I don't think you can. Nor do I understand why you'd want to. What you *can* do is use a script to grab the page off of the other site and store it locally - then you could include it with SSI or just display it directly.

Why do I want to do it? Because I have some information that I need to display on multiple sites, and it changes often. But I want that info to be displayed within the template of the site it is one.

Any ideas?

b e t a
 

Schluppy

Ars Tribunus Militum
2,486
What info do you need to grab?
How is it stored?
Do you just want to pull text from a file?
Do you want to embed the entire page?
Be more specific and you'll get better replies.

I use a crontab to run three php scripts every hour that grab RDF files (news headlines in this instance) off of other sites and re-write them locally as simple xml docs. Then I have another php script to parse the local copies and display them to fit my sites style. Works quite nicely.
 

Cupcake

Ars Tribunus Militum
2,688
not correct syntax i don't think.

<iframe src="filename.html">

or you might just want to get the page's code and take what you want from that via Serverside language. CFM, ASP for instance.

a good example of that is techbargains.com screen scrape of buy.com deal of the day.

i am a bit tired but that seems right.


-cup

Well, I'm sure there's lots of fun ways to do this, but I like inline frames.

They are as simple as this:

Quote: " <iframe>FRAMESET FILENAME HERE!</iframe> "
 
Status
Not open for further replies.