New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Content spinner by site refresh? Something like that?
Guys I need some script that spinns the site content by every refresh.
EX:
i come in a site with this content: hello every one.
after the site refresh, the content should be changed to: every one hello. by the next refresh should be: hello one every...
is there something like that?
Thank you!
Comments
Like a marquee but on refresh?
marquee?
No.
@BuyAds you could use a PHP array if you want a pretermined set of options. Or do you want it to be completely random? And do you care if it makes sense?
thank you guys.. I mean to spin the whole article and not only the three words
You want to shuffle all words? You could explode your string on ' ' and then use shuffle(). If that's what you mean.
maybe use the spinbot api? interesting idea to keep your content "original"
If you're doing this for search engines, they will penalize you. Well, google at least (I tried).
But anyways,
Thank you! Will give it a try
Can't Google detect if your content is grammatically/structurally correct? It's the same way that they detect if a paragraph is just keywords one after the other and penalize if so.
No idea, they keep everything secret. Will give it a try who knows, maybe is a good idea.
You are a bad person
$parts = explode(" ", $article);
shuffle($parts);
Sir when I write this one:
<?php $article = "hello everyone and every single one of you"; $parts = explode(" ", $article); shuffle($parts); $randomarticle = implode(" ", $parts); ?>
Am getting error:
Parse error: syntax error, unexpected '=' in /home/../ on line 2
Is that you Jesus?
He's not doing it for search engines, otherwise it'd be the same on every page load.
Shh, don't tell him why his post doesn't make sense
facedesk
Thank you, will try it asap!
Can I ask why you're doing it? It seems like A/B testing, but if you're doing it randomly you won't know the results.
I will implement it into a script and this thing works very good. Is just a seo experiment.
@KwiceroLTD thank you this worked. I wonder is there is option to add a link in this inside:
Presuming you're not putting spaces, yes, you're exploding by space, also you can't double double quotes without causing an error, you'll have to escape or swap to single.
IE:
OR:
I think it's a good thing that people try to scam search engines. This will prevent it from happening in the long run. And it wastes their time that they otherwise would have used to scam old people over the phone.
<- can't wait for the random words blogs and sites like rssing and alternativeto to disappear
am getting error
Parse error: syntax error, unexpected 'http' (T_STRING) in /home
I used like this:
http://pastebin.com/raw.php?i=QrmRhDmd
@BuyAds same problem I just explained, you're double double quoting, if you do a string like
Then expect errors, as the " causes a break, and if you did something like ".session_id()." it wouldn't cause an error, so change the href ( " ) to '.
Thank you Sir! I have change it but now it shows as text and not as link.
Here you can test it: http://veniceholiday.org/4444.php
Post the raw PHP code please.
@KwiceroLTD sorry for the late reply, I was under stress you know it
Here is the raw code: http://pastebin.com/raw.php?i=E9Amfkfu
Thank you for the time Sir!
Maybe try something like this: http://pastebin.com/raw.php?i=fGzzrRWA
It replaces the word "testlink" for the url.