2006-03-31, 05:29 PM
Hey,
I want to pull all the first posts from the threads in the forum id 2 (news). I want to remove all CSS stylings and just get the post, plus, after X news posts (lets say 10) it goes onto a new page.
Is there anyway to do this without using a portal? Thanks
-Alex
EDIT: SOLVED.
Just remembered php parse. For anyone else who wants to kno wthe code:
Change http://www.animetenshi.net/forum/ to your forum url
I want to pull all the first posts from the threads in the forum id 2 (news). I want to remove all CSS stylings and just get the post, plus, after X news posts (lets say 10) it goes onto a new page.
Is there anyway to do this without using a portal? Thanks
-Alex
EDIT: SOLVED.
Just remembered php parse. For anyone else who wants to kno wthe code:
Latest news:<br>
<?php
$page = file_get_contents('http://www.animetenshi.net/forum/portal.php');
eregi('<!-- start: portal_announcement -->(.*)<!-- end: portal_announcement -->', $page, $result);
echo ("$result[1]");
?>
Change http://www.animetenshi.net/forum/ to your forum url