34
Gaurav Kumar iLoveBolly.com BLiSStering Solutions iLoveBolly.com A Drupal Case Study

Drupal Camp 2009 Pune I Love Bolly Case Study

Embed Size (px)

DESCRIPTION

Presentation by gaurav kumar at drupal camp

Citation preview

Page 1: Drupal Camp 2009 Pune I Love Bolly Case Study

Gaurav KumariLoveBolly.com

BLiSStering Solutions

iLoveBolly.comA Drupal Case Study

Page 2: Drupal Camp 2009 Pune I Love Bolly Case Study

iLoveBolly.comOne stop portal for the Indian Entertainment Industry

Page 3: Drupal Camp 2009 Pune I Love Bolly Case Study

What can you GET @ iLoveBolly ?

Movies : 7107Celebrities : 12692Songs : 6629TV Serials : 309Images : 7334Videos : 3806

Page 4: Drupal Camp 2009 Pune I Love Bolly Case Study

What can you GET @ iLoveBolly ?

Picture Gallery

Video Gallery

Plot

Quotes

Trivia

Fan Club

Reviews

Comments

Songs

Rating

Production Details

Cast & Crew

Movies

Page 5: Drupal Camp 2009 Pune I Love Bolly Case Study

What can you GET @ iLoveBolly ?

CelebsPicture Gallery

Video Gallery

Fan Club

Reviews

Comments

Rating

Details

3600 Profile

Commercial Advertisements

TV Serials

Audiography

Filmography

Page 6: Drupal Camp 2009 Pune I Love Bolly Case Study

What can you GET @ iLoveBolly ?

Songs

Comments

Rating

Lyrics

Crew

Video

Page 7: Drupal Camp 2009 Pune I Love Bolly Case Study

News Groups

What can you GET @ iLoveBolly ?

TV Serials Co. Ads Forums Blogs

Polls

and much more…

Quizzes

Page 8: Drupal Camp 2009 Pune I Love Bolly Case Study

What can you DO @ iLoveBolly ?

User Profile

Buddylist

Bolly Bux

Private Messaging

Groups

Favorites

Bookmarks

Share

Rate

Review

Comment

Blog

Page 9: Drupal Camp 2009 Pune I Love Bolly Case Study

Do it with Drupal…

Implementation of Features @iLoveBolly…

Page 10: Drupal Camp 2009 Pune I Love Bolly Case Study

AggregationFeed API (http://drupal.org/project/feedapi)

Generate Nodes from feed content, or not

Integration with Views

Multiple Parsers

RSS/Atom – Simple pie, CSP

iCal, CSV, KML Parsers – Integration possible

Feed elements in CCK fields – Field Element Mapper

Page 11: Drupal Camp 2009 Pune I Love Bolly Case Study

Aggregation on iLoveBollyStep 1 : Create a Feed node

Enter a feed URL

Page 12: Drupal Camp 2009 Pune I Love Bolly Case Study

Aggregation on iLoveBollyStep 2 : Create Content Type

Create a new content type

Enable Feed API Support

Enable Update Feed

Select a parser

feedapi_node parser

Page 13: Drupal Camp 2009 Pune I Love Bolly Case Study

Aggregation on iLoveBollyAnd you are DONE!!!

Check your newly created feed node for links to node (processed) items and feed (raw) items.

Page 14: Drupal Camp 2009 Pune I Love Bolly Case Study

Aggregation on iLoveBollyNOTE:

New node items are created every CRON run, settings

can be defined in FeedAPI settings.

Integration with Taxonomy possible.

Integration with views to list nodes created by feedapi.

New view filter available (FeedAPI Parent Node)

Page 15: Drupal Camp 2009 Pune I Love Bolly Case Study

Aggregation on iLoveBollySyndication in Drupal using Views :

Want a feed for a view page that you have just created..?

Select RSS FEED SELECTOR as an argument in your View.

If your view page is yoursite.com/foo then your feed is ready

at yoursite.com/foo/feed

Page 16: Drupal Camp 2009 Pune I Love Bolly Case Study

Do it with Drupal…

Third Party Integration

Page 17: Drupal Camp 2009 Pune I Love Bolly Case Study

Third Party Integration

YouTube API Song Video integration ZEND API $yt = new Zend_Gdata_YouTube();

$query = $yt->newVideoQuery();

$videoFeed = $yt->getVideoFeed($query);

Page 18: Drupal Camp 2009 Pune I Love Bolly Case Study

Third Party IntegrationPLAXO

Drupal Invite module Problems Integration with Plaxo widget

Page 19: Drupal Camp 2009 Pune I Love Bolly Case Study

Third Party Integration

Trynt Web Services

Non-Hindi Movie Favorites + Movie History

Link from IMDB

Goal : Complete Entertainment Profile

Page 20: Drupal Camp 2009 Pune I Love Bolly Case Study

Do it with Drupal…

Fan Clubs Organic Groups

Page 21: Drupal Camp 2009 Pune I Love Bolly Case Study

Fan ClubsOrganic Groups (http://drupal.org/project/og)

Create and Manage your own Groups

Subscribers

Communicate with other Group Members

Moderated or not

Own Theme, Language and Taxonomy

Page 22: Drupal Camp 2009 Pune I Love Bolly Case Study

Fan ClubsRequirements & Solutions :

Fan Club for each Movie, Celeb, TV Serial CCK – Comes to the rescue Node Reference to the Movie, Celeb, TV Serial Content Type

Space for Discussion for the associated Movie, Celeb, TV Serial Creating Images, Stories, Discussions within a Fan Club Managers, Membership, Digest E-mails and Feeds

Create a Fan Club every time a movie, celeb, TV Serial is created hook_nodeapi – case: ‘insert’ build $node node_save() http://drupal.org/node/178506

Page 23: Drupal Camp 2009 Pune I Love Bolly Case Study

Fan ClubsThe Result :

Page 24: Drupal Camp 2009 Pune I Love Bolly Case Study

Fan ClubsDo more with Organic Groups :

OG Calendar : http://drupal.org/project/og_calender

OG Forum : http://drupal.org/project/og_forum

OG Taxonomy : http://drupal.org/project/og_taxonomy

OG Event : http://drupal.org/project/og_event

OG Actions : http://drupal.org/project/og_actions

And much more……

Page 25: Drupal Camp 2009 Pune I Love Bolly Case Study

Do it with Drupal…

Drupal Search Customization

Page 26: Drupal Camp 2009 Pune I Love Bolly Case Study

Drupal Search OptimizationIndexing custom content

hook_update_index : update full text index

Index every cron run

search_index($sid, $type, $text)

hook_search name reset search status

Page 27: Drupal Camp 2009 Pune I Love Bolly Case Study

Movie referenceMovie reference

Drupal Search Optimization

Example :

Movie Movie crew

PlotPlot

DetailsDetails

Blah BlahBlah Blah

BlahBlah

Celebrity referenceCelebrity referenceDetailsDetails

hook_update_index

Blah BlahBlah Blah

Page 28: Drupal Camp 2009 Pune I Love Bolly Case Study

Drupal Search OptimizationThe Result…

Query = “aamir khan juhi chawla” in Movies

Result = Pehla Nasha, Hum Hai Rahi Pyar Ke, Tum Mere Ho, Aatank Hi

Aatank, Ishq and so on…

Query = “Akshay Khiladi” in Movies

Result = Main Khiladi Tu Anadi, Sabse Bada Khiladi, Khiladi 420,

International Khiladi and so on…

Query = “Lata mangeshkar” in Songs

Result = Koyal Kyon Gaaye, Sanam Tere Ho Gaye Hum, Tere Sang Jeena

Page 29: Drupal Camp 2009 Pune I Love Bolly Case Study

Do it with Drupal…

SEOSearch Engine Optimization

Page 30: Drupal Camp 2009 Pune I Love Bolly Case Study

SEOPathauto (http://drupal.org/project/pathauto)

Generate path aliases Default behaviour Customizations Required Multiple Internal Paths

Example Movie: http://ilovebolly.com/movie/ghajini-2008http://ilovebolly.com/movie/ghajini-2008/plothttp://ilovebolly.com/movie/ghajini-2008/cast-crewhttp://ilovebolly.com/movie/ghajini-2008/production-detailshttp://ilovebolly.com/movie/ghajini-2008/triviahttp://ilovebolly.com/movie/ghajini-2008/quoteshttp://ilovebolly.com/movie/ghajini-2008/picture-galleryhttp://ilovebolly.com/movie/ghajini-2008/photo-gallery

Page 31: Drupal Camp 2009 Pune I Love Bolly Case Study

SEODrupal’s Extensibility

I need more paths per content type

I modify the module

pathauto_create_alias()

set aliases for custom paths

I now have what I need…

Page 32: Drupal Camp 2009 Pune I Love Bolly Case Study

SEONodewords (http://drupal.org/project/nodewords)

This module allows you to set some meta tags for each node, view or panels page.

Giving more attention to the important keywords and/or description on some of your nodes allows you to get better search engine positioning (given that you really only provide the keywords which exist in the node body itself, and do not try to mislead – the search engines will catch you). Meta Tags by Node Type :

http://drupal.org/project/nodewords_nodetypeMeta tags by Path :

http://drupal.org/project/nodewords_bypath

Page 33: Drupal Camp 2009 Pune I Love Bolly Case Study

SEOXML Sitemap (http://drupal.org/project/xmlsitemap)

XML Sitemap automatically creates a site map that conforms to the sitemaps.org specification. This helps search engines keep their search results up to date. Google Yahoo! Ask Windows Live

XML Sitemap: File XML Sitemap: Menu XML Sitemap: Node XML Sitemap: Term XML Sitemap: User

Page 34: Drupal Camp 2009 Pune I Love Bolly Case Study

Thank You

For Further Inquiries contact [email protected]