Login

Lost Password?

Create New Account

Story word count

View previous topic :: View next topic  
Author Message
Viv
Challenge Admin


Joined: 24 Apr 2003
Posts: 71
Location: Texas

PostPosted: Thu Aug 14, 2008 4:09 pm    Post subject: Story word count Reply with quote

I'm not looking to make more work for Robbie. Really and honestly. But I dig this feature I've seen elsewhere: in the story summary area, when you're trying to figure out whether you wanna invest the time in reading a piece, some sites give the total word count for the story.

Being a programming noob in the worst possible way, I have no idea what implementing a feature like this would entail. But I thought I'd mention it, 'cause I'm irritating like that. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Robbie
Site Admin


Joined: 22 Jun 2003
Posts: 1100
Location: Sydney, Australia.

PostPosted: Fri Aug 15, 2008 9:59 pm    Post subject: Reply with quote

!?

Actually, this would be possible. Each time you lodge a story, I split it into words and count the words for the search index.

I'll just need to modify the code and the database it and ad it all up (and work out where to display it)

Leave it with me - with no promises.

_________________
Rob
www.crackingegg.com
Back to top
View user's profile Send private message Visit poster's website
Robbie
Site Admin


Joined: 22 Jun 2003
Posts: 1100
Location: Sydney, Australia.

PostPosted: Sat Aug 16, 2008 7:11 am    Post subject: Reply with quote

As do so politely put, "Who else could she leave it with?, so it's done. Please let me know of any problems.

Word counts are approximate - took me a long time to count them all and I ran out of marbles for some stories.

_________________
Rob
www.crackingegg.com
Back to top
View user's profile Send private message Visit poster's website
dolarabee
Site Admin


Joined: 21 Apr 2003
Posts: 175
Location: Sydney, Australia

PostPosted: Sat Aug 16, 2008 8:23 am    Post subject: Reply with quote

Before someone else reports it, I just noticed that the 100-word drabbles show up as 70-ish words long... Robbie says it's probably counting 'individual' words. So if you have the word 'a' twice, it only counts it once...

Is that what you meant, Viv? Very Happy

do.

_________________
Je sais de la vie qu'elle se termine souvent au lit,
Et que d'autres ont bien plus de chance trépassent de rire ou de jouissance,
Mais pire que la mort qui vient c'est l'amour qui ne vient jamais.
~ Daniel Bélanger
Back to top
View user's profile Send private message AIM Address Yahoo Messenger ICQ Number
Robbie
Site Admin


Joined: 22 Jun 2003
Posts: 1100
Location: Sydney, Australia.

PostPosted: Sat Aug 16, 2008 8:54 am    Post subject: Reply with quote

OK fixed that.

Now, one of your drabbles is 97 words long, my dear (or 98 if you include "what's" as 2 words). I thought they should be 100 exactly Wink



**************
But in fixing this, I noticed that the search indexes/indices will be a little stuffed for some stories. I'll need to work out which they are and fix them, unfortunately. That'll take about a week.

_________________
Rob
www.crackingegg.com
Back to top
View user's profile Send private message Visit poster's website
Viv
Challenge Admin


Joined: 24 Apr 2003
Posts: 71
Location: Texas

PostPosted: Sat Aug 16, 2008 9:02 am    Post subject: Reply with quote

Wheee! Thanks!

Word-counters all have different ways of arriving at totals, so just becase Word says it's 100 words doesn't mean other counters will agree. I figure drabble authors have run the count by Word (or other word processor), which is sufficient, as far as I'm concerned, for qualifying as a drabble.

Thank you so much!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
NancyBrooke
Challenge Admin


Joined: 11 May 2003
Posts: 160
Location: In a motel 6 by the airport

PostPosted: Sun Aug 17, 2008 10:02 am    Post subject: Reply with quote

And some of mine come in a bit over ... I know MSWord, e.g. counts ellipses ( ... ) and I wondered if the word counter was counting notes before hand, like author's thanks etc. I think there's no way we should expect this to be perfect. None of us do things exactly the same way.
_________________
NB Duchess of WHY TF Cant'chu Punctuate, First Duchess of F*&(ing &*ll yur comma placement sux!
Nazgul #3 in charge of ducking & sniggering

Garo golf a conu ned i eneth aran an ir ho delitha ad
Back to top
View user's profile Send private message
Robbie
Site Admin


Joined: 22 Jun 2003
Posts: 1100
Location: Sydney, Australia.

PostPosted: Sun Aug 17, 2008 4:25 pm    Post subject: Reply with quote

I split by any character that is not a-z, A-Z, 0-9, - (hyphen) or ' (apostrophe). I then strip out anything that is zero letters (so comma followed by space will be removed).

Oh, I also convert all fancy letters (e.g.é, ç into e and c etc first).

_________________
Rob
www.crackingegg.com
Back to top
View user's profile Send private message Visit poster's website
Sulriel



Joined: 06 Jan 2004
Posts: 286
Location: Imladris (or maybe Texas ...)

PostPosted: Sun Aug 17, 2008 10:31 pm    Post subject: Reply with quote

excellent addition. thank you!
_________________
"May it be a light to you in dark places."
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Viv
Challenge Admin


Joined: 24 Apr 2003
Posts: 71
Location: Texas

PostPosted: Mon Aug 18, 2008 9:48 am    Post subject: Reply with quote

Robbie wrote:
Word counts are approximate - took me a long time to count them all and I ran out of marbles for some stories.


Those things are choking hazards. Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum