https://github.com/cephalization/text2site
Translate plaintext to a template html file.
https://github.com/cephalization/text2site
Last synced: about 1 year ago
JSON representation
Translate plaintext to a template html file.
- Host: GitHub
- URL: https://github.com/cephalization/text2site
- Owner: cephalization
- Created: 2015-08-04T03:28:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-11T16:32:10.000Z (almost 11 years ago)
- Last Synced: 2023-03-03T06:27:39.312Z (over 3 years ago)
- Language: Java
- Size: 6.34 MB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# text2site
A tool for formatting plaintext into HTML markup. Used on DEABnet!
To adjust to your website, copy all HTML that comes before the text into initial.html,
and everything after into final.html!
When creating a DEABnet post, remember to edit initial.html with the appropriate blog title!
##REQUIREMENTS -
* Latest version of Java and JDK (if compiling)
* initial.html in same directory as program
* final.html in same directory as program
##METHODS -
* Write/Build from file, navbar/head/open HTML
* Write/Build formatted blog post (only auto adds p tags for now)
* Write/Build from file, closing tags
* Read user input
* Format user input
##TO COMPILE/UNIX##
###################
* cd into text2site directory
* javac -g Text2SiteMain.java FileMaker.java
* mkdir tex2site
* mv *.class tex2site/
* jar cfm text2site.jar manifest.txt text2site/*.class
##TO COMPILE/WINDOWS##
######################
* Open CMD with elevated privileges
* Make sure the directory containing the latest jdk is set in path
* cd into text2site directory
* javac -g Text2SiteMain.java FileMaker.java
* mkdir tex2site
* move *.class tex2site/
* jar cfm text2site.jar manifest.txt text2site/*.class
* Alternatively, run compile.bat