[[PageOutline(2-5,Contents,pullout)]] = !LinkedIn widget library == Description This plugin implements widget libraries for !LinkedIn. These are implementations of two Javascript widgets described in [http://developer.linkedin.com/community/widgets LinkedIn Developer Site]: the company insider widget and the profile. === Company Insider Widget This example generates a Linked-In Company Insider widget, a simple Javascript widget which you can place on the wiki pages to show a user how many people they know at any company. The user must be logged in to !LinkedIn (this can be accessed from the widget) and must have cookies enabled. You can put the widget on your page as many times as you want and there are 3 different presentation formats. {{{ [[LinkedInCompany(Company Name, type=type)]] }}} Mandatory, positional parameters: * Company name, Company Name to show in the widget. Optional, named parameters: * type, widget aspect choose from: - noborder - border - popup === Profile This example presents and styles a !LinkedIn profile URL. The Trac user must be logged in to !LinkedIn and have cookies enabled. {{{ [[LinkedInProfile(profile url, type=type, name=name)]] }}} Mandatory, positional parameters: * Company name, Company Name to show in the widget. Optional, named parameters: * type, widget aspect choose from: - inline - popup * name: Name to present in popup mode If there is no type, then popup is taken as default. If there is no name, the profile URL will be shown. This only has effect in popup mode, because the element rendered by the macro in this mode is a link. == Bugs/Feature Requests Existing bugs and feature requests for LinkedInMacrosMacro are [report:9?COMPONENT=LinkedInMacrosMacro here]. If you have any issues, create a [/newticket?component=LinkedInMacrosMacro new ticket]. [[TicketQuery(component=LinkedInMacrosMacro&group=type,format=progress)]] == Download Download the zipped source from [export:linkedinmacrosmacro here]. == Source You can check out LinkedInMacrosMacro from [/svn/linkedinmacrosmacro here] using Subversion, or [source:linkedinmacrosmacro browse the source] with Trac. == Installation For a single Trac environment installation, make an egg: {{{#!sh python setup.py bdist_egg }}} and lay the cooked egg in your plugins directory, or, for a global installation: {{{#!sh python setup.py install }}} Note that this step may require administrative privileges. Then enable it by the trac !WebAdmin interface or by manually adding to your `trac.ini` file: {{{#!ini [components] linkedinmacro.* = enabled }}} == Recent Changes [[ChangeLog(linkedinmacrosmacro, 3)]] == Author/Contributors '''Author:''' [wiki:theist] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''