wiki:LinkedInMacrosMacro

LinkedIn Macros

Description

Widget libraries for LinkedIn

These are an implementation of two javascript widgets described in LinkedIn Developer Site

Bugs/Feature Requests

Existing bugs and feature requests for LinkedInMacrosMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out LinkedInMacrosMacro from here using Subversion, or browse the source with Trac.

Usage

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 has 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 logged in LinkedIn and has 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 is no type, popup is taken as default If there is no name, the profile url will be showed. This only has effect in popup mode, because the element rendered by the macro in this mode is a link.

Install

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

[12139] by rjollos on 2012-10-10 03:54:13
Fixed incorrect source code encoding (http://www.python.org/dev/peps/pep-0263/).
[8595] by theist on 2010-09-02 09:03:25
initial commit
[8594] by theist on 2010-09-02 08:52:44
New hack LinkedInMacrosMacro, created by theist

Author/Contributors

Author: theist
Maintainer: theist
Contributors:

Last modified 4 years ago Last modified on Sep 2, 2010 10:33:40 AM