Jatin’s Newsletter

Share this post
Jatin's Newsletter - Issue #1
j471n.substack.com

Jatin's Newsletter - Issue #1

Jatin Sharma
May 22, 2022
Share this post
Jatin's Newsletter - Issue #1
j471n.substack.com

In this article, I am going to cover how you can create truncate strings or paragraphs by just using CSS.

In this article, I will explain how you can create an RSS feed for your Next.js application in XML and JSON format.

Truncate String with CSS

Truncate means to make something shorter, especially by cutting off the top or end. Inside paragraphs, we make the string shorter by cutting the lines.

For Example-

Full Length Text/String
Full Length Text/String
Truncate String
Truncate String

You can achieve this thing by just using some CSS properties. To learn how you can do that, read the following article-

In this article, I am going to cover how you can create truncate strings or paragraphs by just using CSS.

Use Spotify API with Next.js

Spotify API has many features and endpoints. You can get almost everything you want from your Spotify Account. Such as your Top Tracks, Top Artists and Currently Playing Song, and many more. I've implemented all of these three on my portfolio which looks something like this-

Top Streams from Spotify
Top Streams from Spotify
Top Artists from Spotify
Top Artists from Spotify

You can also add those to your portfolio or maybe you want to do something else with the Spotify API, it's up to you. The main problem is the Authorization of Spotify API, It's complicated. That's why I've created a full guide that will help you to get authorized.

In this article, I am going to explain how you can use the Spotify API to fetch the data of your account using Next.js API routes.

Add RSS feed in Next.js

An RSS (Really Simple Syndication) feed is a file that contains a summary of updates from a website, often in the form of a list of articles with links. The user doesn't need to visit to check if there is an update. RSS sends you the notification or shows the list of updates. You can use RSS Feed Reader chrome extension to manage your feed.

To Learn How you can create your Personal RSS feed. Following is the guide on how you can do it-

In this article, I will explain how you can create an RSS feed for your Next.js application in XML and JSON format.

Thanks for taking the time to go through my newsletter. Let me know on Twitter, if you have any questions regarding this, I'd be happy to help.

See you later.

Best Regards,

Jatin

Share this post
Jatin's Newsletter - Issue #1
j471n.substack.com
Comments
TopNew

No posts

Ready for more?

© 2023 Jatin Sharma
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing