From c63e834382cbbbecca2a4ed286f71e92b58a48f8 Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Thu, 28 Jul 2022 20:27:29 +0000 Subject: [PATCH] Something strange happening with converting article refs Co-authored-by: sigonasr2 --- out/DIRECTORY_LISTING | 16 ++-- out/articles/DIRECTORY_LISTING | 14 +-- out/articles/test articles/DIRECTORY_LISTING | 12 +-- out/otherpage.html | 96 -------------------- out/reset.css | 96 -------------------- out/sig.css | 96 -------------------- out/testfile.html | 96 -------------------- out/uploadform.html | 96 -------------------- sigPlace.java | 18 ++-- 9 files changed, 31 insertions(+), 509 deletions(-) diff --git a/out/DIRECTORY_LISTING b/out/DIRECTORY_LISTING index f987961..dc05fce 100644 --- a/out/DIRECTORY_LISTING +++ b/out/DIRECTORY_LISTING @@ -17,14 +17,14 @@
-

Directory Listing for /

📁articles 2022-07-28T20:13:01.727924Z gitpod 4096
-
🗎codeBackground 2022-07-28T20:13:01.635924Z gitpod 8822
-
📁images 2022-07-28T20:13:01.715924Z gitpod 58
-
🗎otherpage.html 2022-07-28T20:13:01.639924Z gitpod 7126
-
🗎reset.css 2022-07-28T20:13:01.639924Z gitpod 7269
-
🗎sig.css 2022-07-28T20:13:01.647924Z gitpod 15473
-
🗎testfile.html 2022-07-28T20:13:01.663924Z gitpod 6987
-
🗎uploadform.html 2022-07-28T20:13:01.663924Z gitpod 7071
+

Directory Listing for /

📁articles 2022-07-28T20:17:22.327696Z gitpod 4096
+
🗎codeBackground 2022-07-28T20:17:22.167696Z gitpod 2635
+
📁images 2022-07-28T20:17:22.323696Z gitpod 58
+
🗎otherpage.html 2022-07-28T20:17:22.167696Z gitpod 939
+
🗎reset.css 2022-07-28T20:17:22.175696Z gitpod 1092
+
🗎sig.css 2022-07-28T20:17:22.195696Z gitpod 9300
+
🗎testfile.html 2022-07-28T20:17:22.211696Z gitpod 802
+
🗎uploadform.html 2022-07-28T20:17:22.211696Z gitpod 882
diff --git a/out/articles/DIRECTORY_LISTING b/out/articles/DIRECTORY_LISTING index dabf3a9..94fe205 100644 --- a/out/articles/DIRECTORY_LISTING +++ b/out/articles/DIRECTORY_LISTING @@ -17,13 +17,13 @@
-

Directory Listing for /articles/

🗎Love Live! Custom Arcade Controller.article 2022-07-28T20:13:00.923925Z gitpod 6726
-
🗎curabitur vel tempus ex.article 2022-07-28T20:13:00.963925Z gitpod 6935
-
🗎sigplace1.article 2022-07-28T20:13:01.623924Z gitpod 87035
-
📁test articles 2022-07-28T20:13:01.707924Z gitpod 147
-
🗎Love Live! Custom Arcade Controller.article.html 2022-07-28T20:13:01.671924Z gitpod 7443
-
🗎curabitur vel tempus ex.article.html 2022-07-28T20:13:01.683924Z gitpod 7652
-
🗎sigplace1.article.html 2022-07-28T20:13:01.699924Z gitpod 87752
+

Directory Listing for /articles/

🗎Love Live! Custom Arcade Controller.article 2022-07-28T20:17:21.651697Z gitpod 6726
+
🗎curabitur vel tempus ex.article 2022-07-28T20:17:21.687697Z gitpod 6935
+
🗎sigplace1.article 2022-07-28T20:17:22.155696Z gitpod 87035
+
📁test articles 2022-07-28T20:17:22.303696Z gitpod 147
+
🗎Love Live! Custom Arcade Controller.article.html 2022-07-28T20:17:22.227696Z gitpod 7443
+
🗎curabitur vel tempus ex.article.html 2022-07-28T20:17:22.243696Z gitpod 7652
+
🗎sigplace1.article.html 2022-07-28T20:17:22.263696Z gitpod 87752
diff --git a/out/articles/test articles/DIRECTORY_LISTING b/out/articles/test articles/DIRECTORY_LISTING index e644603..cbbebe8 100644 --- a/out/articles/test articles/DIRECTORY_LISTING +++ b/out/articles/test articles/DIRECTORY_LISTING @@ -17,12 +17,12 @@
-

Directory Listing for /articles/test articles/

🗎test1.article 2022-07-28T20:13:01.627924Z gitpod 7254
-
🗎test2.article 2022-07-28T20:13:01.627924Z gitpod 6950
-
🗎test3.article 2022-07-28T20:13:01.631924Z gitpod 7163
-
🗎test1.article.html 2022-07-28T20:13:01.703924Z gitpod 7971
-
🗎test2.article.html 2022-07-28T20:13:01.703924Z gitpod 7667
-
🗎test3.article.html 2022-07-28T20:13:01.707924Z gitpod 7880
+

Directory Listing for /articles/test articles/

🗎test1.article 2022-07-28T20:17:22.159696Z gitpod 7254
+
🗎test2.article 2022-07-28T20:17:22.159696Z gitpod 6950
+
🗎test3.article 2022-07-28T20:17:22.163696Z gitpod 7163
+
🗎test1.article.html 2022-07-28T20:17:22.271696Z gitpod 7971
+
🗎test2.article.html 2022-07-28T20:17:22.275696Z gitpod 7667
+
🗎test3.article.html 2022-07-28T20:17:22.303696Z gitpod 7880
diff --git a/out/otherpage.html b/out/otherpage.html index 7cfd4aa..56d2d48 100644 --- a/out/otherpage.html +++ b/out/otherpage.html @@ -30,99 +30,3 @@ $ARTICLE_PREVIEW curabitur vel tempus ex
-
- -
- Leave a comment!

-

-

- -
-
-  B  -  I  -  U  -  <code>  -  <http://>  -  😊  -  😔  -  👍  -  ❤️  -  😡  -
- -


- -


- - diff --git a/out/reset.css b/out/reset.css index 49f5fc1..73614e1 100644 --- a/out/reset.css +++ b/out/reset.css @@ -45,99 +45,3 @@ table { border-collapse: collapse; border-spacing: 0; } -
- -
- Leave a comment!

-

-

- -
-
-  B  -  I  -  U  -  <code>  -  <http://>  -  😊  -  😔  -  👍  -  ❤️  -  😡  -
- -


- -


- - diff --git a/out/sig.css b/out/sig.css index 40564aa..8d1dbe2 100644 --- a/out/sig.css +++ b/out/sig.css @@ -382,99 +382,3 @@ textarea:disabled{ background-color:#a1a1a1; cursor:pointer; } -
- -
- Leave a comment!

-

-

- -
-
-  B  -  I  -  U  -  <code>  -  <http://>  -  😊  -  😔  -  👍  -  ❤️  -  😡  -
- -


- -


- - diff --git a/out/testfile.html b/out/testfile.html index 8a1d0e9..aa14831 100644 --- a/out/testfile.html +++ b/out/testfile.html @@ -29,99 +29,3 @@ SigPlace
-
- -
- Leave a comment!

-

-

- -
-
-  B  -  I  -  U  -  <code>  -  <http://>  -  😊  -  😔  -  👍  -  ❤️  -  😡  -
- -


- -


- - diff --git a/out/uploadform.html b/out/uploadform.html index d41d398..5a464fb 100644 --- a/out/uploadform.html +++ b/out/uploadform.html @@ -29,99 +29,3 @@ SigPlace
-
- -
- Leave a comment!

-

-

- -
-
-  B  -  I  -  U  -  <code>  -  <http://>  -  😊  -  😔  -  👍  -  ❤️  -  😡  -
- -


- -


- - diff --git a/sigPlace.java b/sigPlace.java index de65642..3ff321e 100644 --- a/sigPlace.java +++ b/sigPlace.java @@ -301,17 +301,19 @@ public class sigPlace { } } - System.out.println(" Generating comment section for "+f+"."); + if (isArticleFile(f)) { + System.out.println(" Generating comment section for "+f+"."); - Path ff = Paths.get(REFDIR,"COMMENT.html"); - List commentHTML = Files.readAllLines(ff); - for (int i=0;i commentHTML = Files.readAllLines(ff); + for (int i=0;i