27 | | You can check out LinkedInMacrosMacro from [http://trac-hacks.org/svn/linkedinmacrosmacro here] using Subversion, or [source:linkedinmacrosmacro browse the source] with Trac. |
28 | | |
29 | | == Usage |
30 | | |
31 | | === Company Insider Widget |
32 | | |
33 | | 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. |
34 | | |
35 | | You can put the widget on your page as many times as you want and there are three different presentation formats. |
36 | | |
37 | | ==== Syntax |
38 | | {{{ |
39 | | [[LinkedInCompany(Company Name,type=type)]] |
40 | | }}} |
41 | | |
42 | | Mandatory, positional parameters: |
43 | | * Company name, Company Name to show in the widget. |
44 | | Optional, named parameters: |
45 | | * type, widget aspect choose from: |
46 | | - noborder |
47 | | - border |
48 | | - popup |
49 | | |
50 | | === Profile |
51 | | |
52 | | Macro to present and style a !LinkedIn profile URL. The trac user must be logged in !LinkedIn and has cookies enabled. |
53 | | |
54 | | ==== Syntax |
55 | | |
56 | | {{{ |
57 | | [[LinkedInProfile(profile url,type=type,name=name)]] |
58 | | }}} |
59 | | |
60 | | Mandatory, positional parameters: |
61 | | * Company name, Company Name to show in the widget. |
62 | | Optional, named parameters: |
63 | | * type, widget aspect choose from: |
64 | | - inline |
65 | | - popup |
66 | | * name: Name to present in popup mode |
67 | | |
68 | | If there is no type, then popup is taken as default. |
69 | | |
70 | | 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. |
| 27 | You can check out LinkedInMacrosMacro from [/svn/linkedinmacrosmacro here] using Subversion, or [source:linkedinmacrosmacro browse the source] with Trac. |
| 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 | Macro to present and style 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 | |