Topic: How to modify extern.php for better website integration
I'm currently using this:
<p> <? echo file_get_contents("http://www.mysite.fr/forum/extern.php?show=5"); ?> </p>
To display the 5 last forum topics on my website, but I have a little problem with the output, it gives this:
How can I display the last posts without the big dot at the beginning and the spaces?
I just want the topic titles to be displayed, truncated to the right length with this part of extern.php:
// The length at which topic subjects will be truncated (for HTML output) if (!defined('FORUM_EXTERN_MAX_SUBJECT_LENGTH')) define('FORUM_EXTERN_MAX_SUBJECT_LENGTH', 30);
So is it possible to get
News Test post Test de longueu… What is the now? dhtdjhtsj
instead of what is on the picture above?
Thanks to anyone who can help