SlyMarbo / rss

A Go library for fetching, parsing, and updating RSS feeds.
Other
400 stars 85 forks source link

How to read just the titles of every post #71

Closed NomadicDeveloper22 closed 5 years ago

NomadicDeveloper22 commented 5 years ago

I need to display only the titles, of each post in the rss feed, how do I do that?

I would also like to note: I'm not talking about Feed.Title

SlyMarbo commented 5 years ago

Have you tried looping through Feed.Items and printing Item.Title?

On Fri, 16 Nov 2018, 12:40 am TheRedSpy15 <notifications@github.com wrote:

I need to display only the titles, of each post in the rss feed, how do I do that?

I would also like to note: I'm not talking about Feed.Title

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SlyMarbo/rss/issues/71, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhJQkBAxtr5_oioG2EyAihmyn02K0-Yks5uvgmTgaJpZM4YkLXm .

NomadicDeveloper22 commented 5 years ago

I actually I did, but I guess I incorrectly made my for each loop. As I just retried it and it worked.

So sorry about posting an issue for my own error