http://qs1969.pair.com?node_id=11135143


in reply to Voting inside longer subthreads with jump marks

I am using ajax voting, and have been for quite awhile now. The issue is, it’s like a lot of personal code: barely enough to do what I want—requires a local webserver which would not be relevant if the code were hosted—and not written with an eye toward cleanliness or testing or good error trapping or… It also requires da Inkster’s formatting stuff.

I can open it up to you if you want to look at it. I have been meaning to do a writeup of it all to post but like so many of these things, describing the code clearly and carefully is harder than writing the code and it would probably lead me to do a bunch of fixes I don’t really need just to share something less embarrassing. :P

I guess I’ll just post it. Of all the things I should be embarrassed about, it probably doesn’t crack the top 100. Maybe tonight.

Replies are listed 'Best First'.
Re^2: Voting inside longer subthreads with jump marks
by LanX (Saint) on Jul 18, 2021 at 23:22 UTC
    We talked about this in the past.

    Did you use the standard action which returns the whole page again or did you find a lightweight interface for this?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      I didn’t try to dig into any alternate endpoints that might exist on the site. I just smooth over what it does normally and return the whole page to the JS and let it parse/use it.