Fórum

Sitemap.xml implementation for custom portlet

thumbnail
Satish Babu Anupoju, modificado 9 Anos atrás.

Sitemap.xml implementation for custom portlet

Junior Member Postagens: 79 Data de Entrada: 20/02/11 Postagens Recentes
Hi Team

I have a requirement like creating dynamic url's to display the content and those urls needs to be displayed in google.

My questions like :
1. How liferay submitting sitemap.xml urls to google ?
2. How Liferay sitemap.xml will works for custom portlet ?
3. How to create dynamic sitemap.xml urls ?

Regards
Satish Babu
thumbnail
Tina Agrawal, modificado 9 Anos atrás.

RE: Sitemap.xml implementation for custom portlet

Expert Postagens: 297 Data de Entrada: 03/01/08 Postagens Recentes
The class com.liferay.portlet.layoutsadmin.action.SitemapAction is the one that is generating the sitemap.
So in case you have to modify anything this the place to look out for.

Tina
thumbnail
Tina Agrawal, modificado 9 Anos atrás.

RE: Sitemap.xml implementation for custom portlet

Expert Postagens: 297 Data de Entrada: 03/01/08 Postagens Recentes
Also sitemap is for the pages in the portal. It is not relating to portlets.

Tina
thumbnail
Satish Babu Anupoju, modificado 7 Anos atrás.

RE: Sitemap.xml implementation for custom portlet

Junior Member Postagens: 79 Data de Entrada: 20/02/11 Postagens Recentes
Hi Tina Agrawal

How are you ? I hope you are doing good.

As you suggested implemented hook to override existing sitemap and could generate my own urls and it is also indexing in google.

Now the problem is :

In my portal I have more than 50k urls. But as per standards one sitemap.xml can accommodate max 50k urls.

Liferay is not creating another xml file automatically and it is creating all the urls in single sitemap.xml file. Due to that it is throwing error in google webmaster console.

Can you please help me how liferay generating more xml (sitemap) files automatically based on urls size

OR

Suggest me where to place static sitemap.xml files in server which should access by google webmaster console tool.

Regards
Satish Babu