JL Forums

how is this possible..

0 Members and 1 Guest are viewing this topic.

how is this possible..
« on: November 07, 2012, 12:23:47 AM »
Hello Friends

total newbie at spinning here, so this might be a very dumb question for most.

i wud appreaciate if someone can advise me if and how this is possible: 

I have a bit of code i need to replicate. this is the code :    <category name=' Mykeyword '>     
                                                                                                   <subscriptions>
                                                                                                         <subscription>
                                                                                                                <param name='keywords' value='Mykeyword ' />
                                                                                                         </subscription>
                                                                                                   </subscriptions>
                                                                                             </category>
basically i have a list of keywords, 46 to be exact.
i need 46 replicas of the above code.
with each  46 units of code with their distinct keyword

thnx





Offline Meg

  • *****
  • 7320
  • Freedup to do what you really want
    • View Profile
Re: how is this possible..
« Reply #1 on: November 07, 2012, 01:32:04 AM »
Hello Friends

total newbie at spinning here, so this might be a very dumb question for most.

i wud appreaciate if someone can advise me if and how this is possible: 

I have a bit of code i need to replicate. this is the code :    <category name=' Mykeyword '>     
                                                                                                   <subscriptions>
                                                                                                         <subscription>
                                                                                                                <param name='keywords' value='Mykeyword ' />
                                                                                                         </subscription>
                                                                                                   </subscriptions>
                                                                                             </category>
basically i have a list of keywords, 46 to be exact.
i need 46 replicas of the above code.
with each  46 units of code with their distinct keyword

thnx


If you don't mind the keywords being different in the two place in your code, then the simplest way is this:
<category name=' {Mykeyword|Mykeyword2|Mykeyword3|Mykeyword4} '>
<subscriptions>
<subscription>
 <param name='keywords' value='{Mykeyword|Mykeyword2|Mykeyword3|Mykeyword4} ' />
</subscription>
</subscriptions>
</category>

BUT, this will give you a different keyword probably, in the two parts of your code, eg, you might get Mykeyword2 at the top and mykeyword 4 at the bottom. If they HAVE to be the same, then you could (a) use "select Nth synonym" at the point where you are publishing or (b) use data merge.
Nth synonym will be easiest, data merge will take you longer to set up but will give you the best number of options.
See this page for how to spin links: http://www.howtospinbest.com/usertips2.html
And this page for a 6 page downloadable booklet on data merge: http://www.howtospinbest.com/datamergebooklet.pdf
« Last Edit: November 07, 2012, 02:04:55 AM by Meg »