From ba4f74e2613d9e8228ab82ccb65dd4f66e35af17 Mon Sep 17 00:00:00 2001
From: thing1 Thing1's blogs!
+
+
+
+
+
+""" > $index
+
+blogs=$(ls $blogfile/*.blog)
+for i in $blogs; do
+ out=$(echo $i | rev | cut -d '/' -f 1 | cut -d '.' -f 2- | rev)
+
+ echo """
+$out
+ """ > $outfile/$out.html
+
+ cat $i | ./blogtohtml >> $outfile/$out.html
+
+ echo """
+
+ """ >> $outfile/$out.html
+
+ echo "${out}" >> $index
+done
diff --git a/blogs/first---1.2.25.blog b/blogs/first---1.2.25.blog
new file mode 100644
index 0000000..ba641af
--- /dev/null
+++ b/blogs/first---1.2.25.blog
@@ -0,0 +1,11 @@
+
+* Wow! look at this blog
+Isn't it amazing, I know it is right, some content finally came onto this site, it's as if someone is running it. I want to use these blogs as a pseudo dirary sorta thing. I dont really expect them to be read but if someone does then I suppose thats a win.
+
+I suppose a good place to start with is who am I. Well im a lot of things, notably a nerd, so thats why you can read this page at all, I like righting clean code in C, with no nonsense librarys or anything like that (looking at you CMake), I like small command line editors like vim, but as of writing I'm using kakoune, it's a new years resolution of sort but I dont really believe in them, oh well :). (If you read this far the best thing to take away is to try kakoune).
+
+On other things obvously I'm a linux guy but I doubt that needed to be said, you probably are too if your reading this drivel.
+
+If your somehow intressed in the stuff I'm using to make this blog (Shokingly its not hand writen html), its a small tool I just through together called blogger, which consists of about ~50 of shell and C code combind, none of it is very good but it doesn't need to be, it's working so far.
+
+Anyway I think that calls it for the blog today, on other news the world is ending but thats nothing new!
diff --git a/blogs/output/style.css b/blogs/output/style.css
new file mode 100644
index 0000000..c39429b
--- /dev/null
+++ b/blogs/output/style.css
@@ -0,0 +1,29 @@
+body {
+ background: black;
+}
+
+#blogtitle {
+ text-align: center;
+ color: white;
+ scale: 2;
+ padding: 30px
+}
+
+#blogheading {
+ text-align: center;
+ color: white;
+}
+
+#blogcontent {
+ text-align: center;
+ color: white;
+ margin-left: 20%;
+ margin-right: 20%;
+}
+
+#bloglink {
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
+ display: block;
+}
diff --git a/blogtohtml.c b/blogtohtml.c
new file mode 100644
index 0000000..b6576d7
--- /dev/null
+++ b/blogtohtml.c
@@ -0,0 +1,44 @@
+#include
\n");
+ } else if (buffer[i] == '\n') {
+ printf("\n
\n");
+ } else printf("%c", buffer[i]);
+ }
+ printf("