Gossamer Forum
Home : Products : Links 2.0 : Customization :

Why doesnt " --> work?

Quote Reply
Why doesnt " --> work?
Why doesnt
Code:
<!-- exec cgi="cgi-bin/search.cgi?query=<%query%>" -->
work?

I just keep on getting and error!!

What is up with that?!

Please Help

Thanks

Gian

[This message has been edited by Gian (edited February 05, 2000).]
Quote Reply
Re: Why doesnt " --> work? In reply to
uh...

why would you want to execute search.cgi with ssi???

of course you would get errors because there are no files on your server with "search.cgi?query=<%query%>" that query tag at the end is supposed to be entered in by Links 2.0 when you do the search dynamically.....
Quote Reply
Re: Why doesnt " --> work? In reply to
no well i have made a whole set of mods and that was the best example that i could have given.

It is not actually that.

But basically i can get search.cgi to work but not search.cgi?query=xxxxx

why is this and is there a mod i can make to fix this?

I promise that when it is finished i will clue you in man...

Regards

Gian
Quote Reply
Re: Why doesnt " --> work? In reply to
Okay....why don't you help me help YOU by clueing me in on what you are doing??

if you don't then how am I supposed to help you?

and besides like i already told you...you can't do it with "search.cgi?query=<%query%>" because the <%query%> is filled in by Links itself so there is NO way that you can use ssi to do whatever you are chosing not to tell me Smile
Quote Reply
Re: Why doesnt " --> work? In reply to
Okay....basically i have turned links into a news generator i will give out the url once it is finished what i want to do is call related articles. I have added a filed called 'about'. Now i have take search.cgi and took its essence and made related.cgi and then i want to query or search for about!

If there is a related article a small table will come up...if not....nothing..so it is no really search.cgi i am calling just related.cgi but search was the best example i could have given

so what i want to do is this
Code:
<!-- exec cgi="related.cgi?query=<%About%>" -->

so uh....if you can help now??

Thanks

Gian
Quote Reply
Re: Why doesnt " --> work? In reply to
At least one problem is in your syntax... you need to write:

<!--#exec ....

notice there are no spaces. HTH
Bob
Quote Reply
Re: Why doesnt " --> work? In reply to
Oh....wwell no ....that is not the problem, i wrote that from my head not cut and paste so...umm..........no that is not what is causing the problem....

Any other suggestions?

Thanks

Gian