Added delete feature to post importer

This commit is contained in:
Jeremy Rangel
2025-01-02 21:31:25 -08:00
parent 4447e50bcf
commit 3a205a53cf
6 changed files with 176 additions and 93 deletions

View File

@ -6,7 +6,7 @@
"excerpt": "Faketown residents have been experiencing unpredictable weather patterns, baffling local meteorologists.",
"category": "Local News",
"tags": ["weather", "Faketown", "mystery"],
"date": "2025-01-01",
"date": "2024-01-01",
"status": "publish",
"thumbnail": "demo-post-thumbnail-1.jpg"
},
@ -16,7 +16,7 @@
"excerpt": "Faketowns mayor unveils a new green initiative to reduce carbon emissions by 40%.",
"category": "Politics",
"tags": ["green", "climate change", "Faketown"],
"date": "2025-01-02",
"date": "2024-01-02",
"status": "publish",
"thumbnail": "demo-post-thumbnail-2.jpg"
},
@ -26,7 +26,7 @@
"excerpt": "Faketown's new restaurant is offering a fusion of global flavors with a local twist.",
"category": "Food & Drink",
"tags": ["restaurant", "food", "Faketown"],
"date": "2025-01-03",
"date": "2024-01-03",
"status": "publish",
"thumbnail": "demo-post-thumbnail-3.jpg"
},
@ -36,7 +36,7 @@
"excerpt": "Faketown residents report strange creatures spotted in nearby forests, baffling experts.",
"category": "Strange Happenings",
"tags": ["mystery", "Faketown", "creatures"],
"date": "2025-01-04",
"date": "2024-01-04",
"status": "publish",
"thumbnail": "demo-post-thumbnail-1.jpg"
@ -47,7 +47,7 @@
"excerpt": "Faketowns annual festival saw record-breaking attendance, with thousands of people participating.",
"category": "Community Events",
"tags": ["festival", "community", "Faketown"],
"date": "2025-01-05",
"date": "2024-01-05",
"status": "publish",
"thumbnail": "demo-post-thumbnail-2.jpg"