Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

RSS News Feed

Avatar

Former Community Member

Hi,

I need to implement rss news feed in one of my cq page.

I have seen one Feed Link component is available under collaboration section. But that component asks us to only give link text, there is no such field to give rss file (.xml)

Please let me know If cq5 has any rss feed component.

If it is not please guide me how to make it.

 

Regards,

Anderson

1 Accepted Solution

Avatar

Correct answer by
Level 2

What does this RSS News Feed need to do?  Are you trying to import content from an RSS feed?  If so, I'd look at implementing an Importer:

http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/polling/importer/Importer.html

If you're trying to generate a feed of the child pages of the current page, you can use the feed selector:

http://dev.day.com/docs/en/cq/current/wcm/web_syndication_feeds.html

If you are trying to generate a custom feed, you may be able to use the list component, but it depends on exactly what you are trying to do:

http://dev.day.com/docs/en/cq/current/wcm/web_syndication_feeds.html#Using%20the%20List%20Component

View solution in original post

6 Replies

Avatar

Correct answer by
Level 2

What does this RSS News Feed need to do?  Are you trying to import content from an RSS feed?  If so, I'd look at implementing an Importer:

http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/polling/importer/Importer.html

If you're trying to generate a feed of the child pages of the current page, you can use the feed selector:

http://dev.day.com/docs/en/cq/current/wcm/web_syndication_feeds.html

If you are trying to generate a custom feed, you may be able to use the list component, but it depends on exactly what you are trying to do:

http://dev.day.com/docs/en/cq/current/wcm/web_syndication_feeds.html#Using%20the%20List%20Component

Avatar

Former Community Member

Yes, I am trying to import content from RSS feed. I will check the abovr URL.

It would be really helpful if you provide any sample code on this.

Thanks,

Anderson

Avatar

Level 1

I need to generate RSS Feeds for my pages. I am not able to find feed link component (collaborator section itself) in AEM 6.1. Can you please assist.

Thanks,

Anjali

Avatar

Level 4

Did you find a solution? I don't understand how this is working. In my page the .feed extension does not work and I see non of the components like feed link. Are there some more detailed information how to setup a feed?

Avatar

Level 1

Hi Tim,

My requirement was to generate the feeds for multiple pages and show those collectively under one url.

For that I overlaid the default feed scripts and modified according to my requirement. The paths for the scripts are mentioned below.

/apps/foundation/components/primary/cq/Page/feed.jsp   &&

/apps/foundation/components/primary/cq/Page/feedentry.jsp

Hope you find this helpful and appologies for late response.

Regards,

Anjali

Avatar

Level 5

I Have same requirement can you say how to achieve this