function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
reeti bibhutireeti bibhuti 

Rss feed on Community home page

Reeti Bibhuti 
RSS feed using jquery
I made lighting component for rss feed to show on Community home page. ThereI  have a jquery method and its very simple thing. $.ready(function(){

But looks like this method is firing twice. How to fix this.
Here is the code of auro component :

<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" >
<ltng:require scripts="{!$Resource.jQuery}"
                  afterScriptsLoaded="{!c.loadJquery}" />
    
   <div id="RSSname" class="slds-page-header"></div>
    <div id="rssfeed" class="rssfeed"></div>
</aura:component>
First part of js file:
({
    loadJquery : function(component, event, helper) {
          
        jQuery(document).ready(function(){

Or is there any way to see CNN/BBC news feed on the community home page?