Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
comment form in URL Developer Diary
By Defect , Section Dev Notes []
Posted on Fri Dec 08, 2000 at 10:19:06 AM PST
Someone in #k5 last night (Thur 12-07-00) asked if there was a way to change the url to have the comments take on a certain form so that a link to a story can be viewed with the comment sorting/mode/etc something other than default. The specific example was "when linking to a story, can the url make the comments nested?" I just thought i'd post my replies here for other's who might have use for them.

Adding the following expressions to the GET string will allow links to form comments in a way other than default.

commenttype=
mixed
topical
editorial
all
commentmode=
threaded
minimal
nested
flat
commentrating=
unrate_highest
highest
lowest
dontcare
commentorder=
newest
oldest
ratingchoice=
yes
no

So this link

naked URL
/?op=displaystory&sid=2000/12/4/6317/28950

will take you to the story"Scoop.kuro5hin.org returns at last!" with the comment sorting as your default while this link

modified URL
/?op=displaystory&sid=2000/12/4/6317/28950&commentmode=minimal&commentorder=oldest

will take you to the story with the comments ordered oldest first in a traditional bulletin board format (minimal).

One thing to note though, all the comment mode changes in the url are sticky. So any other stories you visit will be minimal/oldest first until you change it so keep in mind what type of people will be using the link. If they're mostly people who already go to your scoop site, then it could just be annoying if overused, but it could be handy with one time links or if there is some other reason for it.

These settings are usually set with a POST command so you wouldn't normally see them in the URL, but there they are if you need them.
< Search DoS fix | Create an Account when already logged in? >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· Kuro5hin
· naked URL
· modified URL
· Defect's Diary

Story Views
  2 Scoop users have viewed this story.

Display: Sort:
comment form in URL | 24 comments (24 topical, 0 hidden)
Thing to note (none / 0) (#1)
by rusty on Fri Dec 08, 2000 at 07:38:13 PM PST

That reminded me that GET args and POST args are treated identically by Scoop. So, in general, anything you can do with a post, you can also do with a cleverly built URL (barring the length restriction on GET of course). Just something to be aware of.



testing (none / 0) (#2)
by Defect on Fri Dec 15, 2000 at 10:17:45 AM PST

testing



great (none / 0) (#3)
by rozirose124 on Mon Apr 09, 2018 at 05:41:48 PM PST

This is very interesting, but it is necessary to click on this link: Unlock Her Legs



great (none / 0) (#4)
by rozirose124 on Mon Apr 09, 2018 at 06:31:12 PM PST

Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. Turmeric



great (none / 0) (#5)
by rozirose124 on Wed Jun 06, 2018 at 03:27:19 AM PST

I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page! playstation 4 skins



great (none / 0) (#6)
by rozirose124 on Wed Jun 13, 2018 at 03:50:53 PM PST

Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me. web design



great (none / 0) (#7)
by rozirose124 on Thu Jun 14, 2018 at 04:30:48 PM PST

It is fine, nonetheless evaluate the information and facts around this correct. project free tv



great (none / 0) (#8)
by rozirose124 on Sat Jun 30, 2018 at 07:34:44 AM PST

These things are very important, good think so - I think so too... Analysis of difference sites



great (none / 0) (#9)
by rozirose124 on Sun Jul 01, 2018 at 06:50:59 AM PST

The most interesting text on this interesting topic that can be found on the net ... Send flowers to Munich



great (none / 0) (#10)
by rozirose124 on Sun Jul 08, 2018 at 07:23:53 AM PST

During this website, you will see this shape, i highly recommend you learn this review. international call forwarding



great (none / 0) (#11)
by rozirose124 on Tue Jul 31, 2018 at 09:48:39 AM PST

I read this article. I think You put a lot of effort to create this article. I appreciate your work. hutch for corner computer



great (none / 0) (#12)
by rozirose124 on Fri Sep 21, 2018 at 01:16:31 PM PST

I propose merely very good along with reputable data, consequently visualize it: babies toys uk



great (none / 0) (#13)
by rozirose124 on Sat Sep 22, 2018 at 02:36:07 PM PST

This post is really magnificent. I really like this post. It is one of the best posts that I ve read in a long time. Thanks a lot for this really good post. I really appreciate it! business plan books



great (none / 0) (#14)
by rozirose124 on Thu Oct 04, 2018 at 08:07:56 AM PST

I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful. toll free conference calls



great (none / 0) (#15)
by rozirose124 on Sun Oct 14, 2018 at 06:52:03 AM PST

Cool you write, the information is very good and interesting, I'll give you a link to my site. Ristrutturazioni a vigonovo



great (none / 0) (#16)
by rozirose124 on Tue Oct 16, 2018 at 03:15:03 PM PST

I've proper selected to build a blog, which I hold been deficient to do for a during. Acknowledges for this inform, it's really serviceable! Hyaluronic Acid Serum



great (none / 0) (#17)
by rozirose124 on Tue Oct 16, 2018 at 03:17:31 PM PST

You completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog. Andrew Kyriacou Press Release



great (none / 0) (#18)
by rozirose124 on Mon Nov 05, 2018 at 12:30:11 PM PST

There you can download for free, see the first of these data. รถยนต์



great (none / 0) (#19)
by rozirose124 on Mon Nov 12, 2018 at 02:03:52 AM PST

Can nicely write on similar topics! Welcome to here you'll find out how it should look. healthy diet to lose weight fast plan



great (none / 0) (#20)
by rozirose124 on Sun Dec 02, 2018 at 05:22:27 AM PST

This content is simply exciting and creative. I have been deciding on a institutional move and this has helped me with one aspect. Agen Judi Bola



great (none / 0) (#21)
by rozirose124 on Mon Dec 17, 2018 at 05:59:25 AM PST

This post is very simple to read and appreciate without leaving any details out. Great work! tree services in My area



great (none / 0) (#22)
by rozirose124 on Wed Dec 26, 2018 at 02:38:29 PM PST

I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful. Crossbow Deals Online



great (none / 0) (#23)
by rozirose124 on Thu Mar 21, 2019 at 08:46:08 PM PST

Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign ! best smartwatch



Hi (none / 0) (#24)
by annajohnsn on Mon Apr 01, 2019 at 07:31:37 AM PST

As the name implies, Scoop is good to dig the information. There are lots of sites, projects, notes, codes are available here. dermal fillers Also they provide news,articles,forums,etc.It's a great floor to learn many things. As a student, this site is very helpful for me. Thanks a lot for that.   



comment form in URL | 24 comments (24 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search