VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1 ]
Subject: Re: Inserting $KEYWORD Variable


Author:
Patrick
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 17:49:23 08/17/05 Wed
In reply to: Wally 's message, "Inserting $KEYWORD Variable" on 17:22:36 08/12/05 Fri

Use php to create the variable.

$KEYWORD = "travel"

>I ran across the following suggestion to insert a
>keyword variable into CaRP but I couldn't understand
>how it was supposed to pull the variable value or how
>to create the variable value. Can someone explain how
>to do this and how to make it useful? Thanks
>
>-------------
>If you already use Carp and/or are comfortable with
>things like this, here’s a quick tutorial for you:
>1. Create a variable in your webpage file. Let’s call
>it “$KEYWORD”
>2. Include your Carp configuration settings if you use
>them
>3. Call the RSS feed with the keyword variable in the
>URL
>
>Example:
>CarpCacheShow("http://www.feedster.com/search.php?hl=en
>&ie=UTF-8&q= $KEYWORD&btnG=Search&sort=date");
>[NOTE: Remove the space before $KEYWORD, I put that in
>for better formatting here]
>
>See where the variable $KEYWORD is in that URL? Leave
>that as a variable in the URL, and simply change what
>the variable is equal to in each page. (Hopefully this
>makes sense)

MRL

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.