AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Rss reader8/22/2023 It probably would have been faster if I wasn't tired and didn't try to do too many things at once in the beginning. Much of that time was troubleshooting and research. fetch ( feed, getFeeds () Īll in all, it took around four hours to write. No CORS, this is an "opaque" mode that limits what headers are sent. I tested that I could reach all the feeds in the browser and was served the appropriate XML.Īn example RSS XML document from my personal dev.to feed. I searched online for example feeds to pull from and decided on dev.to's feed, Codepen's feed, and Mozilla Hacks Blog. ![]() I found one tutorial that used the (then new) Fetch API and decided to build on that.įinding feeds is harder than it used to be back in 2006. Many of them were written in older syntax or used frameworks. I did a search for "rss reader javascript" and I came across several older projects and tutorials. Accessing these RSS feeds is free and many popular and robust feed readers (which we’ll talk about more in a moment) are also free. This feed can be subscribed to by anyone with internet access and an appropriate tool called a feed reader. Whenever I start a new project, I look for examples of the idea or similar ideas to build from. RSS allows web sites to push out content in a standardized format commonly called a feed. Okay, it wasn't a whim, Twitter was on fire and what better way to distract myself from my usual distraction than creating a new web application? Sadly, RSS has fallen out of popularity probably due to social media and other feeds taking over its role.īut last night on a whim, I decided to build a personal RSS reader with Vanilla JS. In addition, many browsers used to have RSS readers built in. It used to be quite popular with several different apps devoted to reading these feeds. RSS (Really Simple Syndication) is a web feed to check for updates on sites. Blogging never went away and neither did RSS feeds.
0 Comments
Read More
Leave a Reply. |