[HTML] ์น ํ์ด์ง์ ์ฝ๊ฒ ๋๊ธ ๊ธฐ๋ฅ์ ์ถ๊ฐํด๋ณด์(Disqus)
disqus๋ ์๋ฒ๊น์ง ๋์ํด์ ์ด๋ ต๊ฒ ๋๊ธ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ํ์ ์์ด ์ฝ๋๋ฅผ ์ฝ์ ํ๋ฉด ์ฝ๊ฒ ๋๊ธ ๊ธฐ๋ฅ์ ๊ฐ๋ฐํ ์ ์๋๋ก ๋์จ ์๋น์ค์ด๋ค.
ํ ๋ฒ ์ฝ๊ฒ ์ฌ์ฉํด๋ณด์!
Disqus – The #1 way to build your audience
Disqus offers the best add-on tools for websites to increase engagement. We help publishers power online discussions with comments and earn revenue with native advertising.
disqus.com
์ฐ์ ์ ํ์ด์ง์์ ๋ก๊ทธ์ธ ํ๋ค!
1. ์๋ "I want to install Disqus on my site" ๋ฅผ ํด๋ฆญํ๋ค.
2. ๊ด๋ จ ์ ๋ณด๋ฅผ ์ ๋ ฅํ๋ค.
3. plan์ ๋ฐ์ Basic์ผ๋ก ์ค์ ํ๋ค!
4. ๋๊ธ ์ถ๊ฐํ ์ฌํญ์ด ์์ ์๋ค๋ฉด ๊ทธ๊ฑธ ํด๋ฆญํ๊ณ , ๋จ์ํ ์น html์ ๋ฃ๋ ์ฉ๋๋ผ๋ฉด ์๋
I don't see my platform listd .... ๋ฅผ ํด๋ฆญํ๋ค.
5. ๊ทธ๋ฌ๋ฉด ์ฝ๋๊ฐ ๋์ฌ ๊ฒ์ด๋ค. ํด๋น ์ฝ๋๋ฅผ ๋ณต์ฌํ์!
6. ์ฝ๋๋ฅผ ์ํ๋ hmtlํ์ผ์ ๋ซ๋ bodyํ๊ทธ ์์ ๋ถ์ฌ๋ฃ๊ธฐ ํ๋ค.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Disqus</title>
</head>
<body>
<h1 style="text-align: center; margin: 200px">Disqus Test!</h1>
<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function () {
// DON'T EDIT BELOW THIS LINE
var d = document,
s = d.createElement('script');
s.src = 'https://my-site-์๊ธฐ์ฃผ์.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript
>Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript
>
</body>
</html>
๐ฅ disqus๋ ์๋ฒ๊ฐ ์์ด์ผ ๋์๋๋ค. ๋ง์ฝ ํ๋ก์ ํธ๋ฅผ ๋ฐฐํฌํ์ง ์์๊ฑฐ๋, ์๋ฒ๋ฅผ ํตํด ์ฌ๋ ๊ฒ ์๋๋ฉด ์ ๋์๋๋ ์ง ํ์ธํ๊ธฐ ์ํด vscode์ Live Server๋ฅผ ์ค์นํด ํ์ธํด๋ณด๋ก ํ์.
7. ์์ฑ!
๐ฅ ๋๊ธ์ ๋จ๊ธฐ๋ฉด ์๋ฒ์ ์ ์ฅ๋๊ธฐ ๋๋ฌธ์ ์๋ก๊ณ ์นจ์ ํ๋ ๋ญํ๋ ๋ฐ์ดํฐ๊ฐ ๋จ์์๋ค.
๊ฐ์ ์คํฌ๋ฆฝํธ๋ฅผ ๋ค๋ฅธ htmlํ์ผ์ ์ฌ์ฉํ๋ฉด ๋๊ธ์ ๋ ๋ฆฝ์ ์ผ๋ก ๊ตฌ์๋๋ค.(๐๐ป)
ex) index.html์ ๋๊ธ 10๊ฐ ์์ด๋ ๋ค๋ฅธ html์ ๋์ผํ disqus ์คํฌ๋ฆฝํธ๋ฅผ ๋ฃ์ผ๋ฉด ๋๊ธ 0๊ฐ๋ก ์์!