Researching this topic took me a long time, mainly because of my lack of knowledge of how RSS actually works, I understand that generating RSS is basically generating an XML file with multiple items each of which have its' own title and description..etc.and then we can display these items on the front-end.
I am asking the question above to prevent overthinking or overworking the problem, I am not sure if websites like Facebook and LinkedIn use the RSS approach described above or even if they use RSS at all.
Whatever the correct approach may be, I know that this problem have two branches, one is the generation of the news feed in the back-end with MySQL and Java, and the second involves displaying them correctly which most likely is done using jQuery.
Any suggestion of how to approach this problem is appreciated.