Lit.Org - a community for readers and writers Advanced Search
 




Average Rating
4.2

(5 votes)


RatingRated by
2Unknown
1Unknown
7Unknown
10Unknown
1Unknown

You must login to vote

To help older works get some views we've added a random story / poem feature to the site. Hit http://www.lit.org/random to take a look at a gem you might have missed.

Also, don't forget the Unread posts page as well as the 50 Most read page. We'll soon be adding a selected favorites page!

------
Chrispian H. Burks
Lit.Org Owner / Founder
Blog - Twitter - Facebook



Related Items

Comments

The following comments are for "New Random Story / Poem"
by Chrispian

Great work!
Excellent work Crowe!

I've already found some good stuff. This should keep me busy for a while! (and with luck should set the comments section on fire for a while too)


Read - the forum.
Write - the code.
Respond - to the users' request!

Yep. That's what you did. hehehe :)

( Posted by: Spudley [Member] On: November 20, 2002 )

Great work!
Two quick comments while I'm here...

1. Totally random is great, but it would also be nice to have random, but within a given section. (what can I say, I just prefer poetry at the moment...).
Not essential, though - I can always try again if I get one I don't like.

2. I guess the random program is just a simple random number plugged into the viewid field? I may be unlucky, but I've had a couple of "article does not exist" errors already. :-(
But as before, I can always try again, so don't get too hung up over it.

Yes, I definitely love this feature. See you - I'm off to read some more randomness.... ;-)

( Posted by: Spudley [Member] On: November 20, 2002 )

re: random thingy
Spudley, thanks! I'm enjoying it quite a bit two.

As to the errors you've spotted.

First off, the randomness was seeded by the current time, so if you clicked it pretty quickly the odds would be in favor of you getting the same number. I've changed it to double microtime , which from second to second is about a million possibilities. Still, there are a finite number of entries in the database so it is still possible to see duplicates, though a little more rare (I've seen about 4 duplicates in around 250+ tests).

As for the does not exist thing. I have a complicated sql statement pulling the actuall entry from the database but I'm using an older version of mysql which is giving me fits. I simplified it and now it works.

I've also added the ability to select from a random category like this: http://www.lit.org/random/10 (10 being the ID of the poetry category).

I'm about to go and add these to the tops of the page. If your in a category, it will say "Random Poem" or "Random Flash Fiction" .. if your not in a category it will just say "Random Reading" which I think sums it up pretty good.

Thanks for the great feedback. And if you see any more not founds, please let me know. I think I squashed that one but it's hard to say for sure, it being random and all ;)

( Posted by: Chrispian [Admin] On: November 20, 2002 )

Randomness
Not sure if this is important enough to be addressed, but, I clicked the 'Random-ness' button, and got part 14 of a story that was posted at the beginning of this year, and I couldn't for the life of me find the begnning...

This is akin to opening a book, right in the middle, and reading from there...Can anything be done to fix this?

Just asking,

--Jasmine

( Posted by: Jasmine [Member] On: November 22, 2002 )

re: randomness
Jasmine,

Not yet. The way we handle parts of stories doesn't lean itself to a solution. However I am working on changing how that's done. Also, at the bottom of every story there is a related stories box. Which should have additional parts if it was submitted correctly. You can also click the "more by AUTHORNAME" at the bottom and see everything they've posted, which would help.

I'll see what I can do to improve it in the mean time.

( Posted by: Chrispian [Admin] On: November 22, 2002 )

Quick Question
Jasmine,

Just a quick query, what was the story called...I'm just curious. Prolly going to get me killed someday, just like that cat.

Later,
Dras

( Posted by: Drastine [Member] On: November 22, 2002 )

Seeing Myself!
This feature is all well and good, but is there a way for you not to get your own poems turning up when you randomly search?

( Posted by: False Dawn [Member] On: July 19, 2003 )

I'm not seeing myself
You're the lucky one, False Dawn - I don't think I've hit a single one of my own pieces in all the time I've been using the random feature. :-o
I don't think it's a major problem: You can always just hit the random button again if you get one of your own.

( Posted by: Spudley [Member] On: July 19, 2003 )

True...
I know, but its a bit disconcerting reading a piece and thinking "hey that looks familiar", and then looking at who wrote it. I dunno, maybe it's just me. You know, now that you mention it, I dont think I have come across any of your poems either whilst randomly searching.

Oh well, just means you'll have to post more :)

( Posted by: False Dawn [Member] On: July 19, 2003 )





Add Your Comment

You Must be a member to post comments and ratings. If you are NOT already a member, signup now it only takes a few seconds!

All Fields are required

Commenting Guidelines:
  • All comments must be about the writing. Non-related comments will be deleted.
  • Flaming, derogatory or messages attacking other members well be deleted.
  • Adult/Sexual comments or messages will be deleted.
  • All subjects MUST be PG. No cursing in subjects.
  • All comments must follow the sites posting guidelines.
The purpose of commenting on Lit.Org is to help writers improve their writing. Please post constructive feedback to help the author improve their work.


Username:
Password:
Subject:
Comment:





Login:
Password: