Hello. Before I progress any further, I need some advice.
With my script News Site, the script saves news articles as object
expressions and loads them into memory before rendering a page based on the
values in the objects. One of the object values is a reference number to
differentiate the object from all others (since the objects are only object
expressions they are assigned to object words upon loading.)
The next feature I want to add is a commenting system. I want the reader to
be able to click on a hyperlink for "comments" which will then execute a .cgi
script. The .cgi script will then render a page including all of the comments
people have posted in regards to the news article in question. The question I
have is, how do I pass a value to a script from a hyperlink so that the
script renders the correct set of comments?
I have thought of another option, albeit more cumbersome. During the time the
main script creates object expressions for the news articles themselves, the
script could create a separate .cgi script just for that article. But how can
I write a script to a directory and then make the script executable all at
the same time? I'm thinking the web server will see the .cgi extension and
assign it executable status, but I'm not sure that is always the case.
I hope you're understanding what I am writing. Your help is much appreciated.
-Ryan
- [REBOL] adding data to hyperlinks, etc. Re: norsepower
- [REBOL] adding data to hyperlinks, etc. Re: norsepower
- [REBOL] adding data to hyperlinks, etc. Re:(2) Al . Bri
- [REBOL] Updating Lists in View/VID carl
- [REBOL] adding data to hyperlinks, etc. Re:(2) tim
- [REBOL] adding data to hyperlinks, etc. Re:(2) RChristiansen
- [REBOL] adding data to hyperlinks, etc. Re:(3) RChristiansen
- [REBOL] solved (was adding data to hyperlin... RChristiansen
- [REBOL] Re: Adding data to hyperlinks, etc. alex . pini
- [REBOL] adding data to hyperlinks, etc. Re: bhandley
