I've automated that along with content by writing a news aggregator. Then I use a social service to submit to Twitter. Naturally, the generated page has ads in it before the news story.
Rick
I'm not a database fan unless I absolutely have to use one. HTMLy is pretty flexible once I found the PHP functions I was able to do some editing. It used Mark Down and has a nice UI. Backing up is just a matter of FTP. I was just wondering if anyone else is using it in here and has any tips...
One interesting thing I recently heard is Google can now spider the audio in a YouTube video
If that's the case then we cannot do things like just change the title from 2019 to 2021 and get more views
It's been quite a while since I've been here. I'd been focusing on my computer tutoring and repair business. I'm now ready to switch primary businesses to affiliate and online marketing. I'll tread lightly as I'm sure rules have changed by now. I'd appreciate other members calling me out if I...
Thanks guys
$lastmod=strtotime($lastmod);
$today = date("Y-m-d");
if ($today < $lastmod+strtotime('+7 days')) {exit; }
//$lastmod is already in the y-m-d format so I didn't think I needed to add that
Rick
I got this function to work. How can I edit it so I only get urls with nnnn in them?
function getUrls($string) {
$regex = '/https?\:\/\/[^\" ]+/i';
preg_match_all($regex, $string, $matches);
return ($matches[0]);
}
//$urls = getUrls($string);
//print_r($urls);
Like I said I'm still wrapping my head around preg_match_all but I like the fact I can avoid having to loop
but the links would be like this
<a href="http://nnnn.vendor.company" target="_blank">
Aloha everyone,
I'm still having trouble wrapping my head around preg_match_all My ADHD brain hasn't seen the pattern yet.
I have a var with web page content. How to I grab all urls with nnnn in them?
Thanks,
Rick
Any rules about grabbing Amazon products for my page and converting the links to my affiliate links?
Any tips in doing this? As long as I can use get file contents replacing the strings should be pretty easy.
Rick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.