News for hackers. Stuff that matters.
Re:Get Static by Jaruzel on Monday March 23, 2020 @03:47AM (#22661970)
Static site generator for non-technical people:

  1. Write your article in Microsoft Word.
  2. Save as 'Web Page, Filtered'
  3. Upload/Place in html folder on Webserver.
Almost everyone has access to a copy of Word, if not I think LibreOffice has a html save function also.

This solution is 100% wrong for us technical people, but for non-techies who just want to get the information out there it's a really good option imho.

Re:Get Static by jeromenerf on Monday March 23, 2020 @08:01AM (#22663158)
Item #3 would be the most difficult task of the lot for "non techies" in my experience: FTP client, web hosting setup, ...

I taught a class (10 people, master's degree, journalists) about web and publishing, with no prior experience. We used gitlab pages and hugo, with the intent of getting some hands on experience with web tech and owning an actual project and website.

Markdown writing and HTML/CSS hacking went smoothly but most of all, students were impressed by the experience of getting a website online, with their content, in a matter of minutes, all in the browser.

In comparison, registering for some HTTP/FTP plan somewhere and using a FTP client can be quite daunting.

There are some "dropbox based" website generator services that could make the publishing workflow even easier.

Re:Get Static by Jaruzel on Monday March 23, 2020 @09:47AM (#22664052)
Ok so we've identified where the friction is - how can we improve on that for the lay person?
Re:Get Static by aesyondu on Monday March 23, 2020 @09:51AM (#22664081)
How about https://www.netlify.com? Recently had to teach a non-tech person how to host a website from scratch. With all the non-trivial requirements (dns, vps, web server), I thought it would be easiest to just use netlify. That way, a git push on the repo will deploy the site immediately.
Re:Get Static by j_4 on Monday March 23, 2020 @10:01AM (#22664159)
"A push on the git repo" is not something I would think trivial for a non-tech person. However, netlify also supports just drag-and-dropping a zip onto the dashboard. That's probably as easy as it gets.
Re:Get Static by aesyondu on Monday March 23, 2020 @08:05PM (#22670341)
Yep, I had to explain the concept of version control system, using the old my_doc_file.docx, my_doc_file_final.docx, my_doc_file_final_final.docx, ...

I just told him when to use the commands git init, remote, add, commit, and push and what the workflow looks like.

As a couple of people have mentioned, there is a drag and drop feature. How did I miss this!? Anyway it would have saved a couple of minutes of explanation.

Re:Get Static by levosmetalo on Monday March 23, 2020 @11:25AM (#22664973)
But then you need to create that zip file with the appropriate folder and file structure. I fear that would be too much to ask for then non-technical person that struggles with doing git commit.
Re:Get Static by jakelazaroff on Monday March 23, 2020 @11:34AM (#22665048)
You actually don't even have to zip it up. It just needs to be a folder with an index.html file in it. If Microsoft Word exports that, your non–technical person should be fine.
Re:Get Static by brabel on Monday March 23, 2020 @01:09PM (#22666088)
You don't need git... they have also a drag-and-drop option - just drag a local directory with your HTML files into the Netlify page and you're done.
Re:Get Static by aesyondu on Monday March 23, 2020 @08:07PM (#22670358)
I don't know how I missed this. To be fair the "New site from git" button looks bright and green, while the "drag and drop your site folder here" looks dull and grey.
Re:Get Static by beering on Monday March 23, 2020 @11:08AM (#22664800)
I think a lot of cheap shared web hosts let you upload via browser in a drag-and-drop widget. For example, neocities has a basic drag-and-drop uploader.
Re:Get Static by noyesno on Monday March 23, 2020 @11:53AM (#22665202)
A Dropbox-like service that will sync a folder with a web server automatically.
Re:Get Static by TeMPOraL on Monday March 23, 2020 @04:35AM (#22662141)
Thanks for mentioning Filtered in step 2. I always thought Word generates a ridiculously messy tag soup, but that's in default HTML export. I tested it with Filtered now, and the final markup is surprisingly clean.

It actually is a half-decent solution for static HTML generation. Wish I knew that in the past.

Re:Get Static by lucideer on Monday March 23, 2020 @08:19AM (#22663294)
> Almost everyone has access to a copy of Word

This really really isn't anywhere near true anymore.

Also, as mentioned, the complexity of bullet point 3 is enormously understated. MANY MANY SaaS options like Squarespace or even Netlify or Siteleaf are in themselves much simpler than your step 3.

Re:Get Static by nvrspyx on Monday March 23, 2020 @07:13PM (#22669883)
Google Docs (and many note taking apps) let you export to HTML as well. Word Online lets you "transform" a document into a website and gives you a link to send to others, but it's not really the same since there's preset themes and none of them are as simple as a Word/Doc/Note exported as pure HTML.
Re:Get Static by Animats on Monday March 23, 2020 @03:50AM (#22661980)
Also available, Blue Griffon, which is an open-source successor to Dreamweaver. It offers templates and CSS, and what's uploaded is a totally static page unless you stick in something dynamic like a form.
Re:Get Static by petepete on Monday March 23, 2020 @04:01AM (#22662028)
Wow, I didn't realise Nvu had been resurrected. This looks great for basic publishing.

https://en.m.wikipedia.org/wiki/Nvu

Re:Get Static by e12e on Monday March 23, 2020 @03:41PM (#22667906)
Interesting. That's:

http://bluegriffon.org

https://github.com/therealglazou/bluegriffon

I guess the epub part isn't open source?

Re:Get Static by markandrewj on Monday March 23, 2020 @10:22AM (#22664339)
<insert dreamweaver joke here>

I am sort of surprised at how talk about static websites is only becoming top of mind as of recent. When I think of static websites used with success, I always think of Obama's campaign, it was built with Jekyll. There was quite a bit of talk around static websites around that time, and it seemed like quite a few people were on-board with the idea.

When people talk about static website generators though, I don't think many people are talking about tools like dreamweaver.

Re:Get Static by WorldMaker on Monday March 23, 2020 @01:24PM (#22666282)
A lot more people would be talking about tools like Dreamweaver (and FrontPage) if they weren't a long time gone. It's been nearly two decades from the last "proper" release. Some of the spirit of Dreamweaver lives on in other tools in Adobe's Creative Cloud, but also are harder to use, and more expensive.
Re:Get Static by markandrewj on Monday March 23, 2020 @03:20PM (#22667683)
I think of dreamweaver more as a wysiwyg tool than a static site generator. Although you can obviously generate static sites with it, I don't think it really fits the modern workflows I would associate with static site generators.
Re:Get Static by WorldMaker on Monday March 23, 2020 @04:24PM (#22668339)
Dreamweaver and FrontPage both had very nascent/early ideas towards Content Management, they weren't "just" WYSIWYG tools towards the end. Given how much work goes into making static site generators WYSIWYG when building content (such as tools like Netlify CMS), the "ideal" is probably somewhere in the middle.

Had PHP hosting not got so cheap so quickly and subsequently early PHP CMSes become so common, it's possible there was an alternate universe where Dreamweaver or FrontPage continued to evolve into really interesting static site generating Content Management Systems.

Re:Get Static by hawski on Monday March 23, 2020 @07:07AM (#22662838)
Is there something like Filtered option for LibreOffice?