can i get an example of how to read values from a text file that will be
used as links on my page.
i'll have a .cvs file ala:
LINK ASP_PAGE
"click me1", "clickme1.asp"
"click me2", "clickme2.asp"
"click me3", "clickme3.asp"

i think i can figure out how to do the read, but need to know how to get it
on the page where i need it.

tia,
mcnewsxp

Re: use text file as link source by Evertjan

Evertjan
Thu Mar 06 13:58:16 CST 2008

mcnewsxp wrote on 06 mrt 2008 in
microsoft.public.inetserver.asp.general:

> can i get an example of how to read values from a text file that will
> be used as links on my page.
> i'll have a .cvs file ala:
> LINK ASP_PAGE
> "click me1", "clickme1.asp"
> "click me2", "clickme2.asp"
> "click me3", "clickme3.asp"
>
> i think i can figure out how to do the read, but need to know how to
> get it on the page where i need it.

Read with FileSystemObject
repeat:
do a ReadLine
determine that there are no internal apostrophes
scrape off the outer ""
split the result on the '","' to an array
<a href = '<%=a(2)%>'><%=a(1)%></a><br>
etc.
till eof


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: use text file as link source by mcnewsxp

mcnewsxp
Thu Mar 06 14:06:38 CST 2008

like i said - i can figure out the reading part.
how do i get it to display on the page where i want it?

Click me1 Clicke me 2 Click me 3

"Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
news:Xns9A59D5538F3D7eejj99@194.109.133.242...
> mcnewsxp wrote on 06 mrt 2008 in
> microsoft.public.inetserver.asp.general:
>
>> can i get an example of how to read values from a text file that will
>> be used as links on my page.
>> i'll have a .cvs file ala:
>> LINK ASP_PAGE
>> "click me1", "clickme1.asp"
>> "click me2", "clickme2.asp"
>> "click me3", "clickme3.asp"
>>
>> i think i can figure out how to do the read, but need to know how to
>> get it on the page where i need it.
>
> Read with FileSystemObject
> repeat:
> do a ReadLine
> determine that there are no internal apostrophes
> scrape off the outer ""
> split the result on the '","' to an array
> <a href = '<%=a(2)%>'><%=a(1)%></a><br>
> etc.
> till eof
>
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)



Re: use text file as link source by Evertjan

Evertjan
Thu Mar 06 17:57:32 CST 2008

mcnewsxp wrote on 06 mrt 2008 in microsoft.public.inetserver.asp.general:
> "Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
> news:Xns9A59D5538F3D7eejj99@194.109.133.242...
>> mcnewsxp wrote on 06 mrt 2008 in
>> microsoft.public.inetserver.asp.general:
>>
>>> can i get an example of how to read values from a text file that will
>>> be used as links on my page.
>>> i'll have a .cvs file ala:
>>> LINK ASP_PAGE
>>> "click me1", "clickme1.asp"
>>> "click me2", "clickme2.asp"
>>> "click me3", "clickme3.asp"
>>>
>>> i think i can figure out how to do the read, but need to know how to
>>> get it on the page where i need it.
>>
>> Read with FileSystemObject
>> repeat:
>> do a ReadLine
>> determine that there are no internal apostrophes
>> scrape off the outer ""
>> split the result on the '","' to an array
>> <a href = '<%=a(2)%>'><%=a(1)%></a><br>
>> etc.
>> till eof

[Please do not toppost on usenet and do not quote signatures]


> like i said - i can figure out the reading part.
> how do i get it to display on the page where i want it?
>
> Click me1 Clicke me 2 Click me 3
>

Positioning is clientside html stuff, please ask in a clientside NG.

ASP code runs only serverside.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: use text file as link source by mcnewsxp

mcnewsxp
Fri Mar 07 08:46:24 CST 2008

please only answer questions.

postioning code is written in ASP pages.



Re: use text file as link source by Evertjan

Evertjan
Fri Mar 07 09:11:52 CST 2008

mcnewsxp wrote on 07 mrt 2008 in microsoft.public.inetserver.asp.general:

> please only answer questions.

1 what are you responding on?

[please always quote on usenet]


2 This is usenet, not a paid hepldesk

> postioning code is written in ASP pages.

Is it?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: use text file as link source by Bob

Bob
Fri Mar 07 09:39:49 CST 2008

mcnewsxp wrote:
> please only answer questions.
>
> postioning code is written in ASP pages.

BZZZZT
If you can change the file's extension from .asp to .htm and still have
the same question, then you don't have an asp question.

Now, you can continue trying to boss us around and risk not getting an
answer to this or any future question you post in this group (yes,
someone might decide to spend his/her time on an offtopic question - you
should consider yourself fortunate if they do).
Or you can take the well-intentioned advice and post your html/css
question to a group where experts in those tecnologies congregate. Here
are some suggestions:
http://groups.google.com/groups/dir?sel=33584039

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



Re: use text file as link source by Adrienne

Adrienne
Fri Mar 07 09:50:15 CST 2008

Gazing into my crystal ball I observed "mcnewsxp" <mcourter@mindspring.com>
writing in news:OJG7FIGgIHA.484@TK2MSFTNGP06.phx.gbl:

> please only answer questions.
>
> postioning code is written in ASP pages.
>
>

response.write "Go to alt.html or comp.infosystems.www.authoring.html"

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


Re: use text file as link source by mcnewsxp

mcnewsxp
Fri Mar 07 12:17:25 CST 2008


"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:eJbp7lGgIHA.1212@TK2MSFTNGP05.phx.gbl...
> mcnewsxp wrote:
>> please only answer questions.
>>
>> postioning code is written in ASP pages.
>
> BZZZZT
> If you can change the file's extension from .asp to .htm and still have
> the same question, then you don't have an asp question.
>
> Now, you can continue trying to boss us around and risk not getting an
> answer to this or any future question you post in this group (yes,
> someone might decide to spend his/her time on an offtopic question - you
> should consider yourself fortunate if they do).
> Or you can take the well-intentioned advice and post your html/css
> question to a group where experts in those tecnologies congregate. Here
> are some suggestions:
> http://groups.google.com/groups/dir?sel=33584039
>
>

ya'll are a touchy bunch....
thanks for the link.



Re: use text file as link source by Jeff

Jeff
Mon Mar 10 17:57:33 CDT 2008

Put the links inside a table.

Jeff

"mcnewsxp" <mcourter@mindspring.com> wrote in message
news:OmnlxI8fIHA.5624@TK2MSFTNGP02.phx.gbl...
> can i get an example of how to read values from a text file that will be
> used as links on my page.
> i'll have a .cvs file ala:
> LINK ASP_PAGE
> "click me1", "clickme1.asp"
> "click me2", "clickme2.asp"
> "click me3", "clickme3.asp"
>
> i think i can figure out how to do the read, but need to know how to get
> it on the page where i need it.
>
> tia,
> mcnewsxp
>