oliverdavies.uk/content/node.ed274b9c-e558-4ccb-a0e3-845fd4252c85.json

100 lines
No EOL
4.7 KiB
JSON

{
"uuid": [
{
"value": "ed274b9c-e558-4ccb-a0e3-845fd4252c85"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-05-01T23:43:32+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "Archiving Drupal websites as static websites"
}
],
"created": [
{
"value": "2025-03-18T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-01T23:43:32+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2025\/03\/18\/archiving",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>Static websites can be created by writing each file by hand or using a tool like <a href=\"https:\/\/www.oliverdavies.uk\/presentations\/sculpin\">a static site generator<\/a>.<\/p>\n\n<p>But what if you've already got a dynamic website that you no longer need to be editable?<\/p>\n\n<p>What if it was for an event that has passed, like a DrupalCamp?<\/p>\n\n<p>If you no longer need to update the content via the admin UI, you could archive it by converting it to a static website.<\/p>\n\n<p>Then you no longer need to maintain and update it, and <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/03\/13\/deploy\">simplify your hosting environment<\/a>.<\/p>\n\n<p>You could use <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/03\/15\/tome\">Tome, a static site generator for Drupal<\/a>, or use command line tools like <code>wget<\/code> with options like <code>--mirror<\/code> to create a static version by crawling a live website.<\/p>\n\n<p>There are <a href=\"https:\/\/www.drupal.org\/docs\/administering-a-drupal-site\/creating-a-static-archive-of-a-drupal-site\">a few options on Drupal.org<\/a>, which will also work with other CMSes and frameworks.<\/p>\n\n<p>This is what I've done for old websites like our old DrupalCamp Bristol websites.<\/p>\n\n<p>That means they're still available for people to see, but without the maintenance and security overhead.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>Static websites can be created by writing each file by hand or using a tool like <a href=\"https:\/\/www.oliverdavies.uk\/presentations\/sculpin\">a static site generator<\/a>.<\/p>\n\n<p>But what if you've already got a dynamic website that you no longer need to be editable?<\/p>\n\n<p>What if it was for an event that has passed, like a DrupalCamp?<\/p>\n\n<p>If you no longer need to update the content via the admin UI, you could archive it by converting it to a static website.<\/p>\n\n<p>Then you no longer need to maintain and update it, and <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/03\/13\/deploy\">simplify your hosting environment<\/a>.<\/p>\n\n<p>You could use <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/03\/15\/tome\">Tome, a static site generator for Drupal<\/a>, or use command line tools like <code>wget<\/code> with options like <code>--mirror<\/code> to create a static version by crawling a live website.<\/p>\n\n<p>There are <a href=\"https:\/\/www.drupal.org\/docs\/administering-a-drupal-site\/creating-a-static-archive-of-a-drupal-site\">a few options on Drupal.org<\/a>, which will also work with other CMSes and frameworks.<\/p>\n\n<p>This is what I've done for old websites like our old DrupalCamp Bristol websites.<\/p>\n\n<p>That means they're still available for people to see, but without the maintenance and security overhead.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-05-01T23:43:32+00:00",
"guid": null,
"hash": "a776e5053b9f9b1276b131cb30130d86",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}