Fórumok
page doRender interception for Auto SEO
enrico zanchetta, módosítva 11 év-val korábban
page doRender interception for Auto SEO
New Member Bejegyzések: 5 Csatlakozás dátuma: 2012.03.29. Legújabb bejegyzések
I have to set automatically the keywords of the web content for SEO.
I would read the first lines of each web content and call:
PortalUtil.addPageKeywords ("keyword1 webcontent1, keyword2 webcontent2", PortalUtil.getHttpServletRequest (renderRequest));
PortalUtil.addPageDescription ("desc webconten1 desc webcontent2 desc", PortalUtil.getHttpServletRequest (renderRequest));
to each page load.
What is the point where it is loading the page? On liferay is a system similar to where I can intercept methods doRender addPageDescription?
I would read the first lines of each web content and call:
PortalUtil.addPageKeywords ("keyword1 webcontent1, keyword2 webcontent2", PortalUtil.getHttpServletRequest (renderRequest));
PortalUtil.addPageDescription ("desc webconten1 desc webcontent2 desc", PortalUtil.getHttpServletRequest (renderRequest));
to each page load.
What is the point where it is loading the page? On liferay is a system similar to where I can intercept methods doRender addPageDescription?