How to override default feed.jsp? | Community
Skip to main content
cqlearner
Level 2
October 16, 2015
Solved

How to override default feed.jsp?

  • October 16, 2015
  • 3 replies
  • 1594 views

Hi all,

How do you override default "/libs/foundation/components/primary/cq/Page/feed.jsp". I need to override "url".

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Overlay at /apps  Additional thing you need to do are create a proxy to avoid jcr:content in the url.

* Create /Page.feed.jsp at /apps/foundation/components/primary/cq/Page/
* copy the text from /libs/foundation/components/primary/cq/Page/proxy.jsp into newly created "Page.feed.jsp"
* Now access with http://<hostname>:<port>/content/geometrixx/en.feed you custom feed wil be called

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Overlay at /apps  Additional thing you need to do are create a proxy to avoid jcr:content in the url.

* Create /Page.feed.jsp at /apps/foundation/components/primary/cq/Page/
* copy the text from /libs/foundation/components/primary/cq/Page/proxy.jsp into newly created "Page.feed.jsp"
* Now access with http://<hostname>:<port>/content/geometrixx/en.feed you custom feed wil be called

Community Advisor
October 16, 2015

I overrided default feedentry.jsp to have my customized atom.xml, it works fine for cq:Page, dam:Asset content type.

I see there is feedentry.jsp in these folder structure, I replaced with my own feedentry.jsp.

However I don't see any feedentry.jsp which I can override in sling/OrderedFolder,  all the feed requests for sling:OrderedFolder  is getting out of box feed from libs/foundation.

Can you please let me know how to override sling:orderedFolder to use from my apps.

cqlearner
cqlearnerAuthor
Level 2
October 16, 2015

Your solution worked!

Thanks