PDA

Click to See Complete Forum and Search --> : blogger on my webpage


johnsx2002
Nov 27th, 2002, 09:26 PM
ya i want to know how i put blogger onto my webpage in the middle of it. http://www.visiondev.net u can see how i want it right there. an the html file is blogger.html. so how do i insert it into there?

The Hobo
Nov 27th, 2002, 09:32 PM
If your server supports SSI, you could use a SSI include. If your server supports PHP, you could use a PHP include.

You could also use an IFRAME or a plain old FRAME (Yuck!)

There are a few options. The cleanest would be one of the first two I suggested.

johnsx2002
Nov 27th, 2002, 09:33 PM
mine allows PHP an SSI i believe, an i didn't know how to use an iframe in it...

The Hobo
Nov 27th, 2002, 09:36 PM
If your server supports SSI, then you have to 1) make the page that you want to include blogger.html INTO a shtml, by making the extension .shtml. then 2) add this:

<!--#include virtual="blogger.html"-->

It's been awhile since I've used SSI, so that might not work. Let me know if it doesn't. You could also try #include file=

If you want to go the PHP route, just name your file .php and add this line where you want to include blogger.html:

<?php include "blogger.html"; ?>

Let me know if you need more help.

johnsx2002
Nov 27th, 2002, 09:44 PM
how would i do it in IFRAME? or whats the diff between them all?

The Hobo
Nov 27th, 2002, 09:48 PM
The Difference? The SSI and PHP way include the document into another document. So if you view the source, you'll actually see both of these documents merged.

These two ways are also server side, meaning that no matter what browser a viewer is using, it will work.

The IFRAME was only supported in Internet Explorer for the longest time, but I believe it is supported in Netscape now. I'm not sure about other browsers like Opera.

Syntax is something like:

<iframe src="blogger.php">

And you can use CSS elements to size it and everything.

FRAMEs are just ugly altogether and may not be supported by some small third-party broswers. I'd recommend staying away from this option.

Like I said, I'd strongly suggest either a small SSI or PHP snippet to include them into your document. It's the cleanest and will be supported with every broswer.

johnsx2002
Nov 27th, 2002, 09:54 PM
hey answer me on AIM!

The Hobo
Nov 27th, 2002, 10:06 PM
Originally posted by johnsx2002
hey answer me on AIM!

I have it set to automatically ignore those not on my buddy list.

Why can't you say whatever you need to say here?

johnsx2002
Nov 27th, 2002, 10:09 PM
Easier to say on there then here, takes less time etc.

ok well my page is in php...so i jus put that script in where? an it should work?

The Hobo
Nov 27th, 2002, 10:16 PM
just drop that snippet in the page wherever you need it to show up and it should work perfectly.

Rick Bull
Nov 28th, 2002, 06:05 AM
Just wanted to add if you use an iframe you should place text between for users without iframe capable browser like so:


<iframe src="PAGE.html">
Your browser does not support iframes,
the page that is supposed to be here is
<a href="PAGE.html">PAGE.html</a>
</iframe>


And Opera does support iframes too.