seothtt 1 Posted May 30, 2012 Report Share Posted May 30, 2012 I have a list of keywords that I need to add to my navagate url. The issue is, I need to add a + between any multiple words. So red apple would become red+appleround green apple would become round+green+apple How do I do I take my list and do this in the navigate to command? Richard Quote Link to post Share on other sites
Legend 181 Posted May 30, 2012 Report Share Posted May 30, 2012 something like this... ui text box("keywords", #keywords)set(#keywords, "red apple", "Global")change attribute(<name="q">, "value", $replace(#keywords, " ", "+")) http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif Quote Link to post Share on other sites
seothtt 1 Posted May 30, 2012 Author Report Share Posted May 30, 2012 DuaneF, So on the second line, Set I have Set(#keywords, "New Value", "Global") I'm just not understanding what to put in the new value, I don't want all my keywords to be "red apple" Richard Quote Link to post Share on other sites
seothtt 1 Posted May 30, 2012 Author Report Share Posted May 30, 2012 Do I do this before or after adding them to a list? Richard Quote Link to post Share on other sites
Legend 181 Posted May 30, 2012 Report Share Posted May 30, 2012 There were 2 choices there... you can either add the words in the textbox, or just delete that line and add them through a #variable... the main thing is that you just use the replace parameter and replace the empty space with a + mark in whatever way you are using to store your keywords... Quote Link to post Share on other sites
seothtt 1 Posted May 30, 2012 Author Report Share Posted May 30, 2012 Oh, cool thanks very much. Richard Quote Link to post Share on other sites
Legend 181 Posted May 30, 2012 Report Share Posted May 30, 2012 np... if you have any problem with the code, just paste it here for more specific responses... http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.