Javascript request to load comment section

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago
parent 35a8dfffcc
commit df36c001ae
  1. 1
      comments/sigplace1.comment
  2. 16
      out/DIRECTORY_LISTING
  3. 14
      out/articles/DIRECTORY_LISTING
  4. 12
      out/articles/Love Live! Custom Arcade Controller.article
  5. 12
      out/articles/Love Live! Custom Arcade Controller.article.html
  6. 12
      out/articles/curabitur vel tempus ex.article
  7. 12
      out/articles/curabitur vel tempus ex.article.html
  8. 12
      out/articles/sigplace1.article
  9. 12
      out/articles/sigplace1.article.html
  10. 12
      out/articles/test articles/DIRECTORY_LISTING
  11. 12
      out/articles/test articles/test1.article
  12. 12
      out/articles/test articles/test1.article.html
  13. 12
      out/articles/test articles/test2.article
  14. 12
      out/articles/test articles/test2.article.html
  15. 12
      out/articles/test articles/test3.article
  16. 12
      out/articles/test articles/test3.article.html
  17. 12
      out/otherpage.html
  18. 12
      out/reset.css
  19. 15
      out/sig.css
  20. 12
      out/testfile.html
  21. 12
      out/uploadform.html
  22. 12
      ref/COMMENT.html
  23. 12
      sigPlace.java
  24. 4
      sitefiles/sig.css

@ -1,3 +1,4 @@
5
That is a great idea!
username,17May2021 08:29:10
That is a great idea! <p>There used to be folks I worked with who would use the same technique, and it worked great!</p>

@ -17,14 +17,14 @@
</head>
<body>
<div class="contentBody">
<h2>Directory Listing for /</h2><div class="folderlisting"><a href="/.." class="icon">&#x1F4C1;</a><a href="/..">.. </a><a href="/.." class="nounderline">(Previous Directory)</a></div><div class="folderlisting"><a href="/articles" class="icon">&#x1F4C1;</a><a href="/articles">articles</a> 2022-07-26T18:09:20.593509Z gitpod 4096</div>
<div class="filelisting"><a href="/codeBackground" class="icon">&#x1F5CE;</a><a href="/codeBackground">codeBackground</a> 2022-07-26T18:09:20.537509Z gitpod 2635</div>
<div class="filelisting"><a href="/otherpage.html" class="icon">&#x1F5CE;</a><a href="/otherpage.html">otherpage.html</a> 2022-07-26T18:09:20.541509Z gitpod 939</div>
<div class="filelisting"><a href="/reset.css" class="icon">&#x1F5CE;</a><a href="/reset.css">reset.css</a> 2022-07-26T18:09:20.541509Z gitpod 1092</div>
<div class="filelisting"><a href="/uploadform.html" class="icon">&#x1F5CE;</a><a href="/uploadform.html">uploadform.html</a> 2022-07-26T18:09:20.561509Z gitpod 882</div>
<div class="folderlisting"><a href="/images" class="icon">&#x1F4C1;</a><a href="/images">images</a> 2022-07-26T18:09:20.589509Z gitpod 58</div>
<div class="filelisting"><a href="/sig.css" class="icon">&#x1F5CE;</a><a href="/sig.css">sig.css</a> 2022-07-26T18:09:20.549509Z gitpod 6903</div>
<div class="filelisting"><a href="/testfile.html" class="icon">&#x1F5CE;</a><a href="/testfile.html">testfile.html</a> 2022-07-26T18:09:20.561509Z gitpod 802</div>
<h2>Directory Listing for /</h2><div class="folderlisting"><a href="/.." class="icon">&#x1F4C1;</a><a href="/..">.. </a><a href="/.." class="nounderline">(Previous Directory)</a></div><div class="folderlisting"><a href="/articles" class="icon">&#x1F4C1;</a><a href="/articles">articles</a> 2022-07-26T18:39:48.357421Z gitpod 4096</div>
<div class="filelisting"><a href="/codeBackground" class="icon">&#x1F5CE;</a><a href="/codeBackground">codeBackground</a> 2022-07-26T18:39:48.289421Z gitpod 2996</div>
<div class="filelisting"><a href="/otherpage.html" class="icon">&#x1F5CE;</a><a href="/otherpage.html">otherpage.html</a> 2022-07-26T18:39:48.293421Z gitpod 1300</div>
<div class="filelisting"><a href="/reset.css" class="icon">&#x1F5CE;</a><a href="/reset.css">reset.css</a> 2022-07-26T18:39:48.293421Z gitpod 1448</div>
<div class="filelisting"><a href="/uploadform.html" class="icon">&#x1F5CE;</a><a href="/uploadform.html">uploadform.html</a> 2022-07-26T18:39:48.313421Z gitpod 1244</div>
<div class="folderlisting"><a href="/images" class="icon">&#x1F4C1;</a><a href="/images">images</a> 2022-07-26T18:39:48.353421Z gitpod 58</div>
<div class="filelisting"><a href="/sig.css" class="icon">&#x1F5CE;</a><a href="/sig.css">sig.css</a> 2022-07-26T18:39:48.305421Z gitpod 7283</div>
<div class="filelisting"><a href="/testfile.html" class="icon">&#x1F5CE;</a><a href="/testfile.html">testfile.html</a> 2022-07-26T18:39:48.317421Z gitpod 1162</div>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -17,13 +17,13 @@
</head>
<body>
<div class="contentBody">
<h2>Directory Listing for /articles/</h2><div class="folderlisting"><a href="/articles/.." class="icon">&#x1F4C1;</a><a href="/articles/..">.. </a><a href="/articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article" class="icon">&#x1F5CE;</a><a href="/articles/Love Live! Custom Arcade Controller.article">Love Live! Custom Arcade Controller.article</a> 2022-07-26T18:09:20.093509Z gitpod 497</div>
<div class="folderlisting"><a href="/articles/test articles" class="icon">&#x1F4C1;</a><a href="/articles/test articles">test articles</a> 2022-07-26T18:09:20.565509Z gitpod 147</div>
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article" class="icon">&#x1F5CE;</a><a href="/articles/curabitur vel tempus ex.article">curabitur vel tempus ex.article</a> 2022-07-26T18:09:20.121509Z gitpod 730</div>
<div class="filelisting"><a href="/articles/sigplace1.article" class="icon">&#x1F5CE;</a><a href="/articles/sigplace1.article">sigplace1.article</a> 2022-07-26T18:09:20.533509Z gitpod 80858</div>
<div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article.html" class="icon">&#x1F5CE;</a><a href="/articles/Love Live! Custom Arcade Controller.article.html">Love Live! Custom Arcade Controller.article.html</a> 2022-07-26T18:09:20.561509Z gitpod 1214</div>
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article.html" class="icon">&#x1F5CE;</a><a href="/articles/curabitur vel tempus ex.article.html">curabitur vel tempus ex.article.html</a> 2022-07-26T18:09:20.573509Z gitpod 1447</div>
<div class="filelisting"><a href="/articles/sigplace1.article.html" class="icon">&#x1F5CE;</a><a href="/articles/sigplace1.article.html">sigplace1.article.html</a> 2022-07-26T18:09:20.581509Z gitpod 81575</div>
<h2>Directory Listing for /articles/</h2><div class="folderlisting"><a href="/articles/.." class="icon">&#x1F4C1;</a><a href="/articles/..">.. </a><a href="/articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article" class="icon">&#x1F5CE;</a><a href="/articles/Love Live! Custom Arcade Controller.article">Love Live! Custom Arcade Controller.article</a> 2022-07-26T18:39:47.845421Z gitpod 879</div>
<div class="folderlisting"><a href="/articles/test articles" class="icon">&#x1F4C1;</a><a href="/articles/test articles">test articles</a> 2022-07-26T18:39:48.321421Z gitpod 147</div>
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article" class="icon">&#x1F5CE;</a><a href="/articles/curabitur vel tempus ex.article">curabitur vel tempus ex.article</a> 2022-07-26T18:39:47.877421Z gitpod 1100</div>
<div class="filelisting"><a href="/articles/sigplace1.article" class="icon">&#x1F5CE;</a><a href="/articles/sigplace1.article">sigplace1.article</a> 2022-07-26T18:39:48.285421Z gitpod 81214</div>
<div class="filelisting"><a href="/articles/Love Live! Custom Arcade Controller.article.html" class="icon">&#x1F5CE;</a><a href="/articles/Love Live! Custom Arcade Controller.article.html">Love Live! Custom Arcade Controller.article.html</a> 2022-07-26T18:39:48.317421Z gitpod 1596</div>
<div class="filelisting"><a href="/articles/curabitur vel tempus ex.article.html" class="icon">&#x1F5CE;</a><a href="/articles/curabitur vel tempus ex.article.html">curabitur vel tempus ex.article.html</a> 2022-07-26T18:39:48.333421Z gitpod 1817</div>
<div class="filelisting"><a href="/articles/sigplace1.article.html" class="icon">&#x1F5CE;</a><a href="/articles/sigplace1.article.html">sigplace1.article.html</a> 2022-07-26T18:39:48.345421Z gitpod 81931</div>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -5,3 +5,15 @@ For over a year since I first got into <u>Love Live! School Idol Festival ~after
</p>
<br/>
</div><div class="datebar"></div><div class="date">15 July 2022 1:53PM</div>%CONDITIONAL_EXPAND%</div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/Love Live! Custom Arcade Controller.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -24,6 +24,18 @@ For over a year since I first got into <u>Love Live! School Idol Festival ~after
</p>
<br/>
</div><div class="datebar"></div><div class="date">15 July 2022 1:53PM</div></div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/Love Live! Custom Arcade Controller.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -9,3 +9,15 @@ Curabitur vel tempus ex. Duis cursus sapien nisl, ut pulvinar dui porttitor ut.
</pre>
</p>
</div><div class="datebar"></div><div class="date">29 Apr 2022 7:37PM</div>%CONDITIONAL_EXPAND%</div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/curabitur vel tempus ex.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -28,6 +28,18 @@ Curabitur vel tempus ex. Duis cursus sapien nisl, ut pulvinar dui porttitor ut.
</pre>
</p>
</div><div class="datebar"></div><div class="date">29 Apr 2022 7:37PM</div></div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/curabitur vel tempus ex.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -484,3 +484,15 @@ Here we demonstrate the love live logo. But wait, it's literally like in the mid
</pre>
</p>
</div><div class="datebar"></div><div class="date">3 May 2022 10:25AM</div>%CONDITIONAL_EXPAND%</div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/sigplace1.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -503,6 +503,18 @@ Here we demonstrate the love live logo. But wait, it's literally like in the mid
</pre>
</p>
</div><div class="datebar"></div><div class="date">3 May 2022 10:25AM</div></div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/sigplace1.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -17,12 +17,12 @@
</head>
<body>
<div class="contentBody">
<h2>Directory Listing for /articles/test articles/</h2><div class="folderlisting"><a href="/articles/test articles/.." class="icon">&#x1F4C1;</a><a href="/articles/test articles/..">.. </a><a href="/articles/test articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/test articles/test1.article" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test1.article">test1.article</a> 2022-07-26T18:09:20.097509Z gitpod 1085</div>
<div class="filelisting"><a href="/articles/test articles/test2.article" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test2.article">test2.article</a> 2022-07-26T18:09:20.097509Z gitpod 781</div>
<div class="filelisting"><a href="/articles/test articles/test3.article" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test3.article">test3.article</a> 2022-07-26T18:09:20.101509Z gitpod 994</div>
<div class="filelisting"><a href="/articles/test articles/test1.article.html" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test1.article.html">test1.article.html</a> 2022-07-26T18:09:20.565509Z gitpod 1802</div>
<div class="filelisting"><a href="/articles/test articles/test2.article.html" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test2.article.html">test2.article.html</a> 2022-07-26T18:09:20.565509Z gitpod 1498</div>
<div class="filelisting"><a href="/articles/test articles/test3.article.html" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test3.article.html">test3.article.html</a> 2022-07-26T18:09:20.565509Z gitpod 1711</div>
<h2>Directory Listing for /articles/test articles/</h2><div class="folderlisting"><a href="/articles/test articles/.." class="icon">&#x1F4C1;</a><a href="/articles/test articles/..">.. </a><a href="/articles/test articles/.." class="nounderline">(Previous Directory)</a></div><div class="filelisting"><a href="/articles/test articles/test1.article" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test1.article">test1.article</a> 2022-07-26T18:39:47.853421Z gitpod 1437</div>
<div class="filelisting"><a href="/articles/test articles/test2.article" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test2.article">test2.article</a> 2022-07-26T18:39:47.853421Z gitpod 1133</div>
<div class="filelisting"><a href="/articles/test articles/test3.article" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test3.article">test3.article</a> 2022-07-26T18:39:47.857421Z gitpod 1346</div>
<div class="filelisting"><a href="/articles/test articles/test1.article.html" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test1.article.html">test1.article.html</a> 2022-07-26T18:39:48.321421Z gitpod 2154</div>
<div class="filelisting"><a href="/articles/test articles/test2.article.html" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test2.article.html">test2.article.html</a> 2022-07-26T18:39:48.321421Z gitpod 1850</div>
<div class="filelisting"><a href="/articles/test articles/test3.article.html" class="icon">&#x1F5CE;</a><a href="/articles/test articles/test3.article.html">test3.article.html</a> 2022-07-26T18:39:48.321421Z gitpod 2063</div>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -3,3 +3,15 @@
In dolor erat, malesuada at elit cursus, convallis imperdiet turpis. Ut aliquet magna tellus, at viverra mauris ullamcorper vehicula. Nam quis urna semper magna ornare elementum sed id mauris. Suspendisse faucibus nunc ante, ac rhoncus nisl tristique sed. Vestibulum pretium odio eget scelerisque vestibulum. Aliquam viverra ex ac vestibulum interdum. Donec ligula nunc, dignissim a purus vitae, fermentum laoreet diam. Quisque nec auctor urna. Vestibulum sit amet ligula ullamcorper, congue ipsum et, accumsan ante. Phasellus fermentum, sapien nec pulvinar blandit, elit purus pretium urna, et dapibus orci urna eu metus. Nunc molestie dictum pharetra. Suspendisse luctus felis et ante tristique, vitae commodo diam porttitor. Aliquam orci eros, placerat ac justo vitae, bibendum efficitur metus. Phasellus eget bibendum mauris.
</p>
</div><div class="datebar"></div><div class="date">2 May 2022 10:16AM</div>%CONDITIONAL_EXPAND%</div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/test1.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -22,6 +22,18 @@
In dolor erat, malesuada at elit cursus, convallis imperdiet turpis. Ut aliquet magna tellus, at viverra mauris ullamcorper vehicula. Nam quis urna semper magna ornare elementum sed id mauris. Suspendisse faucibus nunc ante, ac rhoncus nisl tristique sed. Vestibulum pretium odio eget scelerisque vestibulum. Aliquam viverra ex ac vestibulum interdum. Donec ligula nunc, dignissim a purus vitae, fermentum laoreet diam. Quisque nec auctor urna. Vestibulum sit amet ligula ullamcorper, congue ipsum et, accumsan ante. Phasellus fermentum, sapien nec pulvinar blandit, elit purus pretium urna, et dapibus orci urna eu metus. Nunc molestie dictum pharetra. Suspendisse luctus felis et ante tristique, vitae commodo diam porttitor. Aliquam orci eros, placerat ac justo vitae, bibendum efficitur metus. Phasellus eget bibendum mauris.
</p>
</div><div class="datebar"></div><div class="date">2 May 2022 10:16AM</div></div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/test1.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -3,3 +3,15 @@
Sed lobortis nisi id nunc tincidunt volutpat. Mauris cursus felis quis condimentum posuere. Pellentesque vitae dolor et justo suscipit ultrices. Integer dapibus leo id felis varius, ut volutpat massa bibendum. Quisque sed nunc arcu. In sit amet faucibus magna, non venenatis massa. Cras sed placerat risus, id consectetur est. Pellentesque in nunc dolor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque eget lorem ac urna posuere accumsan. Quisque sed imperdiet nisi.
</p>
</div><div class="datebar"></div><div class="date">1 May 2022 05:13AM</div>%CONDITIONAL_EXPAND%</div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/test2.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -22,6 +22,18 @@
Sed lobortis nisi id nunc tincidunt volutpat. Mauris cursus felis quis condimentum posuere. Pellentesque vitae dolor et justo suscipit ultrices. Integer dapibus leo id felis varius, ut volutpat massa bibendum. Quisque sed nunc arcu. In sit amet faucibus magna, non venenatis massa. Cras sed placerat risus, id consectetur est. Pellentesque in nunc dolor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque eget lorem ac urna posuere accumsan. Quisque sed imperdiet nisi.
</p>
</div><div class="datebar"></div><div class="date">1 May 2022 05:13AM</div></div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/test2.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -3,3 +3,15 @@
Curabitur suscipit quam tellus, non rhoncus diam vehicula in. Aliquam ut dapibus tortor. Cras accumsan arcu vel ante maximus ornare. Nam tempus fermentum leo maximus euismod. Donec vehicula pretium est a ultrices. Nunc blandit nibh lorem, nec blandit leo posuere quis. Sed mauris ligula, euismod eu aliquam vel, rhoncus eget magna. Proin eget tortor ut ligula suscipit mattis. Integer rutrum aliquet eleifend. Suspendisse leo libero, placerat nec mi id, sagittis malesuada felis. Quisque euismod ante cursus elit lobortis, eu tempus ligula condimentum. Mauris viverra metus et dignissim efficitur. Ut placerat nunc nunc, eu tempus neque ultrices nec. Suspendisse et magna risus. Phasellus in ullamcorper tortor. Sed lobortis ut mi in blandit.
</p>
</div><div class="datebar"></div><div class="date">30 Apr 2022 6:14PM</div>%CONDITIONAL_EXPAND%</div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/test3.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -22,6 +22,18 @@
Curabitur suscipit quam tellus, non rhoncus diam vehicula in. Aliquam ut dapibus tortor. Cras accumsan arcu vel ante maximus ornare. Nam tempus fermentum leo maximus euismod. Donec vehicula pretium est a ultrices. Nunc blandit nibh lorem, nec blandit leo posuere quis. Sed mauris ligula, euismod eu aliquam vel, rhoncus eget magna. Proin eget tortor ut ligula suscipit mattis. Integer rutrum aliquet eleifend. Suspendisse leo libero, placerat nec mi id, sagittis malesuada felis. Quisque euismod ante cursus elit lobortis, eu tempus ligula condimentum. Mauris viverra metus et dignissim efficitur. Ut placerat nunc nunc, eu tempus neque ultrices nec. Suspendisse et magna risus. Phasellus in ullamcorper tortor. Sed lobortis ut mi in blandit.
</p>
</div><div class="datebar"></div><div class="date">30 Apr 2022 6:14PM</div></div>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/test3.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>
</div> <!--End Content Body-->
<div class="codeForeground" id="codeForeground"></div>

@ -30,3 +30,15 @@ $ARTICLE_PREVIEW curabitur vel tempus ex
<footer>
</footer>
</html>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/otherpage.html.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -45,3 +45,15 @@ table {
border-collapse: collapse;
border-spacing: 0;
}
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/reset.css.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -272,3 +272,18 @@ pre .number{
pre .comment{
color:#6b235e;
}
h1 {
font-size:6em;
}
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/sig.css.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -29,3 +29,15 @@ SigPlace
<footer>
</footer>
</html>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/testfile.html.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -29,3 +29,15 @@ SigPlace
<footer>
</footer>
</html>
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/uploadform.html.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -0,0 +1,12 @@
<hr/>
<h2>Comments</h2><div class="commentCounter">0</div>
<div class="comments"></div>
<script type="text/javascript">
function fetchComments() {
fetch("/COMMENTS/$ARTICLE.comment").then((data)=>data.text())
.then((data)=>{
document.getElementById("comments").innerHTML=data
})
}
fetchComments()
</script>

@ -301,6 +301,18 @@ public class sigPlace {
}
}
System.out.println(" Generating comment section for "+f+".");
Path ff = Paths.get(REFDIR,"COMMENT.html");
List<String> commentHTML = Files.readAllLines(ff);
for (int i=0;i<commentHTML.size();i++) {
if (commentHTML.get(i).contains("$ARTICLE")) {
commentHTML.set(i,commentHTML.get(i).replace("$ARTICLE",f.getFileName().toString()).replace(".article",""));
}
}
content.addAll(commentHTML);
System.out.println(" Writing to "+f.toAbsolutePath());
Files.write(f, content, Charset.defaultCharset(),StandardOpenOption.CREATE,StandardOpenOption.TRUNCATE_EXISTING,StandardOpenOption.WRITE);

@ -316,4 +316,8 @@ pre .number{
pre .comment{
color:#6b235e;
}
h1 {
font-size:6em;
}
Loading…
Cancel
Save