A url

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Assuming you had 5 links on a webpage and these 5 links pointed to 5  
different websites .

What sort of info can be grabbed from the five different websites .

This info would be shown on the webpage with the 5 links .

The info gathering would be a one time process - with a option to do a  
refresh info if wanted .

Although i've seen users talk about this sort of this on other  
newsgroups I didnt pay much attention as I didnt want or need it at the  
time .

One thing I would be very interested in would be if it would be possible  
to take a screenshot of a website and then resize it to a thumbnail for  
display next to the url of the website .

A refresh would take another screenshot and update the thumbnail .

Re: A url

SOR wrote:

Quoted text here. Click to load it

he he, tricky, you want a web browser that can be controlled by code and a
screen capture that can be controlled by code,

konqueror has dcop.  
I have no suggestions for screen grabber, but Im sure there is one.

Then you will want to reduce the size. php can do that bit with gd (or
better gd2).

It will be processor & bandwidth intensive. and difficult.

you have been warned.

Re: A url

<Sat, 30 Jul 2005 18:22:16 +0100>

Quoted text here. Click to load it

The warning has been heeded :-)

Will settle for just grabbing some text from the website the url points  
too , How about the title text info and some words from the page .

Re: A url

SOR (webmaster@sparesorrepair.co.uk.INVALID) decided we needed to  
Quoted text here. Click to load it

In that case the curl functions will enable you to do what you want.
Given some of your recent postings I hesitate to point you to php.net  
;) but, oh well - http://www.php.net/manual/en/ref.curl.php - the
explanations/examples there should get you started.

(Remove REMOVE for email address)

Re: A url

<Sun, 31 Jul 2005 01:30:20 -0400>

Quoted text here. Click to load it

Had the option of reading up on web fetching or actually writing the  
script using what I already know and opted to write it as the web fetch  
wasnt important .

I've downloaded a few web fetch scripts from hotscripts and will have a  
look to see how others have done it .

Either way its just a small script and almost finished and will post a  
url later when some hosting dns changes I made catch up .

Re: A url

<Sun, 31 Jul 2005 14:39:32 +0100>

Quoted text here. Click to load it


So far only tested by myself - who knows .

Re: A url

Quoted text here. Click to load it

use the http protocol client class to get the page
and your favourite string-slicer to extract the data you want.



Site Timeline