/    Sign up×
Community /Pin to ProfileBookmark

Display Remote Text

I dont have CGI, PHP, ASP etc on my site and would like to show html or text from another file on my site.
For example the text would say “There are currently ? downloads” in one file and all I do is change that file and the text is updated on all pages, meaning I dont have to change each page individually.
Is there a way to do this, any help would be appreciated.
Cheers
[URL=mailto:[email protected]]Greg[/URL]

to post a comment
HTML

25 Comments(s)

Copy linkTweet thisAlerts:
@Paul_JrJan 15.2004 — What about SSI? Does your hosting support Server Side Includes?
Copy linkTweet thisAlerts:
@Aronya1Jan 15.2004 — [i]Originally posted by gregbains [/i]

[B]I dont have CGI, PHP, ASP etc on my site [/B][/QUOTE]
Do you mean to say your host doesn't support them?
Copy linkTweet thisAlerts:
@PeOfEoJan 15.2004 — [i]Originally posted by Aronya1 [/i]

[B]Do you mean to say your host doesn't support them? [/B][/QUOTE]
The host does not have it enabled for the general users on the server ? (crappy host, don't you think?)
Copy linkTweet thisAlerts:
@ray326Jan 16.2004 — Check out the way I'm doing that at http://blab-n-lab.home.comcast.net. It's based on the "Inner Browsing" article I read at http://devedge.netscape.com.
Copy linkTweet thisAlerts:
@Paul_JrJan 16.2004 — [i]Originally posted by ray326 [/i]

[B]Check out the way I'm doing that at http://blab-n-lab.home.comcast.net. It's based on the "Inner Browsing" article I read at http://devedge.netscape.com. [/B][/QUOTE]

Ray, you do realize that users without JS won't see your navigation, right?

(P.S., extra period in the URL in Ray's post, should be able to just click on the one in the quote here)
Copy linkTweet thisAlerts:
@ray326Jan 16.2004 — [i]Originally posted by Paul Jr [/i]

[B]Ray, you do realize that users without JS won't see your navigation, right?[/B][/quote]

Yep but I don't care. Keeps out the riff-raff. ?
[b](P.S., extra period in the URL in Ray's post, should be able to just click on the one in the quote here) [/B][/QUOTE]
Aw, maaaaaan. And I took extra care to space it out of the devedge url. It's the stupid busted forum auto-link-gen crap. Ok, I'll fix it.
Copy linkTweet thisAlerts:
@PeOfEoJan 16.2004 — lol. You should have a backup or some way non-js ppl can browse. Because sometimes I like to run around with it off (dramatically cuts down on those annoying ads that are like popups but are not actually a new window so my blocker doesnt stop them)
Copy linkTweet thisAlerts:
@Paul_JrJan 16.2004 — Lol, I figured you knew about it, but I asked for my own personal gain. You could probably do a bit of a [FONT=courier new]<noscript> </noscript>[/FONT] wrapped around the menu code? You'd have to move it out of the Iframe, or just add a copy of it to the index file.
Copy linkTweet thisAlerts:
@JonaJan 16.2004 — [font=arial]You could use an IFRAME and update its location and read from it via JavaScript, but that's definitely NOT recommended.[/font]

[b][J]ona[/b]
Copy linkTweet thisAlerts:
@pyroJan 16.2004 — [i]Originally posted by ray326 [/i]

[B]It's the stupid busted forum auto-link-gen crap. Ok, I'll fix it. [/B][/QUOTE]
For real. You'd have thought they would have checked to make sure the URL [i]didn't[/i] end with a . (or other common punctuation)... Very annoying.
Copy linkTweet thisAlerts:
@gregbainsauthorJan 17.2004 — Its an free ISP server with 30mb webspace and it dont support anything like CGI etc.

Cheers for the help, I dont really want to use an IFrame as not everyone can see it, and it doesnt always display properly.

I wouldnt mind using Javascript if anyone has the code to do it.
Copy linkTweet thisAlerts:
@gregbainsauthorJan 18.2004 — Cheers for the help I have solved the problem with Javascript,

linking to a remote javascript file, which contains document.write....
Copy linkTweet thisAlerts:
@ray326Jan 18.2004 — Ok, guys, I put a riff-raff helper into blab-n-lab. I'm also starting to play with HTML-kit rather than 1st Page and it's quite nice except for a few UI irritations. It still blows chunks on its auto-preview feature.
Copy linkTweet thisAlerts:
@Paul_JrJan 18.2004 — I don't like HTML-Kit that much. I'd actually prefer Homesite, but the trial ran out, and I don't have the money on hand to buy it. I'm beginning to get attached to Crimson Editor, except I'd like it to have code-blocks, like it Homesite. I just hit Ctrl+J, menu pops up, and I can insert blocks of code at will. ?
Copy linkTweet thisAlerts:
@pyroJan 18.2004 — Paul, you could pick up a student copy of Dreamweaver MX 2k4 for $99, which comes with Homesite+. Hard to beat that... ?
Copy linkTweet thisAlerts:
@Paul_JrJan 18.2004 — [i]Originally posted by pyro [/i]

[B]Paul, you could pick up a student copy of Dreamweaver MX 2k4 for $99, which comes with Homesite+. Hard to beat that... ? [/B][/QUOTE]

DW MX 2k4, with Homesite, for 99 bucks? Daaaaaaaaaaaaayum, that's one phat deal, G.

Where exactly could I find this student copy of DW?
Copy linkTweet thisAlerts:
@pyroJan 18.2004 — G?
Copy linkTweet thisAlerts:
@Paul_JrJan 18.2004 — [i]Originally posted by pyro [/i]

[B]G? [/B][/QUOTE]

Yeah. Like Homie, Holmes, Bro, Ect., Ect...

Also, does the student version of DW differ at all from the normal version?
Copy linkTweet thisAlerts:
@pyroJan 18.2004 — Ah, ok... ?

As far as differing, I highly doubt it. Normally the only differences are the license agreement and the pricetag. :p
Copy linkTweet thisAlerts:
@Paul_JrJan 18.2004 — Aight, man. Thanks a lot, this is awesome.
Copy linkTweet thisAlerts:
@pyroJan 18.2004 — Sure thing, mate... ?
Copy linkTweet thisAlerts:
@Paul_JrJan 18.2004 — [i]Originally posted by pyro [/i]

[B]Sure thing, mate... ? [/B][/QUOTE]

Mate? And you're from Wisconsin...?
Copy linkTweet thisAlerts:
@pyroJan 18.2004 — I have too many English influences on me... ?
×

Success!

Help @gregbains 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.21,
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,
)...