ASKBOT/askbot-devel — pull request #37 by slankes (2011-11-27 13:48:20+00:00)
Title: Add a new setting "SHARING_SUFFIX_TEXT" that can be filled with

a text that is added to each social media sharing. This way it is
possible to have all twitter/identi.ca postings made from an askbot
instance include something like for example a hashtag pointing
to the instance.

This was requested for ask.fedoraproject.org: http://ask.fedoraproject.org/question/444/rfe-add-askfedora-fedora-tags-to-twitter-identica

What this change does is change the origin of the text that is posted to the social networking sites from h1 > a to h1 > a.attr('title') - and the a.title attribute is filled with the suffix-snippet earlier. I couldn't think of a cleaner way to do this. I you can - please let me know.

Thanks.