Changes between Version 4 and Version 5 of LinkedInMacrosMacro
- Timestamp:
- Apr 16, 2015, 8:47:28 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LinkedInMacrosMacro
v4 v5 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = !LinkedIn Macros =3 = !LinkedIn widget library 4 4 5 == Description ==5 == Description 6 6 7 Widget libraries for !LinkedIn 7 This plugin implements widget libraries for !LinkedIn. 8 8 9 These are an implementation of two javascript widgets described in [http://developer.linkedin.com/community/widgets LinkedIn Developer Site]9 These are an implementation of two Javascript widgets described in [http://developer.linkedin.com/community/widgets LinkedIn Developer Site]. 10 10 11 == Bugs/Feature Requests ==11 == Bugs/Feature Requests 12 12 13 13 Existing bugs and feature requests for LinkedInMacrosMacro are … … 17 17 [http://trac-hacks.org/newticket?component=LinkedInMacrosMacro&owner=theist new ticket]. 18 18 19 == Download == 19 [[TicketQuery(component=LinkedInMacrosMacro&group=type,format=progress)]] 20 21 == Download 20 22 21 23 Download the zipped source from [download:linkedinmacrosmacro here]. 22 24 23 == Source ==25 == Source 24 26 25 27 You can check out LinkedInMacrosMacro from [http://trac-hacks.org/svn/linkedinmacrosmacro here] using Subversion, or [source:linkedinmacrosmacro browse the source] with Trac. 26 28 27 == Usage ==29 == Usage 28 30 29 === Company Insider Widget ===31 === Company Insider Widget 30 32 31 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 hascookies enabled.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. 32 34 33 35 You can put the widget on your page as many times as you want and there are three different presentation formats. 34 36 35 ==== Syntax : ====37 ==== Syntax 36 38 {{{ 37 39 [[LinkedInCompany(Company Name,type=type)]] 38 40 }}} 39 41 40 Mandatory, pos sitional parameters:42 Mandatory, positional parameters: 41 43 * Company name, Company Name to show in the widget. 42 44 Optional, named parameters: … … 46 48 - popup 47 49 48 === Profile ===50 === Profile 49 51 50 Macro to present and style a !LinkedIn profile url. The trac user must be logged in !LinkedIn and has cookies enabled.52 Macro to present and style a !LinkedIn profile URL. The trac user must be logged in !LinkedIn and has cookies enabled. 51 53 52 ==== Syntax ==== 54 ==== Syntax 55 53 56 {{{ 54 57 [[LinkedInProfile(profile url,type=type,name=name)]] 55 58 }}} 56 59 57 Mandatory, pos sitional parameters:60 Mandatory, positional parameters: 58 61 * Company name, Company Name to show in the widget. 59 62 Optional, named parameters: … … 63 66 * name: Name to present in popup mode 64 67 65 If there is no type, popup is taken as default68 If there is no type, then popup is taken as default. 66 69 67 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.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. 68 71 69 == Install ==72 == Installation 70 73 71 For a per environment instalallation make an egg72 {{{ 73 74 For a single Trac environment installation, make an egg: 75 {{{#!sh 76 python setup.py bdist_egg 74 77 }}} 75 78 76 and lay the cooked egg in your plugins directory or 77 78 For a global installation: (note that this step may require administrative privilegies) 79 {{{ 80 python setup.py install 79 and lay the cooked egg in your plugins directory, or, for a global installation: 80 {{{#!sh 81 python setup.py install 81 82 }}} 82 83 83 and enable it by the trac !WebAdmin interface or by manually adding to trac.ini: 84 {{{ 84 Note that this step may require administrative privileges. 85 86 Then enable it by the trac !WebAdmin interface or by manually adding to your `trac.ini` file: 87 {{{#!ini 85 88 [components] 86 89 linkedinmacro.* = enabled 87 90 }}} 88 == Recent Changes == 91 92 == Recent Changes 89 93 90 94 [[ChangeLog(linkedinmacrosmacro, 3)]] 91 95 92 == Author/Contributors ==96 == Author/Contributors 93 97 94 98 '''Author:''' [wiki:theist] [[BR]] 95 '''Maintainer:''' [ wiki:theist] [[BR]]99 '''Maintainer:''' [[Maintainer]] [[BR]] 96 100 '''Contributors:'''