Changes between Version 1 and Version 2 of LinkedInMacrosMacro


Ignore:
Timestamp:
Sep 2, 2010, 8:55:50 AM (4 years ago)
Author:
theist
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LinkedInMacrosMacro

    v1 v2  
    2323You can check out LinkedInMacrosMacro from [http://trac-hacks.org/svn/linkedinmacrosmacro here] using Subversion, or [source:linkedinmacrosmacro browse the source] with Trac.
    2424
    25 == Example ==
     25== Description ==
     26Widget libraries for !LinkedIn
    2627
     28These are an implementation of two javascript widgets described in [http://developer.linkedin.com/community/widgets LinkedIn Developer Site]
     29
     30=== Company Insider Widget ===
     31
     32Generates 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.
     33   
     34You can put the widget on your page as many times as you want and there are three different presentation formats.
     35   
     36==== Syntax: ====
    2737{{{
    28 [[LinkedInCompany(Warp Networks S.L.,type=popup)]]
     38    [[LinkedInCompany(Company Name,type=type)]]
    2939}}}
    3040
     41Mandatory, possitional parameters:
     42  * Company name, Company Name to show in the widget.
     43Optional, named parameters:
     44  * type, widget aspect choose from:
     45    - noborder
     46    - border
     47    - popup
     48
     49=== Profile ===
     50   
     51Macro to present and style a !LinkedIn profile url. The trac user must be loged in !LinkedIn and have cookies enabled.
     52
     53==== Syntax ====
     54{{{
     55  [[LinkedInProfile(profile url,type=type,name=name)]]
     56}}}
     57
     58Mandatory, possitional parameters:
     59  * Company name, Company Name to show in the widget.
     60Optional, named parameters:
     61  * type, widget aspect choose from:
     62    - inline
     63    - popup
     64  * name: Name to present in popup mode
     65     
     66If there's no type, popup is taken as default
     67   
     68If 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.
     69
     70== Download & Install ==
     71Get latest sources:
     72{{{
     73   svn export http://pubsvn.warp.es/trac-stuff/plugins/linkedinmacros
     74}}}
     75
     76`cd` to `linkedinmacros` directory and,
     77
     78For a per environment instalallation make an egg
     79{{{
     80   python setup.py bdist_egg
     81}}}
     82
     83and lay the cooked egg in your plugins directory or
     84
     85For a global installation: (note that this step may require administrative privilegies)
     86{{{
     87   python setup.py install
     88}}}
     89
     90and enable it by the trac !WebAdmin interface or by manually adding to trac.ini:
     91{{{
     92[components]
     93linkedinmacro.* = enabled
     94}}}
    3195== Recent Changes ==
    3296