Posted by Geoff Berrow on 03/02/07 08:40
Message-ID: <es8kto$o5p$1@registered.motzarella.org> from Ulrich
Schmidt-Goertz contained the following:
>> The full instructions are here: http://www.stumbleupon.com/integrate.php
>>
>> Any ideas?
>
>This should be easy with regular expressions. Try something like:
>
>$text = file_get_contents($url);
>preg_match('<title>(.*)</title>', $text, $matches);
>$title = $matches[1];
And if you want your pages to validate make it
http://www.stumbleupon.com/submit?url=http://www.yoursite.com/article.php&title=The+Article+Title
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|