| Summary: | A facebook "like" button on the Eclipse Helios or just vanilla downloads page | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Community | Reporter: | Chris Aniszczyk <caniszczyk> | ||||||||
| Component: | Website | Assignee: | phoenix.ui <phoenix.ui-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | jacek.pospychala, kkazmierczyk+eclipse, nathan, wayne.beaton | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Chris Aniszczyk
I thought about adding a Like function to the Phoenix API so that any project can add a Like button anywhere on any page if they'd want. Would that make any sense? http://developers.facebook.com/docs/reference/plugins/like/ (In reply to comment #1) > I thought about adding a Like function to the Phoenix API so that any project > can add a Like button anywhere on any page if they'd want. Would that make any > sense? > > http://developers.facebook.com/docs/reference/plugins/like/ +1 Created attachment 195974 [details]
Patch
Here's a quick patch for app.php
Invoke with simply <?= $App->getFacebookLikeButtonHTML() ?> to get a Like button with faces.
... or <?= $App->getFacebookLikeButtonHTML("compact", false) ?> to get a smaller one without faces.
I'd prefer to not have the word "Facebook" in our API. I wonder if there are any potential legal implications... Is there some way that we can just automatically add this to every page? (e.g. somewhere in the header) Is that desireable? How about we just have something on our download and front page that likes Eclipse? http://www.facebook.com/pages/Eclipse/259655700571 I'm not worried about the per-project case yet. (In reply to comment #4) > I'd prefer to not have the word "Facebook" in our API. I wonder if there are > any potential legal implications... We have the word "Google" in there already. I don't think adding it to every page would have any benefit. Actually, calling facebook to load up the iframe would likely slow down the page load substantially. > How about we just have something on our download and front page that likes
> Eclipse?
On the downloads page, we can likely tuck it under Related Links. That page is super busy.
On the home page, I'm not sure where we could put it. Nathan would have to chime in here.
Ah. I was reading Facebook-like, not Facebook "Like". I get it now. > Created attachment 195974 [details] I've committed this patch. You can see it in action on the Phoenix page: http://eclipse.org/phoenix/ Let's wait for Nathan's guidance wrt. adding a fb button on the homepage and downloads. Created attachment 195979 [details]
Mockup of the Facebook like button on the homepage.
Potential location
I like the location. Here's a mockup of the homepage. I've placed it just under the yellow download button. We can have the button say 'Like' or 'Recommend', I think recommend works better in our context, but I'm not hung up on that by any means. Maybe that's something we could add a param for? Created attachment 195981 [details]
Download Page location
Placed it in the bar here.
Also ideally both the homepage like button and download page like button share the same counter. Like Chris said, we'd point the Like button the Eclipse Facebook page -- not to one specific Eclipse.org page. Here's the HTML code we need to insert into those locations: <iframe src='http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/Eclipse/259655700571&layout=button_count&show_faces=false&width=90&action=like' style='border: medium none; overflow: hidden; width: 90px; height: 22px;' frameborder='0' scrolling='no'></iframe> The Like button is there on the home page and on the downloads page, as Nathan has mocked up. I'll send out an email to phoenix-dev shortly announcing the possibility of adding the Like button on project home pages. |