Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

showing board title in rss feed

Aloittaja crimpson, joulukuu 18, 2013, 01:41:24 IP

« edellinen - seuraava »

crimpson

Ok I got it. Thanks.
I changed my index page to php and got it working.
I've got the board title, topic title, date and time for each item.
<?php ssi_recentTopics($num_recent 12$exclude_boards null$include_boards null$output_method 'echo'); ?>
How do I get it to be like "board name, topic name, first 255 characters of topic post, exclude user name, date and time"
Thanks again and sorry for being a noob (sorry Arantor, you were being helpful)

IchBin™

If you are only using RSS feed you only need to change this single place. If you want the same options for the other types of feeds you'll have to make a similar change in different places.

Look for in Sources/News.php:
if ($xml_format == 'rss' || $xml_format == 'rss2')
$data[] = array(
'title' => $row['subject'],


Change title line to be:


'title' => $row['bname'].' - '.$row['subject'],
IchBin™        TinyPortal

Advertisement: