diff --git a/build b/build index d599723..ee01736 100755 --- a/build +++ b/build @@ -1,3 +1,4 @@ +rm -Rf out/* javac -Xlint:unchecked -cp . sigPlace.java printf "\n\n\nRunning Program...\n\n" java sigPlace "$@" diff --git a/out/articles/curabitur vel tempus ex.article b/out/articles/curabitur vel tempus ex.article new file mode 100644 index 0000000..9e10e5f --- /dev/null +++ b/out/articles/curabitur vel tempus ex.article @@ -0,0 +1,3 @@ +

Curabitur vel tempus ex

+Curabitur vel tempus ex. Duis cursus sapien nisl, ut pulvinar dui porttitor ut. Nullam odio purus, tristique non turpis sit amet, malesuada ultricies purus. Mauris ut nulla nisl. Aenean sit amet est egestas justo volutpat consequat. Suspendisse in sagittis augue, et mattis tortor. Nullam viverra metus et nibh fringilla iaculis. +
29 Apr 2022 7:37PM




⤈ Click to expand.
diff --git a/out/articles/sigplace1.article b/out/articles/sigplace1.article new file mode 100644 index 0000000..15053a2 --- /dev/null +++ b/out/articles/sigplace1.article @@ -0,0 +1,6 @@ +

Welcome to SigPlace!

+ This is a SigPlace article! It will contain information that is important (probably) and will be layed out as such. + Paragraphs are automatically split up for readability and generated correctly via the parser. There's quite a bit of flexibility with the system and makes it easy to post updates should they be required. + A lot of content management systems would do this by having a web interface and submitting content and managing it that way, but by coding my own management system and using the built-in OS' filesystem to handle the work, I save myself a lot of pains and headaches. + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat mollis sem sit amet lacinia. Phasellus vitae varius elit. Proin at vestibulum nunc, in pellentesque orci. Vestibulum efficitur mi vel augue pellentesque eleifend. Aenean eu sem ullamcorper justo consectetur ornare. Donec molestie tincidunt dui eget venenatis. Sed varius est faucibus, blandit turpis non, rhoncus neque. Integer sem felis, cursus in elementum ac, mollis in justo. Pellentesque vel risus turpis. Curabitur lectus neque, lobortis in varius et, tristique convallis erat. Morbi id sodales leo. Cras bibendum bibendum lacus, eu ullamcorper sem tempus sed. Nam ut consectetur nulla. +
3 May 2022 10:25AM




⤈ Click to expand.
diff --git a/out/articles/test articles/test1.article b/out/articles/test articles/test1.article new file mode 100644 index 0000000..666bb51 --- /dev/null +++ b/out/articles/test articles/test1.article @@ -0,0 +1,3 @@ +

A Test Title

+ 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. +
2 May 2022 10:16AM




⤈ Click to expand.
diff --git a/out/articles/test articles/test2.article b/out/articles/test articles/test2.article new file mode 100644 index 0000000..7f8906c --- /dev/null +++ b/out/articles/test articles/test2.article @@ -0,0 +1,3 @@ +

Another test title

+ 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. +
1 May 2022 05:13AM




⤈ Click to expand.
diff --git a/out/articles/test articles/test3.article b/out/articles/test articles/test3.article new file mode 100644 index 0000000..046c231 --- /dev/null +++ b/out/articles/test articles/test3.article @@ -0,0 +1,3 @@ +

And More

+ 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. +
30 Apr 2022 6:14PM




⤈ Click to expand.
diff --git a/out/otherpage.html b/out/otherpage.html index 9b8d703..d4b3e63 100644 --- a/out/otherpage.html +++ b/out/otherpage.html @@ -19,21 +19,11 @@
This is a different webpage.
-

Welcome to SigPlace!

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat mollis sem sit amet lacinia. Phasellus vitae varius elit. Proin at vestibulum nunc, in pellentesque orci. Vestibulum efficitur mi vel augue pellentesque eleifend. Aenean eu sem ullamcorper justo consectetur ornare. Donec molestie tincidunt dui eget venenatis. Sed varius est faucibus, blandit turpis non, rhoncus neque. Integer sem felis, cursus in elementum ac, mollis in justo. Pellentesque vel risus turpis. Curabitur lectus neque, lobortis in varius et, tristique convallis erat. Morbi id sodales leo. Cras bibendum bibendum lacus, eu ullamcorper sem tempus sed. Nam ut consectetur nulla. -
3 May 2022 10:25AM
-

A Test Title

- 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. -
2 May 2022 10:16AM
-

Another test title

- 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. -
1 May 2022 05:13AM
-

And More

- 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. -
30 Apr 2022 6:14PM
-

Curabitur vel tempus ex

-Curabitur vel tempus ex. Duis cursus sapien nisl, ut pulvinar dui porttitor ut. Nullam odio purus, tristique non turpis sit amet, malesuada ultricies purus. Mauris ut nulla nisl. Aenean sit amet est egestas justo volutpat consequat. Suspendisse in sagittis augue, et mattis tortor. Nullam viverra metus et nibh fringilla iaculis. -
29 Apr 2022 7:37PM
+$ARTICLE sigplace1 +$ARTICLE test articles/test1 +$ARTICLE test articles/test2 +$ARTICLE test articles/test3 +$ARTICLE curabitur vel tempus ex
diff --git a/out/reset.css b/out/reset.css index af94440..e29c0f5 100644 --- a/out/reset.css +++ b/out/reset.css @@ -45,4 +45,4 @@ q:before, q:after { table { border-collapse: collapse; border-spacing: 0; -} \ No newline at end of file +} diff --git a/out/sig.css b/out/sig.css index cfc9633..e1b69d5 100644 --- a/out/sig.css +++ b/out/sig.css @@ -59,6 +59,7 @@ body{ } .contentBody .contentWrapper{ + position:relative; border-style: none none outset none; border-radius: 0px 0px 12px 0px; border-color: rgb(17, 153, 17, .3); @@ -72,15 +73,6 @@ body{ border-color: rgb(17, 153, 17, .8); } - .contentBody .contentWrapper .unexpanded{ - display: inline-block; - background-color:rgba(255, 255, 255, .06); - min-width:98vw; - text-align:center; - font-size:2.75em; - content: "⤈ Click to expand."; - } - .contentBody .contentWrapper h1{ display: inline-block; font-size:3.25em; @@ -119,3 +111,18 @@ body{ z-index:0; background-color: rgba(255, 255, 255, .06); } + + .contentBody .contentWrapper .unexpanded{ + position:absolute; + bottom:0px; + min-width:98vw; + text-align:center; + font-size:1.75em; + background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 5%, rgba(32,32,32,1.0) 100%); + user-select:none; + } + + .contentBody .contentWrapper .unexpanded:hover{ + bottom:-8px; + background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 5%, rgba(32,32,32,1.0) 100%); + } diff --git a/out/testfile.html b/out/testfile.html index 6d795f3..ceb71dc 100644 --- a/out/testfile.html +++ b/out/testfile.html @@ -19,9 +19,9 @@
SigPlace -

SigPlace

+-SigPlace Basic Content goes here. -
+===

Other Page! diff --git a/sigPlace.java b/sigPlace.java index b19a4d0..037ed9b 100644 --- a/sigPlace.java +++ b/sigPlace.java @@ -1,11 +1,16 @@ import java.io.IOException; import java.nio.charset.Charset; +import java.nio.file.CopyOption; +import java.nio.file.DirectoryNotEmptyException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; +import java.nio.file.StandardCopyOption; import java.nio.file.StandardOpenOption; import java.util.AbstractMap; +import java.util.ArrayList; import java.util.HashMap; +import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; @@ -51,53 +56,58 @@ public class sigPlace { } } - Set files = GetFilesInDir(ROOTDIR); - for (Path f : files) { - - System.out.println(" Found "+f.getFileName()); + System.out.println("Copying files over to output directory..."); + try { + copyDirectory("sitefiles","out"); + Iterator items = Files.walk(Paths.get("out")).iterator(); + while (items.hasNext()) { + Path f = items.next(); + System.out.println(" Found "+f.getFileName()); + if (Files.isRegularFile(f)) { + try { + + System.out.println(" Preparing "+f.getFileName()); + + List content = Files.readAllLines(f); + if (isHTMLFile(f)) { + content.addAll(0,Files.readAllLines(ops.get("%DEFAULT"))); + content.addAll(Files.readAllLines(ops.get("%FOOTER"))); + } - try { + System.out.println(" Parsing "+f.getFileName()); + for (int i=0;i0&&isArticleFile(f)) { + //Check for markdown pieces. + if (s.charAt(0)=='-') { + //Start of a title piece. + s=s.replace("-",map.get("$TITLE_CONTENT_START")); + s=s+map.get("$TITLE_CONTENT_END").replace("%ID%","id=\"content_"+i+"\""); + //Use ⤈ if there's more text to be shown than can fit. + } else + if (s.contains("===")) { + s=map.get("$CONTENT_END")+map.get("$DATE_CONTENT_START")+s.replace("===","")+map.get("$CONTENT_END")+"




⤈ Click to expand.
"+map.get("$CONTENT_END"); + } + } + for (String key : map.keySet()) { + s=s.replaceAll(Pattern.quote(key),map.get(key)); + } + content.set(i,s); + } - System.out.println(" Preparing "+f.getFileName()); + System.out.println(" Writing to "+f.toAbsolutePath()); - List content = Files.readAllLines(f); - if (isHTMLFile(f)) { - content.addAll(0,Files.readAllLines(ops.get("%DEFAULT"))); - content.addAll(Files.readAllLines(ops.get("%FOOTER"))); - } + Files.write(f, content, Charset.defaultCharset(),StandardOpenOption.CREATE,StandardOpenOption.TRUNCATE_EXISTING,StandardOpenOption.WRITE); + + System.out.println(" "+f.getFileName() + " conversion complete!"); - System.out.println(" Parsing "+f.getFileName()); - for (int i=0;i0&&isHTMLFile(f)) { - //Check for markdown pieces. - if (s.charAt(0)=='-') { - //Start of a title piece. - s=s.replace("-",map.get("$TITLE_CONTENT_START")); - s=s+map.get("$TITLE_CONTENT_END").replace("%ID%","id=\"content_"+i+"\""); - //Use ⤈ if there's more text to be shown than can fit. - } else - if (s.contains("===")) { - s=map.get("$CONTENT_END")+map.get("$DATE_CONTENT_START")+s.replace("===","")+map.get("$CONTENT_END")+"




⤈ Click to expand.
"+map.get("$CONTENT_END"); - } + } catch (IOException e) { + e.printStackTrace(); } - for (String key : map.keySet()) { - s=s.replaceAll(Pattern.quote(key),map.get(key)); - } - content.set(i,s); } - - Path newf = Paths.get(OUTDIR,f.getFileName().toString()); - - System.out.println(" Writing to "+newf); - - Files.write(newf, content, Charset.defaultCharset(),StandardOpenOption.CREATE,StandardOpenOption.TRUNCATE_EXISTING,StandardOpenOption.WRITE); - - System.out.println(" "+newf.getFileName() + " conversion complete!"); - - } catch (IOException e) { - e.printStackTrace(); } + }catch (IOException e) { + e.printStackTrace(); } System.out.println("Site has been built into the "+OUTDIR+" directory."); @@ -106,6 +116,26 @@ public class sigPlace { System.out.println("\nStarting web server..."); new sigServer(); } + static void copyDirectory(String sourceDirectoryLocation, String destinationDirectoryLocation) + throws IOException { + Files.walk(Paths.get(sourceDirectoryLocation)) + .forEach(source -> { + Path destination = Paths.get(destinationDirectoryLocation, source.toString() + .substring(sourceDirectoryLocation.length())); + try { + if (Files.isDirectory(destination)) { + Files.createDirectories(destination); + } else { + Files.copy(source, destination, new CopyOption[]{StandardCopyOption.COPY_ATTRIBUTES,StandardCopyOption.REPLACE_EXISTING}); + } + } catch (IOException e) { + e.printStackTrace(); + } + }); + } + private static boolean isArticleFile(Path f) { + return f.getFileName().toString().contains(".article"); + } private static boolean isHTMLFile(Path f) { return f.getFileName().toString().contains(".html"); } @@ -123,13 +153,4 @@ public class sigPlace { } } - private static Set GetFilesInDir(String directory) { - Path dir = Paths.get(directory); - try { - return Files.list(dir).collect(Collectors.toSet()); - } catch (IOException e) { - e.printStackTrace(); - } - return null; - } } \ No newline at end of file diff --git a/sitefiles/articles/curabitur vel tempus ex.article b/sitefiles/articles/curabitur vel tempus ex.article new file mode 100644 index 0000000..f1bae5f --- /dev/null +++ b/sitefiles/articles/curabitur vel tempus ex.article @@ -0,0 +1,3 @@ +-Curabitur vel tempus ex +Curabitur vel tempus ex. Duis cursus sapien nisl, ut pulvinar dui porttitor ut. Nullam odio purus, tristique non turpis sit amet, malesuada ultricies purus. Mauris ut nulla nisl. Aenean sit amet est egestas justo volutpat consequat. Suspendisse in sagittis augue, et mattis tortor. Nullam viverra metus et nibh fringilla iaculis. +===29 Apr 2022 7:37PM \ No newline at end of file diff --git a/sitefiles/articles/sigplace1.article b/sitefiles/articles/sigplace1.article new file mode 100644 index 0000000..20f61ca --- /dev/null +++ b/sitefiles/articles/sigplace1.article @@ -0,0 +1,6 @@ +-Welcome to SigPlace! + This is a SigPlace article! It will contain information that is important (probably) and will be layed out as such. + Paragraphs are automatically split up for readability and generated correctly via the parser. There's quite a bit of flexibility with the system and makes it easy to post updates should they be required. + A lot of content management systems would do this by having a web interface and submitting content and managing it that way, but by coding my own management system and using the built-in OS' filesystem to handle the work, I save myself a lot of pains and headaches. + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat mollis sem sit amet lacinia. Phasellus vitae varius elit. Proin at vestibulum nunc, in pellentesque orci. Vestibulum efficitur mi vel augue pellentesque eleifend. Aenean eu sem ullamcorper justo consectetur ornare. Donec molestie tincidunt dui eget venenatis. Sed varius est faucibus, blandit turpis non, rhoncus neque. Integer sem felis, cursus in elementum ac, mollis in justo. Pellentesque vel risus turpis. Curabitur lectus neque, lobortis in varius et, tristique convallis erat. Morbi id sodales leo. Cras bibendum bibendum lacus, eu ullamcorper sem tempus sed. Nam ut consectetur nulla. +===3 May 2022 10:25AM \ No newline at end of file diff --git a/sitefiles/articles/test articles/test1.article b/sitefiles/articles/test articles/test1.article new file mode 100644 index 0000000..3a12098 --- /dev/null +++ b/sitefiles/articles/test articles/test1.article @@ -0,0 +1,3 @@ +-A Test Title + 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. +===2 May 2022 10:16AM \ No newline at end of file diff --git a/sitefiles/articles/test articles/test2.article b/sitefiles/articles/test articles/test2.article new file mode 100644 index 0000000..2d3ca06 --- /dev/null +++ b/sitefiles/articles/test articles/test2.article @@ -0,0 +1,3 @@ +-Another test title + 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. +===1 May 2022 05:13AM \ No newline at end of file diff --git a/sitefiles/articles/test articles/test3.article b/sitefiles/articles/test articles/test3.article new file mode 100644 index 0000000..8ef6fcf --- /dev/null +++ b/sitefiles/articles/test articles/test3.article @@ -0,0 +1,3 @@ +-And More + 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. +===30 Apr 2022 6:14PM \ No newline at end of file diff --git a/sitefiles/codeBackground b/sitefiles/codeBackground new file mode 100644 index 0000000..a2b694f --- /dev/null +++ b/sitefiles/codeBackground @@ -0,0 +1,40 @@ + try { + socket = new ServerSocket(sigPlace.PORT); + System.out.println("Listening on port "+sigPlace.PORT+"."); + while (true) { + try (Socket client = socket.accept()) { + System.out.println("New client connection detected: "+client.toString()); + BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream())); + String line; + line=in.readLine(); //Read the first line, this should be our request. + if (line!=null) { + String[] splitter = line.split(Pattern.quote(" ")); + if (splitter.length==3) { + //This is valid. + if (splitter[0].equals("GET")) { //This is a GET request. + if (splitter[2].equals("HTTP/1.1")||splitter[2].equals("HTTP/2.0")) { + String[] requestSplit = splitter[1].split(Pattern.quote("?")); + String requestloc = requestSplit[0]; + HashMap requestParams = new HashMap<>(); + if (requestSplit.length>1) { + String[] params = requestSplit[1].split(Pattern.quote("&")); + for (String s : params) { + String key = s.substring(0,s.indexOf('=')); + String value = s.substring(s.indexOf('=')+1); + requestParams.put(key,value); + } + System.out.println(" ==Params for this request are: "+requestParams); + } + if (requestloc.equals("/")) { + //Send default directory. + CreateRequest(client,"200","OK","testfile.html"); + } else { + CreateRequest(client,"200","OK",requestloc.replace("/","")); + } + } + } else { + CreateRequest(client,"501","Not Implemented","testfile.html"); + } + } + while (!(line=in.readLine()).isBlank()) { + //System.out.println(line); diff --git a/sitefiles/otherpage.html b/sitefiles/otherpage.html index de2b8fd..b371084 100644 --- a/sitefiles/otherpage.html +++ b/sitefiles/otherpage.html @@ -1,16 +1,6 @@ This is a different webpage.
--Welcome to SigPlace! - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat mollis sem sit amet lacinia. Phasellus vitae varius elit. Proin at vestibulum nunc, in pellentesque orci. Vestibulum efficitur mi vel augue pellentesque eleifend. Aenean eu sem ullamcorper justo consectetur ornare. Donec molestie tincidunt dui eget venenatis. Sed varius est faucibus, blandit turpis non, rhoncus neque. Integer sem felis, cursus in elementum ac, mollis in justo. Pellentesque vel risus turpis. Curabitur lectus neque, lobortis in varius et, tristique convallis erat. Morbi id sodales leo. Cras bibendum bibendum lacus, eu ullamcorper sem tempus sed. Nam ut consectetur nulla. -===3 May 2022 10:25AM --A Test Title - 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. -===2 May 2022 10:16AM --Another test title - 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. -===1 May 2022 05:13AM --And More - 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. -===30 Apr 2022 6:14PM --Curabitur vel tempus ex -Curabitur vel tempus ex. Duis cursus sapien nisl, ut pulvinar dui porttitor ut. Nullam odio purus, tristique non turpis sit amet, malesuada ultricies purus. Mauris ut nulla nisl. Aenean sit amet est egestas justo volutpat consequat. Suspendisse in sagittis augue, et mattis tortor. Nullam viverra metus et nibh fringilla iaculis. -===29 Apr 2022 7:37PM \ No newline at end of file +$ARTICLE sigplace1 +$ARTICLE test articles/test1 +$ARTICLE test articles/test2 +$ARTICLE test articles/test3 +$ARTICLE curabitur vel tempus ex \ No newline at end of file diff --git a/sitefiles/reset.css b/sitefiles/reset.css new file mode 100644 index 0000000..af94440 --- /dev/null +++ b/sitefiles/reset.css @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file