C H A P T E R 17 |
Featured Content |
Content Delivery Server uses custom fields and advanced search and sort capabilities to provide a way for the Vending Manager administrator to feature or promote content. Use this feature to specify the content that you want subscribers to see at the top of the list when they are browsing for content. You can configure featured content to be shown on only the PC-based Subscriber Portal, only the device-based Subscriber Portal, or on both portals.
The number of featured items shown is configurable. Content marked as featured is shown at the top of each page when browsing content and is also included in the standard list of content.
This chapter includes the following topics:
This feature is initially disabled for both the PC-based Subscriber Portal and the device-based Subscriber Portal. To support the ability to feature specific content items, follow these steps:
1. Enable the feature in the portal of your choice.
Set the following properties in the $CDS_HOME/deployment/deployment-name/conf/SubscriberPortal.properties file:
2. Set the number of featured items shown.
Set the following properties in the $CDS_HOME/deployment/deployment-name/conf/SubscriberPortal.properties file:
If more content items than the default number are marked as featured, the items are shown in ascending order based on the value set for the feature order until the default number to display is reached.
3. Define the custom fields that are needed.
The custom fields used by this feature are included in the $CDS_HOME/deployment/deployment-name/conf/CustomField.properties file as comments. Uncomment the properties shown in the following code sample by removing the pound sign (#) at the beginning of each line:
4. Include the custom fields in the search schema.
The statements needed are included in the $CDS_HOME/deployment/deployment_name/conf/vss/solr/conf/schema.xml file as comments. Uncomment the following statements by removing the pound sign (#) from the beginning of the line:
<field name="emf.isfeatured" type="boolean" indexed="true" stored="true"/> <field name="emf.featuredorder" type="sfloat" indexed="true" stored="true"/> |
5. Restart the Vending Manager.
The Vending Manager administrator configures featured content using the Vending Manager administration console. The administrator identifies the content to feature and assigns the order in which the content appears. See the Vending Manager administration console online help for information on setting the custom fields associted with featured content.
Copyright © 2008, Sun Microsystems, Inc. All Rights Reserved.