Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 07:51 am EDT

Geeklog Forums

Mass-delete articles


Status: offline

kreative

Forum User
Chatty
Registered: 08/15/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)?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/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 Shocked

bye, Dirk
 Quote

Status: offline

kreative

Forum User
Chatty
Registered: 08/15/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 ?
 Quote

All times are EDT. The time is now 07:51 am.

  • 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