« 返回到 Portal Atom...

Web Content Atom collection

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

2 附件
23567 查看
平均 (0 票)
满分为 5,平均得分为 0.0。
评论