You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My 'atla5/blog' was meant to be displayed through here, but it needs to run.
May need to redo this in pure .js for simplicity and so it runs on gh-pages.
original formulation below:
SCRIPTED BLOG ENTRIES (.txt to .php)
craft a rather basic shell script to take in a .txt file and spit out a .php usable by the site
(this will allow me to write freely and prevent me from having to rewrite the includes and html
tags manually for every new page and blog post)
create a basic template .php file (with html tags, include, and open body) and simply parse
the text inside the file line by line converting it to .html while keeping formatting...
someone has almost certainly done this already with markup, find and adapt that.
create a standardized format for these .txt files specifying type, tags, destination, etc.
'-t' tag for adding a custom title to the created webpage. otherwise default to the filename
before the extension (e.g. "about.txt" -> "Aidan Sawyer | About", "unix-philosophy.txt" ->
"Aidan Sawyer | Unix Philosophy")...
'-i' interactive mode might make some sense for individual files and would save from having
to format each individual file with the section of the blog it goes to and what tags are
associated with it.
note: .txt->.php changed to .md->.html
The text was updated successfully, but these errors were encountered:
My 'atla5/blog' was meant to be displayed through here, but it needs to run.
May need to redo this in pure .js for simplicity and so it runs on gh-pages.
original formulation below:
SCRIPTED BLOG ENTRIES (.txt to .php)
(this will allow me to write freely and prevent me from having to rewrite the includes and html
tags manually for every new page and blog post)
the text inside the file line by line converting it to .html while keeping formatting...
someone has almost certainly done this already with markup, find and adapt that.
before the extension (e.g. "about.txt" -> "Aidan Sawyer | About", "unix-philosophy.txt" ->
"Aidan Sawyer | Unix Philosophy")...
to format each individual file with the section of the blog it goes to and what tags are
associated with it.
note: .txt->.php changed to .md->.html
The text was updated successfully, but these errors were encountered: