Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: durangod on December 13, 2023, 01:07:33 AM

Title: RSS and ATOM links
Post by: durangod on December 13, 2023, 01:07:33 AM
Hi,  you provide the setup for RSS and ATOM in the native install, great!!  However, i dont see feature setting for adding links to the header or otherwise. So i had to edit the core index tempate file.

Here is my change..

//mod by dave to show rss feeds

echo '
       <a href="https://example.com/index.php?action=.xml;type=rss2" class="my_rss"><i class="fas fa-rss"></i> RSS </a>
       <a href="https://example.com/index.php?action=.xml;type=atom" class="my_rss"><i class="fas fa-rss"></i> ATOM </a>
       <br>
       <br>
         ';
         
    //end of rss mod by dave



Is it doable to add a option to add the links in the header as part of the RSS settings,  just use a radio button on or off ?

Thanks :)

Title: Re: RSS and ATOM links
Post by: Kindred on December 13, 2023, 06:12:59 AM
?? ??

No... if you want to add to the menu,  then follow the instructions for adding a menu button....

Adding hard-coded links is the wrong way to go about it...

And rss is not normally in the header of any site that I have been to. :P they are always in the footer, if any