[SAC] [OSGeo] #712: Adding Disqus Comments to the MapGuide Trac
Instance
OSGeo
trac_osgeo at osgeo.org
Thu Mar 31 22:04:08 EDT 2011
#712: Adding Disqus Comments to the MapGuide Trac Instance
---------------------------+------------------------------------------------
Reporter: zspitzer | Owner: sac@…
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------
The MapGuide PSC would like to trial using Disqus comments
for the mapguide wiki
It requires the following javascript to be added to the bottom of the
template. The disqus_identifier parameter could be set to the wiki page
url
Further information is available here
http://docs.disqus.com/developers/universal/
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE
* * */
var disqus_shortname = 'mapguide'; // required: replace example with
your forum shortname
// The following are highly recommended additional parameters. Remove
the slashes in front to use.
// var disqus_identifier = 'unique_dynamic_id_1234';
// var disqus_url = 'http://example.com/permalink-to-page.html';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type =
'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a
href="http://disqus.com/?ref_noscript">comments powered by
Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by
<span class="logo-disqus">Disqus</span></a>
--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/712>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list