Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • WebSphere Portal Family wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.0
  • 6.1
  • 6.1.0.1
  • 6.1.5
  • 7.0
  • 7.0.0.2
  • 8.0
  • actions
  • administrator
  • authoring
  • Banking template
  • best practices
  • blogs
  • builder
  • building a site
  • caching
  • catalog
  • Clickstream Engine
  • clusters
  • ConfigEngine tasks
  • content
  • customizing
  • databases
  • demo
  • deployment
  • deployment scenario
  • developer
  • developing
  • device class
  • elements
  • examples
  • Express
  • feature set
  • fix pack 2
  • Government to Business template
  • info center
  • information center
  • installation
  • installing
  • LDAP
  • Learning
  • libraries
  • LikeMinds Recommendation Engines
  • logging
  • mentors
  • message catalog
  • messages
  • migration
  • mobile
  • mobile devices
  • mobile experience
  • mobile experience 8.0
  • mobile theme
  • mobile webkit
  • MPA
  • multiplatform
  • pages
  • performance
  • personalization
  • planning
  • portal
  • Portal 6.1
  • Portal 8 theme
  • portlets
  • product doc
  • product documentation
  • projects
  • properties
  • Redbooks
  • Redbooks Wiki
  • remember me cookie
  • resources
  • REST
  • Retail Vendor template
  • rules
  • samples
  • search
  • security
  • sifters
  • sites
  • solutions catalog
  • syndication
  • test infrastructure
  • theme
  • theme optimization
  • topologies
  • troubleshooting
  • tutorials on personalization
  • video
  • wcm
  • web content
  • webkit
  • WebSphere Portal
  • WebSphere Portlet Factory
  • wikis
  • workflows
  • worksheet
  • XML configuration interface
  • z/os
  • zos
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > IBM Redbooks: Creating External Web sites with WebSphere Portal > Personalization
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Personalization 

expanded Abstract
collapsed Abstract
No abstract provided.
ShowTable of Contents
HideTable of Contents
  • 1 Personalization components
    • 1.1 Personalization browser
    • 1.2 Rules engine
    • 1.3 LikeMinds recommendation engine
    • 1.4 Resource engine
    • 1.5 Logging framework
  • 2 Four approaches to personalization
    • 2.1 Security
    • 2.2 User preferences
    • 2.3 Rules engine
    • 2.4 Collaborative filtering
  • 3 Rules driven personalization
    • 3.1 Profiling
    • 3.2 Selection
    • 3.3 Binding
    • 3.4 Update
    • 3.5 Email
    • 3.6 Content spot
    • 3.7 Campaigns
    • 3.8 Recommendation
    • 3.9 Visibility
  • 4 Extending personalization
  • 5 Sample scenarios
    • 5.1 Personalization scenario 1
    • 5.2 Personalization scenario 2
  • 6 Personalization demonstration sample
  • 7 Summary
Table of Contents | Previous Page | Next Page



Personalization involves using technology to accommodate the differences between individuals. Web pages may be personalized based on the characteristics of an individual. Personalization implies that the changes are based on implicit data, such as items purchased or pages viewed. The term customization is used instead when the site only uses explicit data such as ratings or preferences.

Web personalization models include rules-based filtering, based on "if this, then that" rules processing, and collaborative filtering, that serves relevant material to customers by combining their own personal preferences with the preferences of like-minded others. Collaborative filtering works well for books, music, video, and so on.

The benefits of personalization include:
  1. Focused content delivery based on the interests of the Web site visitor.
  2. Increase in site usage by the visitor, that may lead to more sales.
  3. Customers get what they want to see and keep coming back to the site.
  4. Enterprises get an opportunity for more focused campaign and marketing by targeting the right audience.

Some examples of personalization include:
  1. Recommended products based on previous activity by visitors.
  2. Self service pages where users login to a site and see content meant for them
  3. Marketing campaigns such as pesronalized e-mail
  4. Portal sites such as MyYahoo and MyGoogle.

Personalization components


Portal personalization provides automatic customization of Portal-based web sites for individual users and user groups.
A Portal personalization engine can be used for the following tasks:
  • Recognize a specific user based on a profile or determine characteristics of a user based on previous purchases, products or pages viewed, and so forth.
  • Select content that is appropriate for each profile, for example,:
  • If a person has a high salary range, personalization can be configured to retrieve information about a commercial Web site's premium products.
  • If an individual belongs to a particular geographic region, content specific to that region may be targeted to the individual.
  • Assemble pages with the proper personalized information so the user sees her personalized page.

Portal personalization engine (often referred as PZN) is composed of five components:

Personalization browser


The Personalization user interface is a Portal based application where authorized users:
  • Register resource collections
  • Author rules, campaigns, and content spots
  • Map rules into content spots for a particular campaign



Rules engine


The rules engine evaluates rules created in the Personalization browser.
In a Portal environment, there are different ways to invoke rules:
  • Personalization rules may be invoked through the Personalized List portlet and presented as a list of text and links
  • Web Content Management (WCM) Personalization components allow you to invoke a selection rule or content spot and format the results by using WCM tags
  • Hide rules associated with pages or portlets through Portal administration are automatically triggered when a user navigates a Portal page

LikeMinds recommendation engine


Personalization contains a dynamic recommendation system based on LikeMinds. LikeMinds analyzes user interactions that occur on your Web site and generates real time predictions and recommendations to your Web site users.

Resource engine


The resource engine resolves the queries produced by rules into content pieces to be returned. Content for personalization is created using whatever content management tool you choose, or may come from an LDAP or any other database. Content is accessed via a set of Resource Collection classes.

Logging framework


The logging framework is used to record information about Web site usage to the feedback database and the recommendation engine. It is entirely up to the site developers to decide what information is logged.

Four approaches to personalization


Some approaches to personalization are described int he following sub-sections.

Security


A site usually filters content based on the access rights of visitors. For example, if a site visitor is in the Human Resources department, the site provides access to content containing Human Resources policy manuals.

User preferences


The user pulls relevant content from the system by telling what categories are the most important for him. The system will save that preferences to drive content lists in the future.

Rules engine


The site owner defines a set of business rules that determine what category of content is shown when a user with a certain profile type visits the site. An example would be: Display all four wheel drive SUVs to visitors in the northeast in the 21 to 35 age group. This approach has the advantage of driving the site's behavior with the business objectives of the site owner.

Collaborative filtering


A site visitor rates a selection of products, explicitly or implicitly. Those ratings are compared with the ratings offered by other visitors. Software algorithms detect similarities. For example, a visitor receives book recommendations based on the similar purchases of others.



Rules driven personalization


Rules are used to define how your Web site interacts with individual and groups of Web site visitors. Rules are composed of easy-to-read logic statements that, in their final form, specify how to evaluate various conditions and what actions to take based on those conditions.

WebSphere Portal supports several kinds of rules:

Profiling


Function
Create dynamic profiles based on user attributes, date, browser capabilities or any other information managed by PZN

Sample



Selection


Function
Selects a list of content from
  • Lotus Web Content Management SQL
  • LDAP
  • Atom
  • Custom

Sample



Binding


Function
Pulls all the other rule types together:
  • Conditions come from profiles
  • If conditions are met, select or recommend content, perform updates, send emails.
Sample


Update
Function
Updates the current user object or the state.
Updates may be persisted as with the current user or
Updates may be transient or application managed such as a shopping cart
May also set portlet or HTTP request and portlet or HTTP session attributes

Sample


Email


Function
Ability to trigger email from a page
Personalized email body
Email may run rules to select content for the email
Email campaigning using a scheduled email rule
Examples: targeted newsletters, emails triggered to verify or send receipt of user actions

Sample


Content spot


Function
Creates a virtual content area that will be managed by a personalization campaign. The campaign will define which content is displayed in this area by binding the content spot with different selection rules

Sample


Campaigns


Function
Campaigns define time or frequency constraints to bind rules to spots.

Sample


Recommendation


Function
Allow recommended content based on user navigation, item affinity or user preferences. Requires the user to first make calls to the feedback or LikeMinds API to log transactions.
Sample


Visibility


Function
Allows for showing or hiding pages and portlets depending on the result of a rule.

Sample


Extending personalization


There are a series of articles in IBM developerWorks that shows how to to extend WebSphere Portal Personalization capabilities to make data from external sources available to your portal using Personalization rules:

Part 1. Including external data in personalization applicationshttp://www.ibm.com/developerworks/websphere/library/techarticles/0702_brunn/0702_brunn.html
Part 2. Creating a "Hello World" application objecthttp://www.ibm.com/developerworks/websphere/library/tutorials/0702_brunn2/0702_brunn2.html
Part 3. Creating a Web service application objecthttp://www.ibm.com/developerworks/websphere/library/tutorials/0702_brunn3/0702_brunn3.html
Part 4. Deploying a resource collection that uses an ATOM feedhttp://www.ibm.com/developerworks/websphere/library/tutorials/0702_brunn4/0702_brunn4.html


Sample scenarios


This section shows the implementation steps of two personalization scenarios. The WCM artifacts for the RiverBend Web site are reused. All personalization artifacts, such as business rules, content spots, and so on are created in the personalization section of WP. They are organized in two folders, named as "Camapign1" and "Campaign2" for personalization scenarios 1 and 2 respectively.



Personalization scenario 1


In this scenario, a campaign for recommended products is run for a fixed duration in the "Recommended products" portlet in the home page. There are two sets of content related to coffee and tea products. Their display needs to be divided in an equal ratio. Therefore, for one request to the Web site, content 1 is displayed and for the next request, content 2 is displayed. Here are the implementation steps for Personalization scenario 1.

Step 1: Prepare two categories one for Tea and one for coffee. These categories are used to classify content.



Step 2: Profile the content with the two categories. For example, we profiled content titled "Earl grey" with category tea and "Coffee cioccolato" with category coffee. These are stored in the location "River Bend/Beverages/Teas" and "River Bend/Beverages/Coffee" as shown in the figures below.





To profile a content with a particular category, open the content in the WCM authoring portlet in edit mode, select profile section and choose the particular category to profile the content.

Step 3: Prepare selection rules: We go the personalization section of WP, go to the folder "Campaign 1". We create a new selection rule "SelectTeaContent" to select content titled "Earl grey". Similarly, we create a new selection rule "SelectCoffeeContent" to select content titled "Coffee cioccolato".



Step 4: We create a content spot "ContentSpot_teacoffee" with default rule binding as "SelectTeaContent".



Step 5: We create a campaign "Campaign_teacoffee" whose validity date is from Nov 10, 2009 to Nov 12, 2010. We ensured that the current date falls within the validity period.



Step 6: We create a rule mapping to map the campaign with a content spot and rules. We have assigned a split of 50 to give each rule mapping an equal weight to display. Therefore, 50% of the time, rule mapping 1 would be executed and 50% of the time, rule mapping 2 would be executed.



Step 7: We create a personalization component in the WCM authoring portlet and map it to the content spot "ContentSpot_teacoffee". The component uses WCM custom tags to render the menu search result.





Step 8: We render the personalization component into the portlet named "Recommended products" in the homepage.

On first request, here is the view of the portlet.



Logout and login to the portlet again. Now the view of the portlet changes to show the second campaign.



On first request, here is the view of the portlet. Logout and login to the portlet again. Now the view of the portlet changes to show the second campaign.

Personalization scenario 2


In this scenario, we are going to show personalized content based on location of the registered users. Based on a location attribute filled in on the registration page of the registered user, the location specific content is delivered in the "Campaign" portlet in the homepage.

Step1: Lets add the location attribute in the "Edit my profile" page for users and let us populate this attribute.





In this example, we populate the countryName of the registered users with countries either India or Spain.

Step 2: Verification of appropriate categories in WCM: Contents are segregated for two countries - India and Spain. Therefore we ensure that there are two categories in the WCM authoring portlet.



Step 3: We have country specific content in the site area "River Bend/Company/Where we are" :



We need to assign content related to India and Spain titled "India Bangalore" and "Spain La Ramblas" to the two categories created in Step 2.

Step 4: Creation of profile rules: This is used to profile users based on their countyName attribute in their profile. As shown in the figure, the profile of users is "visitor_India" when the countyName attribute of the users is India.



Step 5: Creation of select content rules: This rule selects content for a specific country. For example, as shown in the figure, the "SelectSpainContent" selects content whose category is "Spain".



Step 6: Creation of binding rules: This rule binds the profile rule (created in step 4) with the select rules (created in step 5).



Step 7: Creation of Content Spot: As shown in the figure below, the default mapping of this content spot is the binding rule, created in step 6.



Step 8: Creation of Personalization component: Personalization component maps the content spot, created in step 7. The component uses WCM custom tags to render the menu search result.





Step 10: Viewing in WCM rendering portlet:

We add a "WCM Content Viewer" portlet to the home page of the RiverBend Web site. We then map the personalization component, created in step 9, to the rendering portlet.



Here is the screenshot of the portlet seen by the user from Spain.



We then sign up a new user with CountryName attribute as India. Upon logging in by that user, here is the view of the portlet.



Personalization demonstration sample


This section includes steps to download and execute the sample code used in the devlopment of this page.

Step 1: Import the personalization artifacts. Here is a link to more detailed information on importing artifacts: http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wpf/pzn_stage_prod.html

Links to sample files:

Campaign1.nodes
Campaign2.nodes

Step2: Import the WCM library named "RiverBend". Click HERE for more information on importing libraries.

Link to sample file:

JCR_export.zip

Step 3: Change the portal theme. Unzip the file to the location \installedApps\\Enhanced_Theme.ear\wp.theme.enhancedtheme.war
Please take a backup of the previous themes folder.

Link to sample file:

themes.zip


4. Import the portal page through Import XML in portal administration.

Link to sample file:

pageExport.xml

5. Navigate to the link "RiverBend" in the portal theme as shown in the screenshot below. The RiverBend portal page should be up and running.



Summary


This page has provided a brief overview of various personalization techniques and considerations. We have also provided two simple examples of setting up customized content through WebSphere portal.


Table of Contents | Previous Page | Next Page

expanded Article information
collapsed Article information
Category:
IBM Redbooks: Creating External Web sites with WebSphere Portal
Tags:

This Version: Version 6 January 11, 2010 1:53:01 PM by Bart Jacob  IBMer

expanded Attachments (42)
collapsed Attachments (42)

 


File TypeSizeFile NameCreated On
application/x-zip 12,142 KB themes.zip 1/11/10 10:22 AM
application/octet-stream 29 KB Campaign1.nodes 1/11/10 10:22 AM
application/octet-stream 27 KB Campaign2.nodes 1/11/10 10:22 AM
application/x-zip 2,240 KB JCR_export.zip 1/11/10 10:22 AM
text/xml 59 KB pageExport.xml 1/11/10 10:22 AM
image/jpeg 52 KB perssamp.jpg 1/11/10 10:22 AM
image/jpeg 38 KB pers1.jpg 1/11/10 10:22 AM
image/jpeg 25 KB pers2.jpg 1/11/10 10:22 AM
image/jpeg 35 KB pers3.jpg 1/11/10 10:22 AM
image/jpeg 40 KB pers4.jpg 1/11/10 10:22 AM
image/jpeg 40 KB pers5.jpg 1/11/10 10:22 AM
image/jpeg 61 KB pers6.jpg 1/11/10 10:22 AM
image/gif 6 KB pers7.gif 1/11/10 10:22 AM
image/jpeg 44 KB pers8.jpg 1/11/10 10:22 AM
image/jpeg 49 KB pers9.jpg 1/11/10 10:22 AM
image/jpeg 32 KB pers10.jpg 1/11/10 10:22 AM
image/jpeg 37 KB pers11.jpg 1/11/10 10:22 AM
image/jpeg 43 KB pers12.jpg 1/11/10 10:22 AM
image/jpeg 33 KB pers13.jpg 1/11/10 10:22 AM
image/jpeg 33 KB pers14.jpg 1/11/10 10:22 AM
image/jpeg 37 KB pers15.jpg 1/11/10 10:22 AM
image/jpeg 42 KB pers16.jpg 1/11/10 10:22 AM
image/jpeg 27 KB pers17.jpg 1/11/10 10:22 AM
image/jpeg 26 KB pers18.jpg 1/11/10 10:22 AM
image/jpeg 38 KB pers19.jpg 1/11/10 10:22 AM
image/gif 11 KB pers20.gif 1/11/10 10:22 AM
image/jpeg 18 KB pers21.jpg 1/11/10 10:22 AM
image/jpeg 22 KB pers22.jpg 1/11/10 10:22 AM
image/jpeg 21 KB pers23.jpg 1/11/10 10:22 AM
image/jpeg 27 KB pers24.jpg 1/11/10 10:22 AM
expanded Versions (6)
collapsed Versions (6)
Version Comparison     
Version Date Changed by               Summary of changes
This version (6) Jan 11, 2010 1:53:01 PM Bart Jacob  
5 Jan 11, 2010 1:44:46 PM Bart Jacob  
4 Jan 11, 2010 1:40:25 PM Bart Jacob  
3 Jan 11, 2010 11:23:01 AM Bart Jacob  
2 Jan 11, 2010 10:57:24 AM Bart Jacob  
1 Jan 11, 2010 10:29:33 AM Bart Jacob  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use