upvote
Is there a tenable workflow for the marketing department to use a SSG over Wordpress?

- WYSIWYG editor is table stakes. The lovely folks at marketing once thought I was hacking when I `ps -eaf`-ed in an unresponsive Macbook.

- They "put" images in their post. They don't "upload the image and position it with CSS".

- It's the marketing department so they have to have all sorts of bells and whistles. At the very least tracking, at most some obscure integration plug-in that as an engineer I have no kind words for. Social integrations and "You may also like..." sections also come to mind.

> cheap WP plugins that export the whole site as static to something like FTP or S3, so you can just firewall the actual WP behind an IP restriction and host the actual public-facing site from S3/whatever.

Not that I have extensive WP experience but unless you can name me an actual plugin that has good street cred for being used in the wild wild west, I'm gonna say this is not as easy as you make it sound. For one you just described a very rudimentary data pipeline which someone has to support and maintain even infrequently. Also, speaking from experience, plugins don't always play nice with other plugins. I once tried to export my very basic personal site out of WP to find the footnotes all messed up (I don't know now but back then I handled footnotes with a plugin).

reply
I think that's exactly the point where the article falls flat. There is potentially a big oppurtunity in building a SSG + CMS solution despite the past failed attempts.

Every few years I go looking for something that's not Wordpress that you could hand to a marketing department, but there is no viable alternative (that's not Drupal).

reply
There's a number of headless CMS solutions for commercial websites. Hosted, multi-user, paid. It's just a different category.
reply
Ironically, one of the original major reasons WordPress became popular was its dynamic nature. It dethroned Movable Type, which was an extremely powerful and extensible static site generator.

It's wild to me that this post's timeline makes no mention whatsoever of Movable Type, and at one point it links to another author's post titled "A Complete History of Static: The Beginning to WordPress Headless" which also makes no mention whatsoever of Movable Type. Now I feel old :/

reply
To my surprise, Movable Type is still being developed even today. Wonder if there's some companies still using it out inertia. I know many moved off of it back when they restricted their free tier
reply
I started my client's site on Hugo, withing 2 days I was editing something for them every 30 mins (slight exaggeration). They wanted something they could edit, they don't do Markdown, they don't manually write URLs they want to drag images into their posts and pages.

So bye bye Hugo.

reply
Check out TinaCMS. Works for editing Hugo sites. Not as nice as WordPress admin, but it's good enough for simple editing tasks.
reply
This is generally solvable unless they wanted radical layout changes. There are headless CMS solutions, just ensure that no texts are hardcoded and instead put in a config. Such configs can be made editable in the CMS.
reply
Normal people refuse to learn markdown - they want RTF editor.

I could understand someone might refuse learning LaTex but markdown is so simple.

RTF editing sucks badly if you have to include it in your project. No one wants to specifically pay for implementing it but they also expect it to be there.

reply
Nowadays you can just use one of those WYSIWYG markdown editors that come with a toolbar (incl. buttons for inserting images) and hide the formatting syntax by default.
reply
That's the easy part, yes.

But each editor also has its issues with generating "backend html" doing bunch of wonky stuff so it works for this editor — using that text in various other places and when you have multiple rich text fields and not single big one to edit whole document is always a major PITA.

Then you get whatever they write to PDF report so for example you have to render HTML correctly there. Amount of ways it can break is basically infinite, getting paragraphs page breaks is non trivial amount of work, especially when customer wants their own layout for the report and not generic looking or just broken layout. So problem is mix and match display of whatever they write in different places.

Not to mention, everyone wants prefilled templates, so they don't start from scratch, oh and your templates need to have dynamically filled in placeholders, now you have to put something like tags that will be updated by your back end.

Maybe you need to send it via API and all kind of companies have WAF on incoming/outgoing data then you have to strip tags.

Yes you can encode/decode, limit options, white list allowed tags, and I was doing that for years now, but amount of things that break is still big and another customer wants you to enable lists when you wanted to support just italic, bold, then you have whole blast radius and feature creep is real.

ROI is just not there, as I mentioned no one wants to specifically pay for all that, we have a really good run telling customers to just use plain text, amount of regressions to be tested, amount of expectations of things to work out of the box once you go with rich text is really high.

Bar to jump to is basically re-implement MS Word — oh did I mention everyone will expect copy pasting from Word to work perfectly - just imagine how much time your customer support has to spend explaining you limited options in that field to be just bold and italic.

reply
> RTF editor

Is that what they call WYSIWYG? :eyes:

reply
I recently moved all my website from WordPress. In last few year couple of them had got hacked via plugin exploits as well. I had to use "security" plugins after that i didn't have any issue but still...

I crawled own website and downloaded each, and converted to markdown then used static site generator (custom in javascript)

runs on cloudflare pages for free with no downtimes or "fee".

if you want to see result: https://aretecodex.pages.dev/guides/recomposition

Couple of problems:

To edit content i've to use "image paste" plugin and configure its base directory, image path in project setting in .vscode

I lost the comment/upvote feature.

I lost "search"

reply
Switching from word press to static site generator caused disruption to my autoflow habit of posting. WordPress (I didn't have to maintain) had a gui I didn't have to think to use. I still made the switch though.
reply
To me, the thing wordpress installs offer is the GUI. I help a few people with wordpress installs, and I've ended up setting up a private wordpress install, and then I run a script which mirrors the website statically -- this is moderately hacky, and I'm sure could be done better, but as long as I hide the private wordpress install, it means I don't need to worry about keeping it up to date.

I haven't found a static generator which has as nice a WYSIWYG interface as wordpress.

reply
Wordpress has:

* the ability to schedule posts

* a ton of plugins

* a lot of people who know how to use it

* a reasonable WYSIWYG interface

As far as I know, most SSGs fall down on one or more of those dimensions.

reply
3rd bullet. I do a ton of WordPress at work. Clients asked for it because they know how to use it.
reply
* live preview
reply
I can live preview my website from my local server / computer / laptop, while writing content from basically anything. Even a cheap and underpowered writing deck with 400 MHz CPU. The options are limitless.
reply
You're absolutely underestimating the complexity of proper live preview of changes. This is essentially "hot reload" mode, but on the public internet, because it has to run on a public domain. Getting that right is a challenge, and if you don't know why, you haven't attempted to solve it yet.
reply
Why would I want my WIP site to be on the public internet? This has been built into Jekyll for years. Probably other SSGs too but I don't know/use them.

  jekyll serve --watch --incremental
reply
Because you're thinking in the context of a solo developer working on their site locally. You don't need a CMS. People that want to collaboratively work on a website, some of which may lack technical skills, need a way of previewing their edits that doesn't involve running shell commands.
reply
Wordpress can be part of a SSG setup - it's not versus.
reply
For those looking for an SSG with WYSIWYG, please take a look at Publii. I have no affiliation other than being a user, but I wish more people were aware of it.
reply
I am a fan of jekyll-admin: https://github.com/jekyll/jekyll-admin/

Its project page doesn't seem to have a screenshot of the post/page editor, but its editor is simplemde so one can just look at it directly: https://simplemde.com/

reply
have you ever heard of caching? because it can do the exact same thing as what you just described, yet WP can also be dynamic, have visual page and post builders, etc...
reply
The WordPress hacking/plugin security issue has been a solved problem for well over 10 years now if you're even basically competent. Especially if you're using something like WP Engine or Pantheon for hosting.
reply
what is unique about those hosts with regards to plugin security?
reply