3 ms·
I'm not familiar with SSGs - are they any that can take a sitemap (XML or whatever), bulk curl / wget the contents and save as flat files? If so, it should be
by petecooper 6y ago
I'm not familiar with SSGs - are they any that can take a sitemap (XML or whatever), bulk curl / wget the contents and save as flat files?
If so, it should be easy enough to build a Textpattern sitemap scaffold with all the pages / articles / etc and then run a generator against it to spit out the files.
- Tomte 6y agoI'd probably just use wget directly, then. But it's another manual step, it would be cool to hand a prepared TP instance to someone and say "in this folder is your web site, upload it wherever you want". I have no idea how hard it would be to write such a plugin. Never looked into the dev side of TP, only used it back then. It's a niche idea, sure. Most people would want to use a "proper" SSG anyway. Edit: Actually, we two already talked about that here: https://news.ycombinator.com/item?id=23050113 https://news.ycombinator.com/item?id=23050113 You probably don't remember, either? :-)
- petecooper 6y ago>You probably don't remember, either? :-) Actually I did, I just didn't want to make it awkward!