Safe Planet News Article Editor
View Site

Article Editor

Preview

March 15, 2026

Article Title

Article summary will appear here...

OHS

JSON Output

Copy this to articles.json
{ "id": 1741795200000, "title": "Example Article", "category": "OHS", "date": "March 15, 2026", "image": "images/example.png", "summary": "Your summary here", "content": "

HTML content here

" }

How to Add New Articles

  1. Fill in the article details in the form
  2. Click "Preview" to see how it looks
  3. Click "Generate JSON" to create the JSON code
  4. Copy the JSON output
  5. Open articles.json
  6. Paste the new article at the top of the array (before the first {)
  7. Make sure to add a comma after the previous first article
  8. Save the file and refresh index.html

Tip: Generate a unique ID using timestamp: