Welcome to Geeklog Thursday, November 14 2019 @ 07:37 pm EST

Geeklog Forums

Mass-delete articles


Status: offline

kreative

Forum User
Chatty
Registered: 15/08/04
Posts: 53
Location:Verona, Italy
Hello,
I have about 2.500 articles.
Can I mass-delete, for example, 1.500 of them (the last 1.500 articles)?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
You would need some piece of PHP code that calls STORY_deleteStory() for every story that you want to delete. It will take care of images and comments associated with the stories.

But, as I just noticed, it doesn't seem to delete trackbacks

bye, Dirk

Status: offline

kreative

Forum User
Chatty
Registered: 15/08/04
Posts: 53
Location:Verona, Italy
Is it possible to have a little php file with this function, that delete the articles from today to, e.g., 1/1/2005 ?

All times are EST. The time is now 07:37 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content