[SAC] [OSGeo] #712: Adding Disqus Comments to the MapGuide Trac Instance

#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&quot;&gt;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&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#712: Adding Disqus Comments to the MapGuide Trac Instance
---------------------------+------------------------------------------------
Reporter: zspitzer | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: trac
---------------------------+------------------------------------------------
Changes (by warmerdam):

  * keywords: => trac

Old description:

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&quot;&gt;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>

New description:

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&quot;&gt;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#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#712: Adding Disqus Comments to the MapGuide Trac Instance
---------------------------+------------------------------------------------
Reporter: zspitzer | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: trac
---------------------------+------------------------------------------------

Comment(by warmerdam):

I'm sorry. I have reviewed the Trac templating stuff a bit but I can't
figure out how to substitute the disqus_url values.

I'm going to backburner this. Feel free to investigate how to implement
this yourselves and submit stuff to put in the templates directory.

I would also note the existance of a Trac discussion plugin though I
haven't tried it.

http://trac-hacks.org/wiki/DiscussionPlugin

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/712#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#712: Adding Disqus Comments to the MapGuide Trac Instance
---------------------------+--------------------
Reporter: zspitzer | Owner: sac@…
     Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: trac |
---------------------------+--------------------

Comment (by strk):

Is this still needed by anyone ? I'd close unless someone is willing to
figure out what it takes.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/712#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#712: Adding Disqus Comments to the MapGuide Trac Instance
---------------------------+----------------------
Reporter: zspitzer | Owner: sac@…
     Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: wontfix
Keywords: trac |
---------------------------+----------------------
Changes (by strk):

* status: new => closed
* resolution: => wontfix

Comment:

closing for lack of feedback

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/712#comment:4&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.