Adding archive material
- Sunday, May 05 2002 @ 08:31 PM EDT
-
- Contributed by:
- Anonymous
-
- Views:
- 3,224
Since my RDF question was answered so quickly, I figured I'd see if I could go 2-for-2...
I have a lot of material that I wrote for my previous site (plain HTML) that I'd like to copy over to my Geeklog-enabled site. I'd like to assign dates before this year, and the only way I've found to do this is to set the system date on my server back. Is there a way to accomplish this without screwing with my system date?
The following comments are owned by whomever posted them. This site is not responsible for what they say.
The (Story)Admin can choose a date and time for a story. This is actually meant so that you can enter a story to automatically be published at a future date (e.g. when you're away at that time), but you can also use this to create stories with a date and time in the past.
bye, Dirk
I\'m sure I could make the changes with an SQL script if need be, but I\'d rather not take that route, since my SQL would probably be buggy...
\"update stores set date = \'YYYY-DD-MM HH:MM:SS\' where date = \'2003-01-01 00:00:00\'\"
You can either do that story by story or on a batch at a time. NOTE: if all your plain HTML stories are from this year then you CAN just edit them in admin/story.php. If they are from 2001 or prior use this method.