9 | | 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. For examples, see below. |
| 9 | 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. |
| 10 | |
| 11 | === Company Insider Widget |
| 12 | |
| 13 | 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. |
| 14 | |
| 15 | You can put the widget on your page as many times as you want and there are 3 different presentation formats. |
| 16 | |
| 17 | {{{ |
| 18 | [[LinkedInCompany(Company Name, type=type)]] |
| 19 | }}} |
| 20 | |
| 21 | Mandatory, positional parameters: |
| 22 | * Company name, Company Name to show in the widget. |
| 23 | Optional, named parameters: |
| 24 | * type, widget aspect choose from: |
| 25 | - noborder |
| 26 | - border |
| 27 | - popup |
| 28 | |
| 29 | === Profile |
| 30 | |
| 31 | This example presents and styles a !LinkedIn profile URL. The Trac user must be logged in to !LinkedIn and have cookies enabled. |
| 32 | |
| 33 | {{{ |
| 34 | [[LinkedInProfile(profile url, type=type, name=name)]] |
| 35 | }}} |
| 36 | |
| 37 | Mandatory, positional parameters: |
| 38 | * Company name, Company Name to show in the widget. |
| 39 | Optional, named parameters: |
| 40 | * type, widget aspect choose from: |
| 41 | - inline |
| 42 | - popup |
| 43 | * name: Name to present in popup mode |
| 44 | |
| 45 | If there is no type, then popup is taken as default. |
| 46 | |
| 47 | 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. |
49 | | == Usage |
50 | | |
51 | | === Company Insider Widget |
52 | | |
53 | | 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. |
54 | | |
55 | | You can put the widget on your page as many times as you want and there are 3 different presentation formats. |
56 | | |
57 | | {{{ |
58 | | [[LinkedInCompany(Company Name, type=type)]] |
59 | | }}} |
60 | | |
61 | | Mandatory, positional parameters: |
62 | | * Company name, Company Name to show in the widget. |
63 | | Optional, named parameters: |
64 | | * type, widget aspect choose from: |
65 | | - noborder |
66 | | - border |
67 | | - popup |
68 | | |
69 | | === Profile |
70 | | |
71 | | This example presents and styles a !LinkedIn profile URL. The Trac user must be logged in to !LinkedIn and have cookies enabled. |
72 | | |
73 | | {{{ |
74 | | [[LinkedInProfile(profile url, type=type, name=name)]] |
75 | | }}} |
76 | | |
77 | | Mandatory, positional parameters: |
78 | | * Company name, Company Name to show in the widget. |
79 | | Optional, named parameters: |
80 | | * type, widget aspect choose from: |
81 | | - inline |
82 | | - popup |
83 | | * name: Name to present in popup mode |
84 | | |
85 | | If there is no type, then popup is taken as default. |
86 | | |
87 | | 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. |
88 | | |