1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google and Java Scriptlets

Discussion in 'HTML & Website Design' started by Spyware Remover, Nov 16, 2004.

  1. #1
    I want to start implementing some SSI into a couple of my sites,
    but do not want to change my page extensions to ".shtml" (as my host
    requires.)

    I found a work-around using a java scriptlet such as:

    (I added an "." in front of the script so you would be able to read it here.)

    <.object type="text/x-scriptlet" width=100% height="100" data="links.html">


    My question is would the content within the "include" (in this case
    "links.html") be spiderable and pass PR?

    AJ
     
    Spyware Remover, Nov 16, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Probably not... you are better off making an .htaccess entry to parse .html files as SSI like so:

    AddHandler server-parsed .html
    AddType text/html .html
    Code (markup):
     
    digitalpoint, Nov 16, 2004 IP
  3. Spyware Remover

    Spyware Remover Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks.

    I made the addition to the .htaccess file and have tried both the following includes:

    <!--#include VIRTUAL="/whateverpage.html" -->

    <!--#include FILE="/whateverpage.html" -->

    neither will work.

    Any ideas?????

    AJ
     
    Spyware Remover, Nov 17, 2004 IP