/    Sign up×
Community /Pin to ProfileBookmark

SSI Alternative

Hey guys, I’ve been trying to find a javascript that will allow me to emulate the actions of Server Side Includes by using a Javascript that will grab code from an external file (either HTML or TXT) and put it into a page.

Is this possible? If so, can somebody send me the information on how to make it happen?

Thanks in advance

to post a comment
JavaScript

9 Comments(s)

Copy linkTweet thisAlerts:
@JonaMar 06.2003 — You have to use a server-side language like Perl.
Copy linkTweet thisAlerts:
@benwaldenauthorMar 06.2003 — there is no canned functions that used document.write to passs code from a souce to the destination?

the reason I'm asking is the fact that I'm building a site on geocities.com - absolutely void of all server side applications.

thanks in advance.
Copy linkTweet thisAlerts:
@JonaMar 06.2003 — Sorry, there is no way whatsoever to interact with external files with Javascript. The only external file interaction that can be done is simple HTML: <script [i]src="someFile.js"[/i]> But that's about the most that you can do.

It is possible to interact with the FileSystem using ActiveX and the WSH (Windows Scripting Host). I've used JavaScript to add a shortcut to Notepad before, but that's just about the most I could do. ?
Copy linkTweet thisAlerts:
@benwaldenauthorMar 06.2003 — well then, what scripting options would you suggest? I'm decent with ASP and SSI, but I can't find any service through geocities to make it work...
Copy linkTweet thisAlerts:
@JonaMar 06.2003 — Geocities doesn't support any server-side language. Here is a list of free ASP sites:

[list=1]
  • [*]http://www.websamba.com/

  • [*]http://www.mastercompra.com/

  • [*]http://hosting.timus.ru/

  • [*]http://www.cfm-resources.com/

  • [*]http://www.brinkster.com/

  • [*]http://www.7host.com/

  • [*]http://www.efrance.fr/

  • [*]http://www.maxipointservers.net/

  • [*]http://www.ionwd.com/

  • [*]http://www.1asphost.com/

    [/list=1]

    There are also ASP .NET hosting sites:

    [list=1]
  • [*]http://www.brinkster.com/

  • [*]http://www.dotnetplayground.com/

  • [/list]
    Copy linkTweet thisAlerts:
    @zapdos900Mar 07.2003 — ? ? ?

    How do u put an image below name.
    Copy linkTweet thisAlerts:
    @benwaldenauthorMar 07.2003 — Jona,

    thanks for the rec. I tried brinkster and it worked perfectly! Thanks again!
    Copy linkTweet thisAlerts:
    @JonaMar 07.2003 — It was nothing. ?
    Copy linkTweet thisAlerts:
    @zapdos900Mar 08.2003 — Bye
    ×

    Success!

    Help @benwalden spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...