Hi i am trying to apply CSS to RSS page(Online). How to do so?
I tried loading a RSS page to div but doesn’t work. Any solution please suggest
Are you trying to style a raw RSS file? If so, that won’t work. What you need to do is parse the contents and display them as individual HTML elements on your page. This article briefly describes how you can do that: https://www.hongkiat.com/blog/rss-reader-in-javascript/
Once you have the contents loaded in your page, you can then use regular CSS selectors and so on to style the content.
Cheers,
Kirupa
It’d be kind of cool if you could serve XML that was simultaneously valid RSS and XHTML/XSLT. Then you’d sort of have the best of both worlds.
1 Like
thanks you very much , for this article