[[PageOutline(2-5,Contents,pullout)]] = !LinkedIn Macros = == Description == Two linked in macros == Bugs/Feature Requests == Existing bugs and feature requests for LinkedInMacrosMacro are [report:9?COMPONENT=LinkedInMacrosMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=LinkedInMacrosMacro&owner=theist new ticket]. == Download == Download the zipped source from [download:linkedinmacrosmacro here]. == Source == You can check out LinkedInMacrosMacro from [http://trac-hacks.org/svn/linkedinmacrosmacro here] using Subversion, or [source:linkedinmacrosmacro browse the source] with Trac. == Description == Widget libraries for !LinkedIn These are an implementation of two javascript widgets described in [http://developer.linkedin.com/community/widgets LinkedIn Developer Site] === Company Insider Widget === 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 log in LinkedIn (this can be accessed from the widget) and have cookies enabled. You can put the widget on your page as many times as you want and there are three different presentation formats. ==== Syntax: ==== {{{ [[LinkedInCompany(Company Name,type=type)]] }}} Mandatory, possitional parameters: * Company name, Company Name to show in the widget. Optional, named parameters: * type, widget aspect choose from: - noborder - border - popup === Profile === Macro to present and style a !LinkedIn profile url. The trac user must be loged in !LinkedIn and have cookies enabled. ==== Syntax ==== {{{ [[LinkedInProfile(profile url,type=type,name=name)]] }}} Mandatory, possitional 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's no type, popup is taken as default If there's no name, the profile url will be pressented. This only have effect in popup mode, because element rendered by the macro in this mode is a link. == Download & Install == Get latest sources: {{{ svn export http://pubsvn.warp.es/trac-stuff/plugins/linkedinmacros }}} `cd` to `linkedinmacros` directory and, For a per environment instalallation make an egg {{{ python setup.py bdist_egg }}} and lay the cooked egg in your plugins directory or For a global installation: (note that this step may require administrative privilegies) {{{ python setup.py install }}} and enable it by the trac !WebAdmin interface or by manually adding to trac.ini: {{{ [components] linkedinmacro.* = enabled }}} == Recent Changes == [[ChangeLog(linkedinmacrosmacro, 3)]] == Author/Contributors == '''Author:''' [wiki:theist] [[BR]] '''Maintainer:''' [wiki:theist] [[BR]] '''Contributors:'''