In that noble quest for non-duplication of content I thought a nice little thing.
If I write a text about, oh lets say bunnies. It would be nice to upload it to several places and have it different each place (Of course with links to my sites about bunnies and stuffed with keywords (the text of course, not the bunnies (Ooh! Nested paragraphs in a sentence, who's still with me?
)))
So what if I wrote a small text like this: "Bunnies are %small|furry|delicious in a stew|dangerous|%." and had a quick regexp searching for a pattern matching keyword|+ inside and replacing the whole block with just one of the keywords/phrases inside it.
An example of the text example run through the regexp could be:
"Bunnies are furry." or
"Bunnies are delicious in a stew."
It can probably be done with several commands, but, hell, regular expressions are so powerful they must be able to do this too
Can it be done?
If I write a text about, oh lets say bunnies. It would be nice to upload it to several places and have it different each place (Of course with links to my sites about bunnies and stuffed with keywords (the text of course, not the bunnies (Ooh! Nested paragraphs in a sentence, who's still with me?

So what if I wrote a small text like this: "Bunnies are %small|furry|delicious in a stew|dangerous|%." and had a quick regexp searching for a pattern matching keyword|+ inside and replacing the whole block with just one of the keywords/phrases inside it.
An example of the text example run through the regexp could be:
"Bunnies are furry." or
"Bunnies are delicious in a stew."
It can probably be done with several commands, but, hell, regular expressions are so powerful they must be able to do this too

Can it be done?