Changes between Version 19 and Version 20 of ExtLinkRewriterPlugin
- Timestamp:
- Nov 5, 2015, 9:28:43 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExtLinkRewriterPlugin
v19 v20 1 = Plugin for Rewriting External Link URLs = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 == Description == 3 = Plugin for Rewriting External Link URLs 4 5 == Description 4 6 5 7 Rewrite external link location, to hide referers for private sites, to use social bookmark sites, and so on. 6 8 7 For example, trac link:9 For example, Trac link: 8 10 {{{ 9 11 [http://foo.bar.com outgoing site] … … 19 21 }}} 20 22 21 Jumping outgoing site via single redirector, 22 referers with detailed page names could be hidden. 23 it is useful for private/secret sites; e.g. project sites in local networks. 24 (this plugin contains simple redirectors). 23 Jumping outgoing site via single redirector, referers with detailed page names could be hidden. It is useful for private or restricted sites, for example project sites in local networks. This plugin contains simple redirectors. 25 24 26 27 Or, using bookmark site; del.icio.us: 25 Or, using bookmark site del.icio.us: 28 26 {{{ 29 27 <a class="ext-link" href="http://del.icio.us/url?url=http://foo.bar.com">outgoing site</a> 30 28 }}} 31 29 32 == Bugs/Feature Requests ==30 == Bugs/Feature Requests 33 31 34 32 Existing bugs and feature requests for ExtLinkRewriterPlugin are … … 36 34 37 35 If you have any issues, create a 38 [ http://trac-hacks.org/newticket?component=ExtLinkRewriterPlugin&owner=bellbindnew ticket].36 [/newticket?component=ExtLinkRewriterPlugin new ticket]. 39 37 40 == Download == 38 [[TicketQuery(component=ExtLinkRewriterPlugin&group=type,format=progress)]] 41 39 42 Download the zipped source from [download:extlinkrewriterplugin here]. 40 == Download 43 41 44 == Source == 42 Download the zipped source from [export:extlinkrewriterplugin here]. 45 43 46 You can check out ExtLinkRewriterPlugin from [http://trac-hacks.org/svn/extlinkrewriterplugin here] using Subversion, or [source:extlinkrewriterplugin browse the source] with Trac. 44 == Source 47 45 48 == Install == 49 make the egg package 50 {{{ 51 #!sh 46 You can check out ExtLinkRewriterPlugin from [/svn/extlinkrewriterplugin here] using Subversion, or [source:extlinkrewriterplugin browse the source] with Trac. 47 48 == Installation 49 50 Make the egg package: 51 {{{#!sh 52 52 python setup.py bdist_egg 53 53 }}} 54 54 55 copy egg into your trac plugins dir. 56 {{{ 57 #!sh 55 Copy egg into your Trac plugins directory: 56 {{{#!sh 58 57 cp dist/ExtLinkRewriter*.egg /where/to/trac/plugins/ 59 58 }}} 60 59 61 To activate the plugin, edit conf/trac.ini: 62 {{{ 63 #!ini 60 To activate the plugin, edit your `conf/trac.ini` file: 61 {{{#!ini 64 62 [components] 65 63 ExtLinkRewriter.* = enabled 66 64 }}} 67 65 66 == Example 68 67 69 == Example ==68 === Redirector 70 69 71 === Redirector === 72 1. copy redirector/rediretor.html at accessible point. 73 {{{ 74 #!sh 70 1. Copy redirector/rediretor.html at accessible point. 71 {{{#!sh 75 72 $ cp redirector/rediretor.html /var/www/ 76 73 }}} … … 78 75 Check redirect function at your brower, e.g. goto !http://.../redirector.html?http://google.com . 79 76 80 2. edit conf/trac.ini77 2. Edit your `conf/trac.ini` file: 81 78 82 example options: 83 {{{ 84 #!ini 79 Example options: 80 {{{#!ini 85 81 [extlinkrewriter] 86 82 format = /redrector.html?%s … … 89 85 }}} 90 86 91 === Social Bookmark ===87 === Social Media Bookmark 92 88 93 del.icio.us 94 {{{ 95 #!ini 89 del.icio.us: 90 {{{#!ini 96 91 [extlinkrewriter] 97 92 format = http://del.icio.us/url?url=%s … … 99 94 }}} 100 95 101 hatena bookmark 102 {{{ 103 #!ini 96 Hatena bookmark: 97 {{{#!ini 104 98 [extlinkrewriter] 105 99 format = http://b.hatena.ne.jp/entry/%s … … 107 101 }}} 108 102 109 === Mix redirector and bookmark ===110 {{{ 111 #!ini103 === Mix redirector and bookmark 104 105 {{{#!ini 112 106 [extlinkrewriter] 113 107 format = /redirector.html?http://del.icio.us/url?url=%s … … 116 110 }}} 117 111 118 == Recent Changes ==112 == Recent Changes 119 113 120 114 [[ChangeLog(extlinkrewriterplugin, 3)]] 121 115 122 == Author/Contributors ==116 == Author/Contributors 123 117 124 118 '''Author:''' [wiki:bellbind] [[BR]] 119 '''Maintainer:''' [[Maintainer]] [[BR]] 125 120 '''Contributors:'''