News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

RSS and ATOM links

Started by durangod, December 13, 2023, 01:07:33 AM

Previous topic - Next topic

durangod

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 :)

My name is short for durango dave (i am not a god lol)

Kindred

?? ??

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: