Samples > Starter stores > Starter store enhancements > Social Commerce > WebSphere Commerce Dojo Enhancements API > Social Commerce services > REST API


Search engine optimized (SEO) content

The SEO Rest service is used by the com.ibm.commerce.soccom.seo.SeoService class. This class contains methods to embed SEO content directly into a JSP file. You can also use the REST API to return the HTML snippets that make up the SEO content.

These HTML snippets are structured in a similar manner to their Social Commerce user interface widget counterparts. For example, the snippets are enclosed in HTML <noscript> tags and can be included in HTML store pages along with the Social Commerce user interface widget declarations. When search engine web crawlers access store pages that contain dynamic Social Commerce widgets, the generated HTML snippets support indexing of the social content.

REST API for SEO content
HTTP method URI Description Data type
GET /seoBlog/userId/view/user Retrieves a page of blog entries created by a specified user. blog HTML
GET /seoBlog/blogId/view/item Retrieves a blog with a page of entries. blog HTML
GET /seoPhotoGallery/userId/view/user Retrieves a page of photos created by a specified user. photoGallery HTML
GET /seoPhotoGallery/photoGalleryId/view/item Retrieves a photo gallery with a page of photos. photoGallery HTML
GET /seoReview/userId/view/user Retrieves a list of reviews posted by a specified user. reviews HTML
GET /seoReview/itemId/view/item Retrieves a list of reviews for a specified item. reviews HTML

Related reference

Profiles

Blogs

Photo galleries

Ratings and reviews

REST API


+

Search Tips   |   Advanced Search