buildBlogCollection Site Method

Returns a Collection object instantiated as a Blog type. Run create_or_update() from the Collection object to complete the build process.

Variable Type Description
title String The title for the Collection.
articleId String A unique article ID you chose to identify a Collection within your site.
url String The canonical absolute URL for this Collection.

Java Example

Collection collection = site.buildBlogCollection(title, articleId, url);

NodeJS Example

var collection = site.buildBlogCollection(title, articleId, url);

PHP Example

$collection = site->buildBlogCollection(title, articleId, url);

Python Example

collection = site.build_blog_collection(title, articleId, url)

Ruby Example

collection = site.build_blog_collection(title, articleId, url)

On this page