<?xml version="1.0" encoding="utf-8" standalone="yes"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-ph"><title>techmagus</title><link rel="self" type="application/atom+xml" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/feed.xml"/><link rel="alternate" type="application/atom+xml" hreflang="ja" href="https://im.youronly.one/techmagus/ja/kb/webdev/feed.xml"/><link rel="alternate" type="application/atom+xml" hreflang="ko" href="https://im.youronly.one/techmagus/ko/kb/webdev/feed.xml"/><link rel="alternate" type="application/atom+xml" hreflang="x-default" href="https://im.youronly.one/techmagus/kb/webdev/feed.xml"/><link rel="alternate" type="text/html" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/"/><link rel="alternate" type="application/rss+xml" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/index.xml"/><id>/techmagus</id><updated>2025-04-02T22:30:08Z</updated><generator>Hugo 0.135.0</generator><entry><title>How-To implement cross-browser @font-face support</title><link rel="alternate" type="text/html" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/css-font-face-support/"/><id>https://im.youronly.one/techmagus/kb/webdev/css-font-face-support/</id><updated>2010-01-22T06:55:48Z</updated><summary type="html"><![CDATA[<p><em>Firefox</em> 3.6 “Final” was released today and one of the major addition is the support for the <em>Web Open Font Format</em> or “WOFF”. The result of a collaboration between the font designers <a href="https://www.letterror.com" title="Erik van Blokland" class="icon_executable" rel="noopener external">Erik van Blokland</a> and <a href="https://talleming.com" title="Tal Leming" class="icon_executable" rel="noopener external">Tal Leming</a> with help from Mozilla’s Jonathan Kew.</p>]]></summary><content type="html"><![CDATA[<img src="https://3.bp.blogspot.com/-tmNYWbX20wY/XqLEfgbdjtI/AAAAAAAAhXA/JI64YoxA9Ok2jchMsBEpq1VY8RQ2mj63QCPcBGAYYCw/s1600/Web-01.jpg" /><p><em>Firefox</em> 3.6 “Final” was released today and one of the major addition is the support for the <em>Web Open Font Format</em> or “WOFF”. The result of a collaboration between the font designers <a href="https://www.letterror.com" title="Erik van Blokland" class="icon_executable" rel="noopener external">Erik van Blokland</a> and <a href="https://talleming.com" title="Tal Leming" class="icon_executable" rel="noopener external">Tal Leming</a> with help from Mozilla’s Jonathan Kew.</p>
<p>What is it for? How can you use it? By using the CSS2 <strong>@font-face</strong> (yes CSS2 not CSS3). This new format is promising because of the large number of support from the font creators and font foundries. <del>Hopefully this will be the first font format that Microsoft® will accept for Internet Explorer browser other than their existing <em>Embedded OpenType</em> or “EOT”.</del></p>
<p><del>If IE9 supports WOFF, then this format will be the first cross-browser @font-face/webfont format. There is no question when it comes to Chromium/Chrome, Opera, and Safari, the problem with cross-browser technology is always with MSIE.</del></p>
<p><strong>Update</strong>: Microsoft added WOFF support in Internet Explorer 9 Platform Preview 3.</p>
<p>So how can you start using WOFF? Just follow these simple steps:</p>
<ol>
<li>Search for your font of choice</li>
<li>Check the license of your font if it is allowed to be used in a website (sometimes called website embedding). I strongly suggest to contact the font creator/foundry and clarify the matter to them.
<ul>
<li>@font-face fonts or <em>webfont</em>s use “open”/“share”/“freedom” type licenses, examples are:
<ul>
<li><a href="https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;item_id=OFL&amp;_sc=1" title="OpenFont License" class="icon_external" rel="noopener external">OpenFont License</a></li>
<li><a href="https://creativecommons.org" title="Creative Commons" class="icon_external" rel="noopener external">Creative Commons</a></li>
<li><a href="https://www.gnu.org/licenses/gpl-3.0.html" title="GNU/GPL" class="icon_external" rel="noopener external">GNU/GPL</a></li>
<li><a href="https://opensource.org/licenses/apache2.0.php" title="Apache License" class="icon_external" rel="noopener external">Apache License</a></li>
</ul>
</li>
<li>If you can not find any, check out <a href="https://web.archive.org/web/20141128120836/https://webfonts.info/resources/fonts-available-for-@fontface-embedding" title="Fonts available for @font-face embedding" class="icon_external" rel="noopener external">Fonts available for @font-face embedding</a>.</li>
</ul>
</li>
<li>Go to FontSquirrel’s <a href="https://www.fontsquirrel.com/tools/webfont-generator" title="@font-face generator" class="icon_external" rel="noopener external">@font-face generator</a>. The tool is self-explanatory.</li>
<li>Then click the “Download Your Kit” button and open the zip file.</li>
<li>You should have the following files (assuming you uploaded one font only)
<ul>
<li>Your original font (ttf/otf)</li>
<li>1 eot file</li>
<li>1 svg file</li>
<li>1 woff file</li>
<li>stylesheet css files</li>
</ul>
</li>
<li>Edit the stylesheet for your own use (the URL location of the font, etc.)</li>
</ol>
<h2 id="sample-font-face-stylesheet">Sample @font-face stylesheet</h2>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span><span class="lnt">7
</span><span class="lnt">8
</span><span class="lnt">9
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="p">@</span><span class="k">font-face</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nt">font-family</span><span class="o">:</span> <span class="s1">'BaybayinLopezRegular'</span><span class="o">;</span>
</span></span><span class="line"><span class="cl">  <span class="nt">src</span><span class="o">:</span> <span class="nt">url</span><span class="o">(</span><span class="s1">'baylopez-webfont.eot'</span><span class="o">);</span>
</span></span><span class="line"><span class="cl">  <span class="nt">src</span><span class="o">:</span> <span class="nt">url</span><span class="o">(</span><span class="s1">'baylopez-webfont.woff'</span><span class="o">)</span> <span class="nt">format</span><span class="o">(</span><span class="s1">'woff'</span><span class="o">),</span>
</span></span><span class="line"><span class="cl">       <span class="nt">url</span><span class="o">(</span><span class="s1">'baylopez-webfont.ttf'</span><span class="o">)</span> <span class="nt">format</span><span class="o">(</span><span class="s1">'truetype'</span><span class="o">),</span>
</span></span><span class="line"><span class="cl">       <span class="nt">url</span><span class="o">(</span><span class="s1">'baylopez-webfont.svgz#webfontsBCU3ofZ'</span><span class="o">)</span> <span class="nt">format</span><span class="o">(</span><span class="s1">'svg'</span><span class="o">),</span>
</span></span><span class="line"><span class="cl">       <span class="nt">url</span><span class="o">(</span><span class="s1">'baylopez-webfont.svg#webfontsBCU3ofZ'</span><span class="o">)</span> <span class="nt">format</span><span class="o">(</span><span class="s1">'svg'</span><span class="o">);</span>
</span></span><span class="line"><span class="cl">  <span class="nt">unicode-range</span><span class="o">:</span> <span class="nt">U</span><span class="o">+</span><span class="nt">1700-171F</span><span class="o">,</span> <span class="nt">U</span><span class="o">+</span><span class="nt">1720-173F</span><span class="o">,</span> <span class="nt">U</span><span class="o">+</span><span class="nt">1740-175F</span><span class="o">,</span> <span class="nt">U</span><span class="o">+</span><span class="nt">1760-177F</span><span class="o">;</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>And here’s what happens when a browser reads your font stylesheet:</p>
<ol>
<li>font-family name declared as: BaybayinLopezRegular</li>
<li>If MSIE: downloads baylopez-webfont.eot</li>
<li>If not, then it reads the WOFF file if the browser supports it</li>
<li>If not, then it reads the TTF file if the browser supports it</li>
<li>If not, then the browser reads the SVG file if it supports it</li>
<li>If all else fails, then it does nothing. Depending on your setup, it will either display boxes or it will search your other font declarations</li>
<li>The browser will also read the unicode-range if it supports it, and only download those specific Unicode points and ignore the rest. Making the size of transmitted to your visitors smaller.</li>
</ol>
<!--
## The @font-face Smiley variation
```css
src: local('☺')
```

The above technique prevents your visitor's browser in using any locally installed fonts. By doing this, you can be sure that your own font is the actual file the browser is rendering. This usually becomes a problem when there are [1] fonts with the same name; or [2] there are updates to the font that more likely is not installed on your visitor's machine. You can read more about it <a class="popper animate" href="https://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/#smiley" rel="noopener external nofollow" referrerpolicy="strict-origin-when-cross-origin" data-popper="Bulletproof @font-face: Smiley variation">here</a>.
-->
<h2 id="font-face-css-rule-browser-compatibility-chart">@font-face CSS Rule Browser Compatibility Chart</h2>
<p>The table below presents which font format is supported by the four major browsers - Chromium/Chrome, Firefox, Internet Explorer, Opera, and Safari. As you will see, no font format is supported across all five browsers except for WOFF… in the near future.</p>
<p>Microsoft’s EOT is out of the race, even though many font creators and foundries support it, the other four browsers are likely never going to support it. Then OTF, SVG, and TTF are out too because Internet Explorer is surely never going to implement it, and font creators/foundries do not like these formats for @font-face use.</p>
<p>That is where WOFF comes in. Commercial font creators and font foundries wants control (or restriction if you want it that way) to the fonts that can be used for the CSS @font-face rule.</p>
<p>Of course there are other advantages to WOFF like compression. WOFF is compressed, which site administrators will like because it eats less bandwidth. You can go check the fonts that came with your FontSquirrel generated font kit, WOFF is the smallest of them.</p>
<p>For now as with all new technologies, we have to wait until all major browsers adds support for WOFF. But that should not stop you from using it today. Just like with CSS3 and some HTML5, you can use it right now. It will save you time later if you do the update now than whenever you feel like to, which you will probably forget.</p>
<table style="text-align: center; margin: 0 auto; margin-top: 30px; margin-bottom: 30px; width: 88%;" border="1">
  <thead>
    <tr>
      <th style="text-align: center;"> </th>
      <th style="text-align: center;">Chrome<br />(WebKit)</th>
      <th style="text-align: center;">Firefox<br />(Gecko)</th>
      <th style="text-align: center;">IE<br />(Trident)</th>
      <th style="text-align: center;">Opera<br />(Presto)</th>
      <th style="text-align: center;">Safari<br />(WebKit)</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th style="text-align: center;">EOT</th>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v4.0</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
    </tr>
    <tr>
      <th style="text-align: center;">OTF</th>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v3.5</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v10.0</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v3.1</td>
    </tr>
    <tr>
      <th style="text-align: center;">SVG</th>
      <td style="background: #90ff90; color: #000; text-align: center;">v0.3</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v10.0</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v3.1</td>
    </tr>
    <tr>
      <th style="text-align: center;">TTF</th>
      <td style="background: #90ff90; color: #000; text-align: center;">v2.0</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v3.5</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v10.0</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v3.1</td>
    </tr>
    <tr>
      <th style="text-align: center;">WOFF</th>
      <td style="background: #90ff90; color: #000; text-align: center;">v5.0</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v3.6</td>
      <td style="background: #90ff90; color: #000; text-align: center;">v9.0</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
      <td style="background: #ff9090; color: #000; text-align: center;">No</td>
    </tr>
  </tbody>
</table>
<h2 id="lets-test-your-browser">Let’s Test Your Browser</h2>
<p>If you see the Baybayin writing script below, then your browser supports one of the font formats - EOT, OTF, SVG, TTF, or WOFF. If not, then you should upgrade your browser because my font stylesheet captures all browsers. (At least from my testing, on two computers without any Baybayin fonts - it displays correctly on all the major browsers.)</p>
<h3 id="example-1">Example #1</h3>
<ul>
<li>
<p>Filipino-Baybayin: <bdi lang="fil-Tglg">ᜀᜅ᜔ ᜊᜓᜃᜓ ᜀᜌ᜔ ᜉᜍ ᜐ ᜆᜂ ᜇᜑᜒᜎ᜔ ᜏᜎ ᜈᜅ᜔ ᜉᜓᜏᜒᜇᜒᜅ᜔ ᜋᜁᜈᜓᜋ᜔ ᜈ ᜄᜆᜐ᜔᜶</bdi></p>
</li>
<li>
<p>Filipino-Latin: <bdi lang="fil">Ang buko ay para sa tao dahil wala nang puwedeng mainom na gatas.</bdi></p>
</li>
<li>
<p>English: The coconut is for people because there is not enough milk to drink.</p>
</li>
</ul>
<h3 id="example-2">Example #2</h3>
<ul>
<li>
<p>Filipino-Baybayin: <bdi lang="fil-Tglg">ᜉᜓᜏᜒᜇᜒ ᜃᜅ᜔ ᜌᜓᜋᜋᜈ᜔ ᜇᜑᜒᜎ᜔ ᜐ ᜊᜄᜓᜅ᜔ ᜍᜓᜎᜒᜆ᜶</bdi></p>
</li>
<li>
<p>Filipino-Latin: <bdi lang="fil">Puwede kang yumaman dahil sa bagong roleta.</bdi></p>
</li>
<li>
<p>English: You can be rich because of the new wheel.</p>
</li>
</ul>
<!--
What are these? These are called *pangrams*. A pangram is a sentence using every letter of the alphabet at least once. The most common pangram (in English) is: *The quick brown fox jumps over the lazy dog.* Which is written in:
* Filipino-Baybayin: <bdi lang="fil-Tglg">ᜀᜅ᜔ ᜋᜊᜒᜎᜒᜐ᜔ ᜈ ᜃᜌᜓᜋᜅ᜔ᜑᜒᜅ᜔ ᜐᜓᜍᜓ ᜀᜌ᜔ ᜆᜒᜈᜎᜓᜈᜈ᜔ ᜀᜅ᜔ ᜆᜆᜋᜇ᜔ᜆᜋᜇ᜔ ᜈ ᜀᜐᜓ᜶</bdi>
* Filipino-Latin: <bdi lang="fil">Ang mabilis na kayumangging soro ay tinalunan ang tatamad-tamad na aso.</bdi>
-->
<p>Enjoy!</p>
<hr>
<p>Sources:</p>
<ul>
<li><a href="https://hacks.mozilla.org/2009/10/woff/" title="Web Open Font Format for Firefox 3.6" class="icon_external" rel="noopener external">Web Open Font Format for Firefox 3.6</a></li>
<li><a href="https://en.wikipedia.org/wiki/Web_typography" title="Web typography" class="icon_external" rel="noopener external">Web typography</a></li>
<li><a href="https://blog.mozilla.org/blog/2009/10/20/mozilla-supports-web-open-font-format/" title="Mozilla Supports Web Open Font Format" class="icon_external" rel="noopener external">Mozilla Supports Web Open Font Format</a> (includes a list of font creators and font foundries supporting WOFF)</li>
</ul>
<!--
* <a class="popper animate" href="https://en.wikipedia.org/wiki/Pangram" rel="noopener external nofollow" referrerpolicy="strict-origin-when-cross-origin" data-popper="Wikipedia: Pangram">Wikipedia: Pangram</a>
* <a class="popper animate" href="https://web.archive.org/web/20141012231620/https://en.wikipedia.org/wiki/List_of_pangrams" rel="noopener external nofollow" referrerpolicy="strict-origin-when-cross-origin" data-popper="Wikipedia: List of pangrams">Wikipedia: List of pangrams</a>
-->
<hr>
<div role="cover-image-attributions">
    <div class="header_attribution">
      <footer class="attribution_caption"><p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"><small>
              ・ Cover image: <cite><a href="https://www.flickr.com/photos/manoftaste-de/14069118533" rel="dct:title noopener external nofollow">Web</a></cite> by <a href="https://www.flickr.com/photos/manoftaste-de/" rel="dct:creator noopener external nofollow"><a href="https://www.manoftaste.de" title="www.manoftaste.de" class="icon_external" rel="noopener external">www.manoftaste.de</a></a> is
                  licensed under <a href="#ZgotmplZ" rel="license noopener external">CC BY-SA 2.0</a>.</small></p></footer>
    </div></div>]]></content><author><name>Yohan Yukiya Sese-Cuneta</name><uri>https://im.youronly.one/techmagus/</uri></author><category term="how-to" label="How-To" scheme="https://im.youronly.one/techmagus/cat/how-to/"/><category term="css" label="CSS" scheme="https://im.youronly.one/techmagus/tag/css/"/><published>2010-01-22T06:55:48Z</published></entry><entry><title>The LANG attribute</title><link rel="alternate" type="text/html" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/lang-attribute/"/><id>https://im.youronly.one/techmagus/kb/webdev/lang-attribute/</id><updated>2009-06-20T16:20:37Z</updated><summary type="html"><![CDATA[<p>In my previous post I talked about “Baybayin - the Forgotten Pre-Hispanic Writing of the Filipino”. It was added in version 5.0 of the <a href="https://unicode.org" title="Unicode Standard" class="icon_external" rel="noopener external">Unicode Standard</a> together with Buhid, Hanunoo, and Tagbanwa under the “Philippine Scripts” group. But how should we properly write or mark our content written in another language and script?</p>
<p>For this post, I will talk about how to correctly declare the language of your content, this way you are being friendly with translation software and helper applications, and other technologies that rely on this often taken-for-granted HTML attribute. As is shown in our image, everyone can see the writing script used, but in the digital world there are people who do not have the fonts you are using. There are also people who do not use the same browser as you and me use - it could be a text-only browser, a speech browser, or a Braille browser.</p>
<p>It is then only appropriate that we properly and correctly tag our content with the language and script we are using. Get ready to use the LANG attribute a lot.</p>]]></summary><content type="html"><![CDATA[<img src="https://3.bp.blogspot.com/-OjERfiifRYA/Xqp2WZ_WrEI/AAAAAAAAhbo/TExJwOEWDcMF2UU48Fbn4Pz-vZe7pgiLQCLcBGAsYHQ/s1600/lave%2Bt%2527es%2Bmains-1800x.jpg" /><p>In my previous post I talked about “Baybayin - the Forgotten Pre-Hispanic Writing of the Filipino”. It was added in version 5.0 of the <a href="https://unicode.org" title="Unicode Standard" class="icon_external" rel="noopener external">Unicode Standard</a> together with Buhid, Hanunoo, and Tagbanwa under the “Philippine Scripts” group. But how should we properly write or mark our content written in another language and script?</p>
<p>For this post, I will talk about how to correctly declare the language of your content, this way you are being friendly with translation software and helper applications, and other technologies that rely on this often taken-for-granted HTML attribute. As is shown in our image, everyone can see the writing script used, but in the digital world there are people who do not have the fonts you are using. There are also people who do not use the same browser as you and me use - it could be a text-only browser, a speech browser, or a Braille browser.</p>
<p>It is then only appropriate that we properly and correctly tag our content with the language and script we are using. Get ready to use the LANG attribute a lot.</p>
<p>When creating websites, it is important to properly declare the language being used on the webpage. For example, I use the following for my sites:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">"en-PH"</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>It is also important to declare the character set especially when you are going to use any characters beyond the scope of ASCII. This is how it looks like:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">"UTF-8"</span> <span class="p">/></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Putting it all together, our basic HTML should be.</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp"><!DOCTYPE html></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">"en-PH"</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">head</span><span class="p">></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">"UTF-8"</span> <span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">meta</span> <span class="na">description</span><span class="o">=</span><span class="s">"My Website"</span> <span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">meta</span> <span class="na">keywords</span><span class="o">=</span><span class="s">"Philippines, Baybayin"</span> <span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">title</span><span class="p">></span>My Baybayin Website<span class="p"></</span><span class="nt">title</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"></</span><span class="nt">head</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">body</span><span class="p">></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">p</span><span class="p">></span>Mabuhay!<span class="p"></</span><span class="nt">p</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"></</span><span class="nt">body</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">html</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Now let’s dig-in…</p>
<h2 id="the-lang-attribute">The <em>lang</em> attribute</h2>
<p>The HTML lang attribute defines the language of the content enclosed within the element it was declared. The codes are called <em>subtag</em>, and for my Filipino readers, there are only three subtag types you should worry about: language-Script-REGION. The full format: language-extended_language-Script-REGION-variant-extension-privateuse.</p>
<p>See the table below:</p>

<table id="langcode" border="2" summary="Language code example" style="min-width: 80%; width: 80%;">
  <thead style="text-align: center;">
    <tr>
      <th style="min-width: 15%; width: 15%;">Code</th>
      <th>Language</th>
      <th>Subtag Placement</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>en</td>
      <td>(Generic) English</td>
      <td>language</td>
    </tr>
    <tr>
      <td>en-PH</td>
      <td>Philippine English</td>
      <td>language+REGION</td>
    </tr>
    <tr>
      <td>fil-Tglg</td>
      <td>Filipino in Baybayin</td>
      <td>language+Script</td>
    </tr>
    <tr>
      <td>bik-cts-Tglg</td>
      <td>Bikolano of the Pandan (Northern Catanduanes) dialect in Baybayin script</td>
      <td>language+extended_language+Script</td>
    </tr>
    <tr>
      <td>phi-Tglg-tsg</td>
      <td>Tausug Philippine language written in Baybayin script</td>
      <td>language+Script+variant</td>
    </tr>
  </tbody>
</table>
<p></p>
<p>If you want to find the subtags for a particular language, previously we have to check different websites and plenty of official code lists. A time-consuming task (although normally you only have to do this once), right? Well, the latest official subtags can now be found in the <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry" title="IANA Language Subtag Registry" class="icon_external" rel="noopener external">IANA Language Subtag Registry</a>. It is now the universal source for all valid subtags.</p>
<p>According to the latest list (as of this writing), the subtags that are related to the Philippines are the following (if I missed anything, please leave a comment below):</p>
<h3 id="languages">Languages</h3>
<ul>
<li>
<p>Tagalog</p>
<ul>
<li>Type: language</li>
<li>Subtag: tl</li>
<li>Description: Tagalog</li>
<li>Added: 2005-10-16</li>
<li>Suppress-Script: Latn</li>
</ul>
</li>
<li>
<p>Bikol</p>
<ul>
<li>Type: language</li>
<li>Subtag: bik</li>
<li>Description: Bikol</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Cebuano</p>
<ul>
<li>Type: language</li>
<li>Subtag: ceb</li>
<li>Description: Cebuano</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Filipino/Pilipino</p>
<ul>
<li>Type: language</li>
<li>Subtag: fil</li>
<li>Description: Filipino</li>
<li>Description: Pilipino</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Hiligaynon</p>
<ul>
<li>Type: language</li>
<li>Subtag: hil</li>
<li>Description: Hiligaynon</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Iloko</p>
<ul>
<li>Type: language</li>
<li>Subtag: ilo</li>
<li>Description: Iloko</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Pangasinan</p>
<ul>
<li>Type: language</li>
<li>Subtag: pag</li>
<li>Description: Pangasinan</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Pampanga/Kapampangan</p>
<ul>
<li>Type: language</li>
<li>Subtag: pam</li>
<li>Description: Pampanga</li>
<li>Description: Kapampangan</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Philippine languages</p>
<ul>
<li>Type: language</li>
<li>Subtag: phi</li>
<li>Description: Philippine languages</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Waray</p>
<ul>
<li>Type: language</li>
<li>Subtag: war</li>
<li>Description: Waray</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
</ul>
<h3 id="region">Region</h3>
<ul>
<li>Philippines
<ul>
<li>Type: region</li>
<li>Subtag: PH</li>
<li>Description: Philippines</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
</ul>
<h3 id="scripts">Scripts</h3>
<ul>
<li>
<p>Buhid</p>
<ul>
<li>Type: script</li>
<li>Subtag: Buhd</li>
<li>Description: Buhid</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Hanunoo (Hanunóo)</p>
<ul>
<li>Type: script</li>
<li>Subtag: Hano</li>
<li>Description: Hanunoo (Hanunóo)</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Tagbanwa</p>
<ul>
<li>Type: script</li>
<li>Subtag: Tagb</li>
<li>Description: Tagbanwa</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
<li>
<p>Tagalog</p>
<ul>
<li>Type: script</li>
<li>Subtag: Tglg</li>
<li>Description: Tagalog</li>
<li>Description: Baybayin</li>
<li>Description: Alibata</li>
<li>Added: 2005-10-16</li>
</ul>
</li>
</ul>
<p>Now that we have the subtags we need we can start coding the correct <code>lang</code> value for any Philippines language and script. See these examples:</p>
<ul>
<li>If you grew and learned English in the Philippines, more likely than not, you are using English words that are exclusive to the Philippines, as well as, following strict language rules that are taught only in Philippine English. This is the correct <code>lang</code> value for your website: <code>lang="en-PH"</code></li>
<li>If you are writing in Filipino, not Tagalog, use this: <code>lang="fil"</code></li>
<li>If you are writing in Tagalog, not Filipino, use this: <code>lang="tl"</code></li>
<li>For Bikolano, use this: <code>lang="bik"</code></li>
<li>In Cebuano, use this: <code>lang="ceb"</code></li>
<li>Hiligaynon, use this: <code>lang="hil"</code></li>
<li>In Iloko, use this: <code>lang="ilo"</code></li>
<li>In Pangasinense: <code>lang="pag"</code></li>
<li>Kapampangan: <code>lang="pam"</code></li>
<li>Waray: <code>lang="war"</code></li>
<li>For Philippines languages with no corresponding <a href="https://www.loc.gov/standards/iso639-2/php/code_list.php" title="ISO-639-2" class="icon_external" rel="noopener external">ISO-639-2</a> code, you have to use the generic subtag: <code>lang="phi"</code></li>
</ul>
<p>Then if you want to write something in Baybayin script you have to enclose it correctly with the script subtag “Tglg”. Remember, the format is: language-Script, like so:</p>
<ul>
<li>If writing in Filipino and Tagalog using Baybayin script, use: <code>lang="fil-Tglg"</code></li>
<li>In Bikolano but Baybayin script: <code>lang="bik-Tglg"</code></li>
<li>Cebuano using Baybayin script: <code>lang="ceb-Tglg"</code></li>
<li>All other Philippine languages without an ISO-639-2 subtag should use: <code>lang="phi-Tglg"</code></li>
</ul>
<p><del datetime="2021-09-24T18:32:17+08:00">Why do we have no <code>lang="tl-Tglg"</code> subtag code? Because of <em>Suppress-Script: Latn</em> , in the IANA Language Subtag Registry as was shown earlier. If I understood it correctly, it means that the Tagalog language as per the official standard should always be written in the Latin script. I assume then that lang=“tl-Tglg” is wrong and applications have the option to ignore it or drop the “Tglg” script subtag. In this case, just use “fil-Tglg”.</del></p>
<h2 id="iso-639-3-languages">ISO-639-3 Languages</h2>
<p>There is another subtag that you should learn if you want to target <a href="https://web.archive.org/web/20130218160105///www.sil.org:80/iso639-3/macrolanguages.asp" title="dialects and macrolanguages" class="icon_external" rel="noopener external">dialects and macrolanguages</a>. You can find a list from the ISO standard <a href="https://web.archive.org/web/20130217113439///www.sil.org:80/iso639-3/codes.asp?" title="ISO-639-3" class="icon_external" rel="noopener external">ISO-639-3</a>. Let’s use Bikolano as an example. The format to use is: language-extended_language-Script.</p>
<ul>
<li>If you are writing in Central Bikolano, use: <code>lang="bik-bcl"</code></li>
<li>If writing in Albay Bikolano / Buhi-Daraga: <code>lang="bik-bhk"</code></li>
<li>If in Iriga Bikolano using the Baybayin script: <code>lang="bik-bto-Tglg"</code></li>
<li>If in Pandan (Northern Catanduanes) using the Baybayin script: <code>lang="bik-cts-Tglg"</code></li>
</ul>
<p>The language-<em><strong>extended_language</strong></em>-Script is, as of this article, still not yet implemented. The basis for the lang attribute is always the <a href="https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry" title="IANA Language Subtag Registry" class="icon_external" rel="noopener external">IANA Language Subtag Registry</a>, once it has been updated to include <em>extended_language</em>s then we can start using it where needed.</p>
<h3 id="the-phi-language-subtag">The <em>phi</em> language subtag</h3>
<p>Next is if your language have an ISO-639-3 code and is under or part of the language code “phi” in ISO-639-2, then the <em>phi</em> subtag is to be used. This subtag code is considered a <strong>collective language</strong>. Good examples are:</p>
<ul>
<li>Kinaray-a language: <code>lang="phi-krj"</code></li>
<li>Maguindanao language: <code>lang="phi-mdh"</code></li>
<li>Maranao language written in Baybayin script: <code>lang="phi-Tglg-mrw"</code></li>
<li>Tausug language written in Baybayin script: <code>lang="phi-Tglg-tsg"</code></li>
</ul>
<p>As you probably have noticed the format I used was <em>language-Script-variant</em> and not <em>language-extended_language-Script</em>. My reasoning is simple - the <em>phi</em> language code is not really a language, it is accurately called a “collective” language entry in ISO-639-2 for all other Philippine languages <strong>not found</strong> in this version of the ISO language standard. Compare that to the <em>bik</em> language code, it was clearly marked as a “macrolanguage” both in ISO-639-2 and ISO-639-3.</p>
<p>Additionally, according to the <a href="https://www.w3.org/International/articles/language-tags/" title="World Wide Web Consortium" class="icon_external" rel="noopener external">World Wide Web Consortium</a> or W3C, <strong>dialects</strong> of macrolanguages are considered/should be written <strong>immediately after</strong> the language subtag. In other words, if your ISO-639-2 code is considered a macrolanguage then you should use the <em>extended_language</em> subtag position like <code>lang="bik-cts-Tglg"</code>. If it wasn’t defined as a macrolanguage, then you should use the <em>variant</em> subtag position as is the case in <code>lang="phi-Tglg-tsg"</code>.</p>
<h2 id="examples-examples-and-more-examples">Examples, examples, and more examples…</h2>
<p>If you website is mainly about Iriga and you write in your own language, then you should adjust your website’s header files accordingly:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="cp"><!DOCTYPE html></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">"bik-bto"</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">head</span><span class="p">></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">meta</span> <span class="na">charset</span><span class="o">=</span><span class="s">"UTF-8"</span> <span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">meta</span> <span class="na">description</span><span class="o">=</span><span class="s">"Ang Website Ko Sa Iriga Bikolano"</span> <span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">meta</span> <span class="na">keywords</span><span class="o">=</span><span class="s">"Philippines, Baybayin, Iriga, Bikolano"</span> <span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">title</span><span class="p">></span>Ang Website Ko Sa Iriga Bikolano<span class="p"></</span><span class="nt">title</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"></</span><span class="nt">head</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">body</span><span class="p">></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">p</span><span class="p">></span>Mabuhay!<span class="p"></</span><span class="nt">p</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"></</span><span class="nt">body</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">html</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>If you want to write “Happy Father’s Day” in Baybayin, this is how you do it:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl">  <span class="p"><</span><span class="nt">bdi</span> <span class="na">lang</span><span class="o">=</span><span class="s">"fil-Tglg"</span><span class="p">></span>ᜋᜎᜒᜄᜌᜅ᜔ ᜀᜍᜏ᜔ ᜈᜅ᜔ ᜋᜅ ᜀᜋ<span class="p"></</span><span class="nt">bdi</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Simple? Cool! Just remember that when writing language tags, keep it as simple and as short as possible. If you do not have a need to be very specific like say <code>lang="bik-bcl"</code> then don’t be! Simply use <code>lang="bik"</code>. This is especially true for blogs. So if your blog is in Filipino language (!not Tagalog!) then you use:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">html</span> <span class="na">lang</span><span class="o">=</span><span class="s">"fil"</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>Only be specific when you need it or when your site caters mainly to that particular audience and/or region. Additionally, if you are going to use (which you probably will) other languages and scripts, enclose it always in a span or div element as I’ve shown in my Baybayin example above.</p>
<p>Easy? Yes it is. It takes time to get used to it, and yes, it is confusing at first. But you will get the hang of it eventually. Go on and update your websites now and start practising marking your content with the correct language and script.</p>
<hr>
<div role="cover-image-attributions">
    <div class="header_attribution">
      <footer class="attribution_caption"><p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"><small>
              ・ Cover image: <cite><a href="https://www.flickr.com/photos/29233640@N07/24754999650" rel="dct:title noopener external nofollow">lave t’es mains</a></cite> by <a href="https://www.flickr.com/photos/29233640@N07/" rel="dct:creator noopener external nofollow">Robert Couse-Baker</a> is
                  licensed under <a href="https://creativecommons.org/licenses/by/2.0/" rel="license noopener external">CC-BY 2.0</a>.</small></p></footer>
    </div></div>]]></content><author><name>Yohan Yukiya Sese-Cuneta</name><uri>https://im.youronly.one/techmagus/</uri></author><category term="how-to" label="How-To" scheme="https://im.youronly.one/techmagus/cat/how-to/"/><category term="html" label="HTML" scheme="https://im.youronly.one/techmagus/tag/html/"/><published>2009-06-20T16:20:37Z</published></entry><entry><title>How-To integrate DISQUS on Blogger/BlogSpot classic templates</title><link rel="alternate" type="text/html" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/integrate-disqus-blogger-blogspot-classic/"/><id>https://im.youronly.one/techmagus/kb/webdev/integrate-disqus-blogger-blogspot-classic/</id><updated>2008-05-24T18:45:39Z</updated><summary type="html"><![CDATA[<figure class="quote_box qbs_generic  qbc_yellow">
<div>
<p>This only applies to “first-generation classic themes” or “traditional templates”.</p>
</div></figure>
<p>Maybe you have read my <a href="https://im.youronly.one/techmagus/kb/webdev/add-disqus-blogger-blogspot/" title="HOW TO: Add DISQUS Manually on Blogger/BlogSpot">HOW TO: Add DISQUS Manually on Blogger/BlogSpot</a> but found it is for XML-based templates. Fret not, in this how-to, we are going to integrate DISQUS on your Blogger/BlogSpot Classic/Custom Template!</p>]]></summary><content type="html"><![CDATA[<img src="https://4.bp.blogspot.com/-g0D8KJDIhYA/XqVTmie0X2I/AAAAAAAAhY8/aYSBg3dpOzYlHLAV60sJdXgYMNRua4RQQCPcBGAYYCw/s1600/Blog-01.jpg" /><figure class="quote_box qbs_generic  qbc_yellow">
<div>
<p>This only applies to “first-generation classic themes” or “traditional templates”.</p>
</div></figure>
<p>Maybe you have read my <a href="https://im.youronly.one/techmagus/kb/webdev/add-disqus-blogger-blogspot/" title="HOW TO: Add DISQUS Manually on Blogger/BlogSpot">HOW TO: Add DISQUS Manually on Blogger/BlogSpot</a> but found it is for XML-based templates. Fret not, in this how-to, we are going to integrate DISQUS on your Blogger/BlogSpot Classic/Custom Template!</p>
<p>Check for updates below this guide. Latest update on Tuesday, 2009-04-28.</p>
<p>But first, thanks to <a href="https://disqus.com/by/nathos/" target="_blank" rel="noopener">Nathan</a> <a href="https://nathos.com/" target="_blank" rel="noopener">Henderson</a> for sharing the changes he did. I then added a few more edits to give the finishing touch. Last but definitely not the least, read this warning.</p>
<figure class="quote_box qbs_generic  qbc_red">
<div>
<p><strong>WARNING</strong>: Be sure to back-up your <em>working</em> template before attempting to overwrite it! This guide is also recommended to be followed by those comfortable with editing HTML/CSS.</p>
</div></figure>
<h2 id="step-1">Step 1</h2>
<ul>
<li>
<p>1.1: Add this to your CSS area or CSS file:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="c">/* Depending on your template, sometimes on some browsers, disqus doesn't auto-width 100% */</span>
</span></span><span class="line"><span class="cl"><span class="p">#</span><span class="nn">disqus_thread</span><span class="o">,</span> <span class="p">#</span><span class="nn">disqus_thread</span> <span class="p">#</span><span class="nn">dsq-content</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="k">width</span><span class="p">:</span> <span class="mi">100</span><span class="kt">%</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-2">Step 2</h2>
<p>Step 2 is for the “0 Comment”; “1 Comment”; “10 Comments” link that shows on your main page.</p>
<ul>
<li>
<p>2.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">a</span> <span class="na">class</span><span class="o">=</span><span class="s">"comment-link"</span> <span class="na">href</span><span class="o">=</span><span class="s">"<$BlogItemCommentCreate$>"</span><span class="err"><$</span><span class="na">BlogItemCommentFormOnclick</span><span class="err">$</span><span class="p">></span>><span class="p"><</span><span class="nt">span</span> <span class="na">style</span><span class="o">=</span><span class="s">"text-transform:lowercase"</span><span class="p">></span><span class="err"><</span>$I18NNumComments$><span class="p"></</span><span class="nt">span</span><span class="p">></</span><span class="nt">a</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>OR</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">a</span> <span class="na">class</span><span class="o">=</span><span class="s">"comment-link"</span> <span class="na">href</span><span class="o">=</span><span class="s">"<$BlogItemCommentCreate$>"</span><span class="err"><$</span><span class="na">BlogItemCommentFormOnclick</span><span class="err">$</span><span class="p">></span>><span class="err"><</span>$BlogItemCommentCount$> Comments<span class="p"></</span><span class="nt">a</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>2.2: Change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><span style="text-transform:lowercase"><$I18NNumComments$></span></a> --></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- +disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">a</span> <span class="na">class</span><span class="o">=</span><span class="s">'comment-link commentslink'</span> <span class="na">href</span><span class="o">=</span><span class="s">'<$BlogItemPermalinkUrl$>#disqus_thread'</span><span class="p">><</span><span class="nt">span</span> <span class="na">style</span><span class="o">=</span><span class="s">"text-transform:lowercase"</span><span class="p">></span>View Comments »<span class="p"></</span><span class="nt">span</span><span class="p">></</span><span class="nt">a</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- -disqus --></span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>OR</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <a class="comment-link" href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><$BlogItemCommentCount$> Comments</a> --></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- +disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">a</span> <span class="na">class</span><span class="o">=</span><span class="s">'comment-link commentslink'</span> <span class="na">href</span><span class="o">=</span><span class="s">'<$BlogItemPermalinkUrl$>#disqus_thread'</span><span class="p">><</span><span class="nt">span</span> <span class="na">style</span><span class="o">=</span><span class="s">"text-transform:lowercase"</span><span class="p">></span>View Comments »<span class="p"></</span><span class="nt">span</span><span class="p">></</span><span class="nt">a</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- -disqus --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-3">Step 3</h2>
<p>This step is for “0 Comment”; “1 Comment”; “10 Comments” text that shows up when viewing a single post. Also note that this piece of code is not present in some templates by-design, so skip to Step 4.</p>
<ul>
<li>
<p>3.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="err"><</span>$I18NNumComments$>:
</span></span></code></pre></td></tr></table>
</div>
</div><p>OR</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="err"><</span>$BlogItemCommentCount$> Comments:
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>3.2: Change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <$I18NNumComments$>: --></span>
</span></span><span class="line"><span class="cl">Comments:
</span></span></code></pre></td></tr></table>
</div>
</div><p>OR</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <$BlogItemCommentCount$> --></span> Comments:
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-4">Step 4</h2>
<ul>
<li>
<p>4.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="err"><</span>$BlogItemCreate$>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>4.2: Change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl"><!-- <$BlogItemCreate$> -->
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>4.3: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl"><$BlogItemFeedLinks$>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>4.4: Change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <$BlogItemFeedLinks$> --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-5">Step 5</h2>
<ul>
<li>
<p>5.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl"></BlogItemCommentsEnabled>
</span></span><span class="line"><span class="cl"><BlogItemBacklinksEnabled>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>5.2: Add above/before:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- BGN: disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">"disqus_thread"</span><span class="p">></</span><span class="nt">div</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">'disqus_post_title'</span> <span class="na">style</span><span class="o">=</span><span class="s">'display:none;'</span><span class="p">></span><span class="err"><</span>$BlogItemTitle$><span class="p"></</span><span class="nt">div</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">'disqus_post_permalink'</span> <span class="na">style</span><span class="o">=</span><span class="s">'display:none;'</span><span class="p">></span><span class="err"><</span>$BlogItemPermalinkUrl$><span class="p"></</span><span class="nt">div</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/javascript"</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="kd">var</span> <span class="nx">disqus_shortname</span> <span class="o">=</span> <span class="s1">'DISQUS-SHORT-NAME'</span><span class="p">;</span> <span class="c1">// required: replace example with your forum shortname
</span></span></span><span class="line"><span class="cl"><span class="c1"></span>    <span class="kd">var</span> <span class="nx">disqus_title</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">'disqus_post_title'</span><span class="p">).</span><span class="nx">innerHTML</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">    <span class="kd">var</span> <span class="nx">disqus_url</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">'disqus_post_permalink'</span><span class="p">).</span><span class="nx">innerHTML</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * DON'T EDIT BELOW THIS LINE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">        <span class="kd">var</span> <span class="nx">dsq</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">'script'</span><span class="p">);</span> <span class="nx">dsq</span><span class="p">.</span><span class="nx">type</span> <span class="o">=</span> <span class="s1">'text/javascript'</span><span class="p">;</span> <span class="nx">dsq</span><span class="p">.</span><span class="kr">async</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="nx">dsq</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s1">'//'</span> <span class="o">+</span> <span class="nx">disqus_shortname</span> <span class="o">+</span> <span class="s1">'.disqus.com/embed.js'</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'head'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span> <span class="o">||</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'body'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]).</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">dsq</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="p">})();</span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">script</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">noscript</span><span class="p">></span>Please enable JavaScript to view the <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://disqus.com/?ref_noscript"</span><span class="p">></span>comments powered by Disqus.<span class="p"></</span><span class="nt">a</span><span class="p">></</span><span class="nt">noscript</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://disqus.com"</span> <span class="na">class</span><span class="o">=</span><span class="s">"dsq-brlink"</span><span class="p">></span>comments powered by <span class="p"><</span><span class="nt">span</span> <span class="na">class</span><span class="o">=</span><span class="s">"logo-disqus"</span><span class="p">></span>Disqus<span class="p"></</span><span class="nt">span</span><span class="p">></</span><span class="nt">a</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- END: disqus --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>5.3: In Step 5.2, change the <b>DISQUS-SHORT-NAME</b> to your blog’s DISQUS URL.<br />Example, if your DISQUS URL is <i>libresoftware.disqus.com</i> then change DISQUS-SHORT-NAME to <i>libresoftware</i>. There is <b>one</b> to change.</p>
</li>
</ul>
<h2 id="step-6">Step 6</h2>
<ul>
<li>
<p>6.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"></</span><span class="nt">body</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>6.2: Add above:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- BGN: disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/javascript"</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="kd">var</span> <span class="nx">disqus_shortname</span> <span class="o">=</span> <span class="s1">'DISQUS-SHORT-NAME'</span><span class="p">;</span> <span class="c1">// required: replace example with your forum shortname
</span></span></span><span class="line"><span class="cl"><span class="c1"></span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * DON'T EDIT BELOW THIS LINE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">        <span class="kd">var</span> <span class="nx">s</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">'script'</span><span class="p">);</span> <span class="nx">s</span><span class="p">.</span><span class="kr">async</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="nx">s</span><span class="p">.</span><span class="nx">type</span> <span class="o">=</span> <span class="s1">'text/javascript'</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="nx">s</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s1">'//'</span> <span class="o">+</span> <span class="nx">disqus_shortname</span> <span class="o">+</span> <span class="s1">'.disqus.com/count.js'</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'HEAD'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span> <span class="o">||</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'BODY'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]).</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">s</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="p">}());</span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">script</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- END: disqus --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>6.3: In step 6.2, change the DISQUS-SHORT-NAME to your blog’s DISQUS URL.<br />Again, if your DISQUS URL is <i>libresoftware.disqus.com</i> then change DISQUS-SHORT-NAME to <i>libresoftware</i>. Only <b>one</b> to change here.</p>
</li>
</ul>
<h2 id="step-7">Step 7</h2>
<ul>
<li>7.1: Copy your updated code to your Blogger’s Template editing section and save it.</li>
</ul>
<h2 id="step-8">Step 8</h2>
<ul>
<li>8.1: Force refresh your blog and blog-post (usually CTRL+F5) to see the changes.Force refresh tells your browser to fetch a new copy of the site from the server.</li>
</ul>
<p>You’re done! Congratulations!</p>
<p>Some notes to remember. This how-to guide was designed to still show the comments posted via your built-in comment system (Blogger’s in this case), while at the same disabling the ability to post new comments using the old system by removing the link.</p>
<p>For the adventurous, you can also find the <span class="popper animate removed_link" data-popper="https://disqus.disqus.com/developers/">DISQUS API here</span>.</p>
<hr>
<h2 id="updates">Updates</h2>
<ul>
<li>
<p>Friday, 2013-08-02: Updated the JavaScript code to reflect the latest disqus script in steps 5 and 6</p>
</li>
<li>
<p>Saturday, 2008-06-14</p>
<ul>
<li>Updated the instructions to include the older Classic Template codes</li>
<li>Updated Step 6. The reason the ## Comments was not showing up was because I missed to change one instance of DISQUS-SHORT-NAME, which was pulling data from “highstreet5”. Please check your codes on Step 6</li>
<li>Thanks to the classic blogger code provided by <a href="https://balazos.blogspot.com" target="_blank" rel="noopener">David Alvarez</a>. I was helping him integrate DISQUS and that’s when I caught the error.</li>
</ul>
</li>
<li>
<p>Saturday, 2008-08-02: The tutorial was added at <a href="https://web.archive.org/web/20100428045802/https://disqus.disqus.com:80/help_using_disqus_with_custom_blogger_templates/" target="_blank" rel="noopener">DISQUS help forums</a> by <a href="https://disqus.com/by/Badr/" target="_blank" rel="noopener">Andrew</a> (from Disqus). Thank you very much and I’m glad to be of help to the community!</p>
</li>
<li>
<p>Saturday, 2008-08-23: Changed /{YOUR-DISQUS-URL}/ to /DISQUS-SHORT-URL/ to avoid confusion. Thanks to hackcrack for the suggestion.</p>
</li>
<li>
<p>Tuesday, 2009-04-28: Corrected Steps 5.2 and 6.2. Hat tip to chrisdfeld for catching the errors.</p>
</li>
<li>
<p>Tuesday, 2011-07-06: Fixed typographical error in Step 5.2, thanks to <a href="https://the-randomizer.blogspot.com" target="_blank" rel="noopener">lil-bee</a> for bringing it to my attention</p>
</li>
</ul>
<p>If you have other questions, don’t hesitate to reply in our Disqus-powered comments or the <a href="https://web.archive.org/web/20100428045802/https://disqus.disqus.com:80/help_using_disqus_with_custom_blogger_templates/" target="_blank" rel="noopener">official Disqus forums</a>!</p>
<hr>
<div role="cover-image-attributions">
    <div class="header_attribution">
      <footer class="attribution_caption"><p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"><small>
              ・ Cover image: <cite><a href="https://www.flickr.com/photos/manoftaste-de/14045819341" rel="dct:title noopener external nofollow">Blog</a></cite> by <a href="https://www.manoftaste.de" rel="dct:creator noopener external nofollow"><a href="https://www.manoftaste.de" title="www.manoftaste.de" class="icon_external" rel="noopener external">www.manoftaste.de</a></a> is
                  licensed under <a href="https://creativecommons.org/licenses/by-sa/2.0/" rel="license noopener external">CC BY-SA 2.0</a>.</small></p></footer>
    </div></div>]]></content><author><name>Yohan Yukiya Sese-Cuneta</name><uri>https://im.youronly.one/techmagus/</uri></author><category term="how-to" label="How-To" scheme="https://im.youronly.one/techmagus/cat/how-to/"/><category term="google blogger" label="Google Blogger" scheme="https://im.youronly.one/techmagus/tag/google-blogger/"/><published>2008-05-24T18:45:39Z</published></entry><entry><title>How-To add DISQUS manually on Blogger/BlogSpot</title><link rel="alternate" type="text/html" hreflang="en-ph" href="https://im.youronly.one/techmagus/kb/webdev/add-disqus-blogger-blogspot/"/><id>https://im.youronly.one/techmagus/kb/webdev/add-disqus-blogger-blogspot/</id><updated>2008-05-23T04:12:48Z</updated><summary type="html"><![CDATA[<figure class="quote_box qbs_generic  qbc_yellow">
<div>
<p>This guide was last updated on 2008 and since then Disqus created an automated method. It is strongly suggested to use it by visiting <a href="https://disqus.com/admin/settings/blogger/" title="this link" class="icon_external" rel="noopener external">this link</a> and then switch to the correct site.</p>
</div></figure>
<p>If like me you are using <a class="popper animate" href="https://disqus.com" target="_blank" rel="noopener" data-popper="DISQUS">DISQUS</a> for your blog or site comments system, then maybe you’ve encountered a problem with integrating it to your custom theme/template. In this simple tutorial, I will show you which code bits to edit to successfully integrate Disqus into your Google Blogger/BlogSpot XML-based template. (Basically it is the same with any theme/template regardless of your blog platform or CMS.)</p>
<p>But if you have a Classic Template, then read my <a href="https://im.youronly.one/techmagus/kb/webdev/integrate-disqus-blogger-blogspot-classic/" title="HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template">HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template</a> instead.</p>]]></summary><content type="html"><![CDATA[<img src="https://4.bp.blogspot.com/-g0D8KJDIhYA/XqVTmie0X2I/AAAAAAAAhY8/aYSBg3dpOzYlHLAV60sJdXgYMNRua4RQQCPcBGAYYCw/s1600/Blog-01.jpg" /><figure class="quote_box qbs_generic  qbc_yellow">
<div>
<p>This guide was last updated on 2008 and since then Disqus created an automated method. It is strongly suggested to use it by visiting <a href="https://disqus.com/admin/settings/blogger/" title="this link" class="icon_external" rel="noopener external">this link</a> and then switch to the correct site.</p>
</div></figure>
<p>If like me you are using <a class="popper animate" href="https://disqus.com" target="_blank" rel="noopener" data-popper="DISQUS">DISQUS</a> for your blog or site comments system, then maybe you’ve encountered a problem with integrating it to your custom theme/template. In this simple tutorial, I will show you which code bits to edit to successfully integrate Disqus into your Google Blogger/BlogSpot XML-based template. (Basically it is the same with any theme/template regardless of your blog platform or CMS.)</p>
<p>But if you have a Classic Template, then read my <a href="https://im.youronly.one/techmagus/kb/webdev/integrate-disqus-blogger-blogspot-classic/" title="HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template">HOW TO: Integrate DISQUS on Blogger/BlogSpot Classic Template</a> instead.</p>
<p>Check for updates below this guide. Latest update: Saturday, 2008-08-23.</p>
<figure class="quote_box qbs_generic  qbc_red">
<div>
<p><strong>WARNING</strong>: Be sure to back-up your <em>working</em> template before you overwrite it! Last but not the least, you should be comfortable with editing HTML and CSS, otherwise, you might get frustrated, confused, and end up with a non-working blog/site.</p>
</div></figure>
<p>With that said, let’s begin!</p>
<h2 id="step-1">Step 1</h2>
<p>This step is for the “0 Comment”; “1 Comment”; “10 Comments” link that shows on your main page.</p>
<ul>
<li>
<p>1.1: Add this to your CSS area or CSS file</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="c">/* Depending on your template, sometimes on some browsers, disqus doesn't auto-width 100% */</span>
</span></span><span class="line"><span class="cl"><span class="p">#</span><span class="nn">disqus_thread</span><span class="o">,</span> <span class="p">#</span><span class="nn">disqus_thread</span> <span class="p">#</span><span class="nn">dsq-content</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="k">width</span><span class="p">:</span> <span class="mi">100</span><span class="kt">%</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-2">Step 2</h2>
<ul>
<li>
<p>2.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">b:if</span> <span class="na">cond</span><span class="o">=</span><span class="s">'data:post.allowComments'</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">a</span> <span class="na">expr:href</span><span class="o">=</span><span class="s">'data:post.addCommentUrl'</span> <span class="na">expr:onclick</span><span class="o">=</span><span class="s">'data:post.addCommentOnclick'</span><span class="p">><</span><span class="nt">data:post.numComments</span><span class="p">/></span> Comments<span class="err"><</span>;/a>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">b:if</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>2.2: Change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">b:if</span> <span class="na">cond</span><span class="o">=</span><span class="s">'data:post.allowComments'</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="c"><!-- <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:post.numComments/> Comments</a> --></span>
</span></span><span class="line"><span class="cl">    <span class="c"><!-- +disqus --></span>
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">a</span> <span class="na">class</span><span class="o">=</span><span class="s">'comment-link commentslink'</span> <span class="na">expr:href</span><span class="o">=</span><span class="s">'data:post.url + "#disqus_thread"'</span><span class="p">></span>View Comments »<span class="p"></</span><span class="nt">a</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="c"><!-- -disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">b:if</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-3">Step 3</h2>
<p>Step 3 is for the “0 Comment”; “1 Comment”; “10 Comments” text that shows when viewing a specific post. Some templates do not have this, so if you can’t find it, skip to Step 4.</p>
<ul>
<li>
<p>3.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">b:if</span> <span class="na">cond</span><span class="o">=</span><span class="s">'data:post.numComments == 1'</span><span class="p">></span>
</span></span><span class="line"><span class="cl">        1 <span class="p"><</span><span class="nt">data:commentLabel</span><span class="p">/></span>:
</span></span><span class="line"><span class="cl">    <span class="p"><</span><span class="nt">b:else</span><span class="p">/></span>
</span></span><span class="line"><span class="cl">        <span class="p"><</span><span class="nt">data:post.numComments</span><span class="p">/></span> <span class="p"><</span><span class="nt">data:commentLabelPlural</span><span class="p">/></span>:
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">b:if</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>3.2: Change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <b:if cond='data:post.numComments == 1'> --></span>
</span></span><span class="line"><span class="cl">        <span class="c"><!-- 1 <data:commentLabel/>: --></span>
</span></span><span class="line"><span class="cl">    <span class="c"><!-- <b:else/> --></span>
</span></span><span class="line"><span class="cl">        <span class="c"><!-- <data:post.numComments/> <data:commentLabelPlural/>: --></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- </b:if> --></span>
</span></span><span class="line"><span class="cl">Comments:
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-4">Step 4</h2>
<ul>
<li>
<p>4.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">'backlinks-container'</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>4.2: Usually, above the code bit in 4.1, you will find this:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">p</span> <span class="na">class</span><span class="o">=</span><span class="s">'comment-footer2'</span><span class="p">></span>
</span></span><span class="line"><span class="cl">  <span class="p"><</span><span class="nt">a</span> <span class="na">expr:href</span><span class="o">=</span><span class="s">'data:post.addCommentUrl'</span> <span class="na">expr:onclick</span><span class="o">=</span><span class="s">'data:post.addCommentOnclick'</span><span class="p">><</span><span class="nt">data:postCommentMsg</span><span class="p">/></</span><span class="nt">a</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<p>It may be enclosed on a DIV tag instead of a P element. Additionally, sometimes you may find that it’s arranged differently, if so, just look for any bits similar to 4.1.</p>
<ul>
<li>
<p>4.3: Once you find it, change it to:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- <p class='comment-footer2'> --></span>
</span></span><span class="line"><span class="cl">    <span class="c"><!-- <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a> --></span>
</span></span><span class="line"><span class="cl"><span class="c"><!--  --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<h2 id="step-5">Step 5</h2>
<ul>
<li>
<p>5.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">'backlinks-container'</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>5.2: Above it add:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- BGN: disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">"disqus_thread"</span><span class="p">></</span><span class="nt">div</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">'disqus_post_title'</span> <span class="na">style</span><span class="o">=</span><span class="s">'display:none;'</span><span class="p">><</span><span class="nt">data:post.title</span><span class="p">/></</span><span class="nt">div</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">div</span> <span class="na">id</span><span class="o">=</span><span class="s">'disqus_post_permalink'</span> <span class="na">style</span><span class="o">=</span><span class="s">'display:none;'</span><span class="p">><</span><span class="nt">data:post.url</span><span class="p">/></</span><span class="nt">div</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/javascript"</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="kd">var</span> <span class="nx">disqus_shortname</span> <span class="o">=</span> <span class="s1">'DISQUS-SHORT-NAME'</span><span class="p">;</span> <span class="c1">// required: replace example with your forum shortname
</span></span></span><span class="line"><span class="cl"><span class="c1"></span>    <span class="kd">var</span> <span class="nx">disqus_title</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">'disqus_post_title'</span><span class="p">).</span><span class="nx">innerHTML</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">    <span class="kd">var</span> <span class="nx">disqus_url</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">'disqus_post_permalink'</span><span class="p">).</span><span class="nx">innerHTML</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * DON'T EDIT BELOW THIS LINE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="p">(</span><span class="kd">function</span><span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">        <span class="kd">var</span> <span class="nx">dsq</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">'script'</span><span class="p">);</span> <span class="nx">dsq</span><span class="p">.</span><span class="nx">type</span> <span class="o">=</span> <span class="s1">'text/javascript'</span><span class="p">;</span> <span class="nx">dsq</span><span class="p">.</span><span class="kr">async</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="nx">dsq</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s1">'//'</span> <span class="o">+</span> <span class="nx">disqus_shortname</span> <span class="o">+</span> <span class="s1">'.disqus.com/embed.js'</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'head'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span> <span class="o">||</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'body'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]).</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">dsq</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="p">})();</span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">script</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">noscript</span><span class="p">></span>Please enable JavaScript to view the <span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://disqus.com/?ref_noscript"</span><span class="p">></span>comments powered by Disqus.<span class="p"></</span><span class="nt">a</span><span class="p">></</span><span class="nt">noscript</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">a</span> <span class="na">href</span><span class="o">=</span><span class="s">"https://disqus.com"</span> <span class="na">class</span><span class="o">=</span><span class="s">"dsq-brlink"</span><span class="p">></span>comments powered by <span class="p"><</span><span class="nt">span</span> <span class="na">class</span><span class="o">=</span><span class="s">"logo-disqus"</span><span class="p">></span>Disqus<span class="p"></</span><span class="nt">span</span><span class="p">></</span><span class="nt">a</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- END: disqus --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
</ul>
<p>Note: If above the code bit shown in 5.1 there is a &lt;/b:if&gt;, then put the code bit in 5.2 <b>before</b> &lt;/b:if&gt;. If it isn’t there, as in some templates, you probably have to add it.</p>
<ul>
<li>5.3: From Step 5.2, change the <b>DISQUS-SHORT-URL</b> to your blog’s DISQUS URL.<br />Example, if your DISQUS URL is <i>libresoftware.disqus.com</i> then change DISQUS-SHORT-URL to <i>libresoftware</i>. There are <b>two</b> to change!</li>
</ul>
<h2 id="step-6">Step 6</h2>
<ul>
<li>
<p>6.1: Look for:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"></</span><span class="nt">body</span><span class="p">></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>6.2: Add above:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="c"><!-- BGN: disqus --></span>
</span></span><span class="line"><span class="cl"><span class="p"><</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/javascript"</span><span class="p">></span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="kd">var</span> <span class="nx">disqus_shortname</span> <span class="o">=</span> <span class="s1">'DISQUS-SHORT-NAME'</span><span class="p">;</span> <span class="c1">// required: replace example with your forum shortname
</span></span></span><span class="line"><span class="cl"><span class="c1"></span>
</span></span><span class="line"><span class="cl">    <span class="cm">/* * * DON'T EDIT BELOW THIS LINE * * */</span>
</span></span><span class="line"><span class="cl">    <span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">        <span class="kd">var</span> <span class="nx">s</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">createElement</span><span class="p">(</span><span class="s1">'script'</span><span class="p">);</span> <span class="nx">s</span><span class="p">.</span><span class="kr">async</span> <span class="o">=</span> <span class="kc">true</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="nx">s</span><span class="p">.</span><span class="nx">type</span> <span class="o">=</span> <span class="s1">'text/javascript'</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="nx">s</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s1">'//'</span> <span class="o">+</span> <span class="nx">disqus_shortname</span> <span class="o">+</span> <span class="s1">'.disqus.com/count.js'</span><span class="p">;</span>
</span></span><span class="line"><span class="cl">        <span class="p">(</span><span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'HEAD'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span> <span class="o">||</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementsByTagName</span><span class="p">(</span><span class="s1">'BODY'</span><span class="p">)[</span><span class="mi">0</span><span class="p">]).</span><span class="nx">appendChild</span><span class="p">(</span><span class="nx">s</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">    <span class="p">}());</span>
</span></span><span class="line"><span class="cl"><span class="p"></</span><span class="nt">script</span><span class="p">></span>
</span></span><span class="line"><span class="cl"><span class="c"><!-- END: disqus --></span>
</span></span></code></pre></td></tr></table>
</div>
</div></li>
<li>
<p>6.3: In Step 6.2, change the <b>DISQUS-SHORT-URL</b> to your blog’s DISQUS URL.<br />Again, if your DISQUS URL is <i>libresoftware.disqus.com</i> then change DISQUS-SHORT-URL to <i>libresoftware</i>, there is only <b>one</b> to change.</p>
</li>
</ul>
<h2 id="step-7">Step 7</h2>
<ul>
<li>7.1: Copy your final code to your Blogger’s template and save it.</li>
</ul>
<h2 id="step-8">Step 8</h2>
<ul>
<li>8.1: Force refresh your blog and blog-post (usually CTRL+F5) to see the changes.<br />* Force refresh tells your browser to discard your current cached copy of your site and instead fetch a new copy from the server.</li>
</ul>
<p>At this point, you are done when all is working fine. Congratulations!</p>
<p>Some things to remember. This how-to was designed to still show the comments posted on your built-in comment system (usually Blogger’s) while at the same time disabling any new comments from being posted using the built-in comment system, by removing the link to do so. However, if your visitors knows the direct link to Blogger’s built-in comment system, they can still leave comments the old way.</p>
<p>To effectively disable it without hiding all earlier comments, you need to edit the Post Options of each of your posts and change it to “Don’t allow, show existing”. Later, Disqus will introduce an import feature, so all old comments will be copied to your Disqus as well. Until then, this is the solution that I can think of.</p>
<p>For the adventurous, you can find information on the Disqus API by visiting the official <a href="https://help.disqus.com/">developers webpage</a>.</p>
<p>Hope that helps!</p>
<hr>
<h2 id="updates">Updates</h2>
<ul>
<li>
<p>Friday, 2013-08-02: Updated the JavaScript code to reflect the latest disqus script in steps 5 and 6</p>
</li>
<li>
<p>Saturday, 2008-05-24: Thanks to Disqus’ <a class="popper animate" href="https://disqus.com/by/danielha/" target="_blank" rel="noopener" data-popper="Daniel Ha on Disqus">Daniel Ha</a> for featuring this how-to article on the official website! Glad to be of help.</p>
</li>
<li>
<p>Monday, 2008-05-26: Chinese (Taiwan) version <a class="popper animate" href="https://black-tale.blogspot.com/2008/05/bloggerdisqus_26.html" target="_blank" rel="noopener" data-popper="[教學]Blogger如何手動安裝Disqus">[教學]Blogger如何手動安裝Disqus</a> with screenshots by <a class="popper animate" href="https://disqus.com/by/blacktale/" target="_blank" rel="noopener" data-popper="Blacktale on Disqus">Joyce Wu</a>.</p>
</li>
<li>
<p>Saturday, 2008-06-14: I updated step 6. I missed to change a Disqus URL to DISQUS-SHORT-URL, it was previously pulling data from “highstreet5”. Please check your codes on step 6.</p>
<ul>
<li>Thanks to the classic Blogger code provided by <a class="popper animate" href="https://disqus.com/by/davidalvarez/" target="_blank" rel="noopener" data-popper="David Alvarez on Disqus">David Alvarez</a>, you can find his blog at <a href="https://balazos.blogspot.com" target="_blank" rel="noopener">balazos.blogspot.com</a>. I was helping him integrate Disqus and that was when I caught the code I missed on Step 6.</li>
</ul>
</li>
<li>
<p>Saturday, 2008-08-02: The tutorial was added at <a href="https://web.archive.org/web/20100428045802/https://disqus.disqus.com:80/help_using_disqus_with_custom_blogger_templates/" target="_blank" rel="noopener">Disqus help forums</a> by <a class="popper animate" href="https://disqus.com/by/Badr/" target="_blank" rel="noopener" data-popper="Andrew on Disqus">Andrew</a> (from Disqus). Thank you very much and I’m glad to be of help to the community!</p>
</li>
<li>
<p>Saturday, 2008-08-23: Changed /{YOUR-DISQUS-URL}/ to /DISQUS-SHORT-URL/ to avoid confusion. Thanks to hackcrack.</p>
</li>
</ul>
<p>If you have other questions, don’t hesitate to post a reply in our Disqus powered comments system.</p>
<hr>
<div role="cover-image-attributions">
    <div class="header_attribution">
      <footer class="attribution_caption"><p xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#"><small>
              ・ Cover image: <cite><a href="https://www.flickr.com/photos/manoftaste-de/14045819341" rel="dct:title noopener external nofollow">Blog</a></cite> by <a href="https://www.manoftaste.de" rel="dct:creator noopener external nofollow"><a href="https://www.manoftaste.de" title="www.manoftaste.de" class="icon_external" rel="noopener external">www.manoftaste.de</a></a> is
                  licensed under <a href="https://creativecommons.org/licenses/by-sa/2.0/" rel="license noopener external">CC BY-SA 2.0</a>.</small></p></footer>
    </div></div>]]></content><author><name>Yohan Yukiya Sese-Cuneta</name><uri>https://im.youronly.one/techmagus/</uri></author><category term="how-to" label="How-To" scheme="https://im.youronly.one/techmagus/cat/how-to/"/><category term="google blogger" label="Google Blogger" scheme="https://im.youronly.one/techmagus/tag/google-blogger/"/><published>2008-05-23T04:12:48Z</published></entry></feed>