Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question
Is it possible to get "Subject:" out of the RSS Feed Results?
Less
More
Posts: 16
Thank you received: 0
16 years 5 months ago #32462
by Sal Collaziano
/forums/fb_rss.html?no_html=1
I'm just looking to remove "Subject:" from the title of the RSS posts.. Is there a way to do this?
Let me know..
Thank you!
Sal C.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 10668
Thank you received: 1288
16 years 5 months ago #32475
by xillibit
Hello,
open the file components/com_kunena/lib/kunena.rss.php and at line 157 change replace this :
Code:
echo " <title>" . _GEN_SUBJECT . ": " . stripslashes(kunena_htmlspecialchars($row->subject)) . " - " . _GEN_BY . ": " . stripslashes(kunena_htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
by this :
Code:
echo " <title>" . _GEN_BY . ": " . stripslashes(kunena_htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 1031
Thank you received: 72
16 years 5 months ago - 16 years 5 months ago #32476
by Mortti
Check components/com_kunena/lib/kunena.rss.php about line 157:
Code:
echo " <title>" . _GEN_SUBJECT . ": " . stripslashes(kunena_htmlspecialchars($row->subject)) . " - " . _GEN_BY . ": " . stripslashes(kunena_htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
and try this:
Code:
echo " <title>" . stripslashes(kunena_htmlspecialchars($row->subject)) . " - " . _GEN_BY . ": " . stripslashes(kunena_htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
EDIT : xillibit just answer too
Last edit: 16 years 5 months ago by
Mortti .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 16
Thank you received: 0
16 years 5 months ago #32479
by Sal Collaziano
Thanks, you two! This one worked as I needed it to...
Mortti wrote: Check components/com_kunena/lib/kunena.rss.php about line 157:
Code:
echo " <title>" . _GEN_SUBJECT . ": " . stripslashes(kunena_htmlspecialchars($row->subject)) . " - " . _GEN_BY . ": " . stripslashes(kunena_htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
and try this:
Code:
echo " <title>" . stripslashes(kunena_htmlspecialchars($row->subject)) . " - " . _GEN_BY . ": " . stripslashes(kunena_htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
EDIT : xillibit just answer too
Please Log in or Create an account to join the conversation.