Antville Project

Date of offline stories

(I'm another very happy and impressed user)

My site 2012.antville.org is a little different than most, I post science stories rather than a personal diary. I aim to post one story a day, and find it handy to keep a few stories in reserve for when I need them - so I create the stories and leave them "offline"

But when I place them online, they have the date of creation - is there anyway of changing the date of a story

comment    

 
hns, April 8, 2002 at 9:59:34 AM CEST

I'm willing to add this feature

as a morning warm up exercise. Could somebody update me about Helma Date parsing? ;-) Otherwise I'll have to look that up myself.

I think this should be optional, i.e. I'll just implement the necessary functionality and won't put it in the standard story editor skin, but I'll leave that decision up to Robert and the Antville community at large.

Robert, do you see any problems with having this feature?

link  

 
robert, April 8, 2002 at 10:20:22 AM CEST

nope

i don't see any problems with that. regarding date-parsing, i always used SimpleDateFormat() and tryEval() for parsing, looked like the easiest way to do it. and thanks for taking the job!

link  

 
hns, April 8, 2002 at 2:18:26 PM CEST

OK

I've implemented this and the changes are in the CVS (but not on in the version running on antville.org yet.)

As I said, I didn't actually touch the story/edit.skin, so new weblogs don't have the createtime editor field by default. To enable it, you have to add this to your story/edit skin:

<tr> <td class="small">story timestamp:</td> <td nowrap><% this.createtime as="editor" %></td> </tr>

From what I saw playing around, this could be a very cool feature! I guess we'll want the weblog frontpage not to display stories in the future, but only stories from today or earlier. Me thinks that this would be the desired behaviour both for calendar style websites and ordinary weblogs with post-to-the-future behaviour.

link  

 
robert, April 8, 2002 at 8:43:01 PM CEST

thanks

for implementing that. and yes, the weblog-frontpage shouldn't display stories of the future (nevertheless i think the days in the future carrying stories should be appear as link in the calendar).

link  

 
kris, April 8, 2002 at 9:39:20 PM CEST

killerfeature!!! whooohooo!

this is the bomb. really. i'm just thinking about all the cool things that could be done with this. imagine a macro, say, <% weblog.futurestorylist days="5" %> for the frontpage. you could use antville for homepages of clubs etc., calendar, weblog, archive, discussion group--everything is possible in one organic site.

link  

 
hns, April 9, 2002 at 2:07:20 PM CEST

glad

to see you happy. ;-)

link  

 
kris, April 9, 2002 at 2:26:19 PM CEST

:)

link  

 
dm42, April 11, 2002 at 3:09:28 PM CEST

@hns

i put this in my editor skin, but the createtime field is displayed as text only - will it come up as an input control someday?

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher