2

我们希望将 Liferay 站点地图放到 VCS 中,以便新开发人员可以更快地开始开发。到目前为止,我无法找到如何将 Liferay 的站点地图导出为某种人类可读的形式。有任何想法吗?

4

2 回答 2

1

One simple method is to simply access [myserver.com]/sitemap.xml. Although I'm not certain it is clean enough for you. You can see it in action on Liferay's website, http://www.liferay.com/sitemap.xml.

于 2013-08-16T00:03:28.243 回答
0

Site Map can be retrieved in two ways. (None of them actually are designed to be human-readable but they can use)

1- XML

Liferay Portal makes this very simple for administrators by generating the sitemap XML automatically for all public web sites.

2- LAR file (Liferay Archive)

The Export / Import tab allows you to export the pages you create into a single file, called a LAR (Liferay Archive). You can then import this file into any server running Liferay, and all of your pages will be copied.

Using the first format, you can generate any kind of human-readable format (like trees), and attaching the second file, you can send the information, and others can upload it.

I hope it works :)

Quotes are from Liferay documentation

于 2013-08-16T16:03:41.190 回答