= Listing external links to a Trac ticket == Description !TrashTalk tracks and lists URLs from external websites that link to each ticket. Using !TrashTalk, developers can get a better sense of how their bugs affect the community by paying attention to "who's talking" about each ticket. Note that this also allows better integration between two different Trac instances hosted on completely different servers. == Bugs/Feature Requests Existing bugs and feature requests for TrashTalkPlugin are [query:status!=closed&component=TrashTalkPlugin&order=priority here]. If you have any issues, create a [/newticket?component=TrashTalkPlugin&owner=tcoulter new ticket]. == Download and Source Download the [download:trashtalkplugin zipped source], check out [/svn/trashtalkplugin using Subversion], or [source:trashtalkplugin browse the source] with Trac. == Example None yet: plugin not finished. Note for later: Requires Genshi trunk. easy_install http://svn.edgewall.org/repos/genshi/trunk/ == Recent Changes [[ChangeLog(trashtalkplugin, 3)]] == Author/Contributors '''Author:''' [wiki:tcoulter] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:''' For Tim (to be removed): {{{ what are you _actually_ trying to do Create a plugin that looks at what sites are linking to tickets in an attempt to figure out "who's talking" about a specific ticket. That way, trac users can get a sense of how their bugs affect the community. okay, so examine all incoming traffic, separate out anything internal, and build a list of the other links that is visible on the ticket form nifty, I like it :-) Yep. That's it. :) hmm I've just started writing trac tickets. (I've edited one; this'll be my first). It's a lot easier than I expected. plugins you mean Ah, ya. Sorry! :0 :) I would look at using urlparse (a standard module) to break down the referrer header and just compare the hostname to a list of "internal hostnames" probably keeping the whitelist in trac.ini (look at ListOption) unless you have "external" traffic thats just a different path on the same host Where would I find the ListOption class in the source? For some reason, I'm having trouble googling trac classes/interfaces. --> hpnadig (n=hpnadig_@wikipedia/kn/HPNadig) has joined #trac trac/config.py it defines all the config descriptor classes our developer documentation is somewhat ... lacking in that I comprise most of it :P Nice. This'll work great. }}} {{{ What's a good plugin to look at that has a good example of using the database api/creating their own table and pulling data? timathome_: tracpasteplugin is a pretty simple example }}}