Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Active Home Page

Reply
Thread Tools

Active Home Page

 
 
laura
Guest
Posts: n/a
 
      04-26-2005
I have been trying to produce an intranet for the past few months for a
small company. I'm almost there with it - it has some ASP, some JavaScript
and about 18 HTML pages.

What I need help on right now is this. They want to be able to have a very
short, two sentences maybe, Daily Notice on the home page of the intranet.
They will not have anyone there who can amend the intranet on a frequent
basis, so I thought I would try to do something like having a text file
which they can easily update and copy into the right directory on the server
and although I can do this using INCLUDE PAGE on an ASP page and picking up
the text and dumping it into a <div> </div> with scroll bars - I cannot seem
to be able to think of a way of doing it on the index.htm home page as this
is not and ASP page.

Is there any way in HTML to be able to read the contents of a text file into
the browser or can anyone suggest a better way of having this Daily Notice
type of thing work with current text on the home page of the intranet?

Hope this is not too confusing..
Laura TD



 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      04-26-2005
laura wrote on 26 apr 2005 in microsoft.public.inetserver.asp.general:

> I have been trying to produce an intranet for the past few months for
> a small company. I'm almost there with it - it has some ASP, some
> JavaScript and about 18 HTML pages.


ASP and javascript are not opposites.
ASP can be written in j[ava]script or in vbscript.
ASP renders html pages.


> What I need help on right now is this. They want to be able to have a
> very short, two sentences maybe, Daily Notice on the home page of the
> intranet. They will not have anyone there who can amend the intranet
> on a frequent basis, so I thought I would try to do something like
> having a text file which they can easily update and copy into the
> right directory on the server and although I can do this using INCLUDE
> PAGE on an ASP page and picking up the text and dumping it into a
> <div> </div> with scroll bars - I cannot seem to be able to think of a
> way of doing it on the index.htm home page as this is not and ASP
> page.
>
> Is there any way in HTML to be able to read the contents of a text
> file into the browser or can anyone suggest a better way of having
> this Daily Notice type of thing work with current text on the home
> page of the intranet?


You can set IIS to see and run .htm extention pages as asp pages,
but far easier just rename all .htm pages to .asp pages.

..asp pages do NOT have to have any asp code in them!!!!

For external [incoming!] links, that you don't want to lose,
you could write a short redirection code in your custom 404.asp page.

> Hope this is not too confusing..


As long as you are open to the above new ways it is easy.

<pre style='border-style:inset;width:70%;height:400px;'>
<!--#include virtual ="/blub/myText.txt"-->
</pre>

===========================

If you are not allowed to rename index.htm for one absurd reason or
another, just fill the index.htm only with:

<meta http-equiv="Refresh"
content="1;url=http://www.mydomain.com/index.asp">

after(!!) copying the old content of index.htm to index.asp.



--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

 
Reply With Quote
 
 
 
 
laura
Guest
Posts: n/a
 
      04-26-2005
Some brilliant advice, tips, suggestions and help and I want to say thank
you so much. I will try these things soon and leave a message on this thread
to let you know how I got on. MANY THANKS.
Laura

"Evertjan." <(E-Mail Removed)> wrote in message
news:Xns96446EEA05E76eejj99@194.109.133.29...
> laura wrote on 26 apr 2005 in microsoft.public.inetserver.asp.general:
>
>> I have been trying to produce an intranet for the past few months for
>> a small company. I'm almost there with it - it has some ASP, some
>> JavaScript and about 18 HTML pages.

>
> ASP and javascript are not opposites.
> ASP can be written in j[ava]script or in vbscript.
> ASP renders html pages.
>
>
>> What I need help on right now is this. They want to be able to have a
>> very short, two sentences maybe, Daily Notice on the home page of the
>> intranet. They will not have anyone there who can amend the intranet
>> on a frequent basis, so I thought I would try to do something like
>> having a text file which they can easily update and copy into the
>> right directory on the server and although I can do this using INCLUDE
>> PAGE on an ASP page and picking up the text and dumping it into a
>> <div> </div> with scroll bars - I cannot seem to be able to think of a
>> way of doing it on the index.htm home page as this is not and ASP
>> page.
>>
>> Is there any way in HTML to be able to read the contents of a text
>> file into the browser or can anyone suggest a better way of having
>> this Daily Notice type of thing work with current text on the home
>> page of the intranet?

>
> You can set IIS to see and run .htm extention pages as asp pages,
> but far easier just rename all .htm pages to .asp pages.
>
> .asp pages do NOT have to have any asp code in them!!!!
>
> For external [incoming!] links, that you don't want to lose,
> you could write a short redirection code in your custom 404.asp page.
>
>> Hope this is not too confusing..

>
> As long as you are open to the above new ways it is easy.
>
> <pre style='border-style:inset;width:70%;height:400px;'>
> <!--#include virtual ="/blub/myText.txt"-->
> </pre>
>
> ===========================
>
> If you are not allowed to rename index.htm for one absurd reason or
> another, just fill the index.htm only with:
>
> <meta http-equiv="Refresh"
> content="1;url=http://www.mydomain.com/index.asp">
>
> after(!!) copying the old content of index.htm to index.asp.
>
>
>
> --
> Evertjan.
> The Netherlands.
> (Replace all crosses with dots in my emailaddress)
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASA 5520 Active/Active Conguration Example UBEST Cisco 5 03-24-2008 05:13 PM
Rolling upgrade of Active-active cluster for SQL server 2000 =?Utf-8?B?U3VzaGls?= MCSE 1 02-16-2006 05:57 AM
Thunderbird filters "active" but not "active" =?ISO-8859-2?Q?Rafa=B3_=A3o=BFy=F1ski?= Firefox 5 05-18-2005 07:27 AM
Active content on Home Page speedbro Computer Support 7 04-21-2005 04:30 PM
When I open Internet Explorer, along with my home page a pop page pops up, I have changed home page but that doesnt work Phil Computer Support 7 03-04-2004 12:22 AM



Advertisments