This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. Web Content Atom collection
Table of Contents [-]
List web content #
Similar to blogs, web-content can be listed using Atom protocol, on following address: http://localhost:8080/tunnel-web/secure/atom/web-content?groupId=10175.
There is only one collection view: group web content, so 'groupId' request parametar must be added to the URLs. This colleciton also supports pagination, using 'page' and 'max' request parameters .
There is one optional parametar: 'type' , that indicates type of web content. By default its value is 'general'.
What is different is that web-contents atom entry content and title is of XML type, since it contains translation xml. Example output:
Manipulate web content entries #
Creating new web-content entries is similar to creating new blogs entries. Be aware that entries created using AtomPub have many things set by default: they never expire, never are reviewed, they are indexable, are already in approved status. Similar is with the update. Delete is identical to blogs.
Example of web-content entry collection:
http://localhost:8080/tunnel-web/secure/atom/web-content/12745?groupId=10175