POV-Ray : Newsgroups : povray.off-topic : gathering infos from web pages : Re: gathering infos from web pages Server Time
11 Oct 2024 05:20:06 EDT (-0400)
  Re: gathering infos from web pages  
From: Gilles Tran
Date: 21 Nov 2007 09:47:32
Message: <47444504@news.povray.org>

4744378d@news.povray.org...

> So I'm still at the start of this seemingly simple project.  I'm currently 
> thinking
> of getting the pages with WGET, but can I pilot WGET from Javascript ? Or 
> should
> I try another language ?  Or a completely different path ?

This could be done in PHP, something like this:

<?
$url = 'yoururl';
$needle = 'Architecture';
$haystack = file_get_contents($url);
if(strpos($haystack, $needle)!== false) {
echo 'found';
} else {
echo 'not found';
}
?>

You need to automate the url by passing the right keywords.

G.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.