Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # IT:AD:Disqus:HowTo:Integrate with a site # <callout type="Navigation" class="small"> * [[../|(UP)]] {{indexmenu>.#2|nsort tsort}} </callout> <panel title="Summary"> </panel> ## Process ## * Sign up to http://disqus.com * Go to: * [http://<yourshortname>.disqus.com/admin/universalcode/](http://<yourshortname>.disqus.com/admin/universalcode/) * It will generate something akin to (replace `yourshortname`): <sxh> <callout icon="true" type="id="disqus_thread""></callout> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'yourshortname'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> </sxh> * Put the div and script into your page. Done. ## Resources ## * http://skysigal.disqus.com/admin/universalcode/ * http://help.disqus.com/customer/portal/articles/472098-javascript-configuration-variables * http://help.disqus.com/customer/portal/articles/472097-universal-embed-code * Dokuwiki: * http://help.disqus.com/customer/portal/articles/472147-dokuwiki-installation-instructions /home/skysigal/public_html/data/pages/it/ad/disqus/howto/integrate_with_a_site.txt Last modified: 2023/11/04 03:40by 127.0.0.1