Re: need some guidance

From: Date: Fri, 31 Jan 2003 16:58:09 +0000
Subject: Re: need some guidance
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-133806@lists.php.net to get a copy of this message
Yeah, I was thinking more of the HTML way. With the help you two and some google searching I see that it will be difficult to pull out specific areas of a site. For example --- The news headlines from yahoo.com I've got a code that grabs that now. I just need to tweak it a bit to get the data to look presentable. <?php //Define the variables $url = ""; $start = ''; $end = ''; //Opens the file and pulls out the requested info $openfile = fopen($url, "r"); $file = fread($openfile, 50000); $data = eregi("$start(.*)$end", $file, $siteinfo); //Make it look pretty $siteinfo[1] = strip_tags($siteinfo[1], "<img>"); fclose($openfile); echo "$siteinfo[1]"; ?> "Justin French" <justin@indent.com.au> wrote in message news:BA6080D9.1E618%justin@indent.com.au... > On a major level, create or use a large CMS (content management system), and > use the information you have in the databases / file system to establish > what's new, modified, etc. > > On a smaller level, you could check which files have been updated in X days > (I think) with PHP, and display them as a list, which some selective > listing. > > On a pain-in-the-ass level, you could maintain a HTML page with links on it > to things you've recently updated, and maintain it manually. > > > If you're talking about *another site* (not yours), it would be even harder. > > > Justin > > > on 31/01/03 4:28 PM, Seth Hopkins (shopkins006@cox.net) wrote: > > > Hey everyone. I'm wondering if someone could lead me in the right direction > > on this one. What could I use to see if a site has been updated and then > > display what has been added to it? > > > > Any advice is appreciated. > > Thanks. > > > > Seth > > > > >

« previous php.general (#133806) next »