Daniel W. Ottey (dottey) wrote in lj_dev,
Daniel W. Ottey
dottey
lj_dev

  • Mood:

Patch ready to add "&nc=xx" to the end of talkread URLs

I've been working in my goathack on the userprop to add &nc=xx (where xx is the total number of comments for the entry) to the end of talkread URLs (so that those links become "unvisited" if new comments are added).

This user option will toggle whether or not &nx=xx is added at the end of each talkread URL the users comes across while he is logged in. It does not affect the user's journal, rather it affects the journals the user sees.

I'm pretty sure the patch is ready, though I've never made or submitted a patch before. I think opiummmm helped me out enough with that though. I've tested the changes myself, and they seem to work. But I know bradfitz doesn't like to even look at patches without them being checked and tested first. This is where you guys come in.

Please check out my goathack ... Create a new user, and toggle the following option in editinfo.bml.
Use nc==xx URLs on talkread links
Check this if you want your browser to display comment links with new comments as unvisited.
This should work on the lastn view as well as the friends view. The text may be edited at bradfitz's discretion.

The patch file is available here:
http://goathack.livejournal.org:8021/patches/numcomments-userprop.patch

Please post comments so that bradfitz knows its been tested, and let me know if you come across any problems.

...And, if lj_dev was the wrong place to post this, then I'm sorry...
Subscribe

  • LJ Picture Uploader

    Hello, guys! Lately I made a program to upload pictures on LJ server ( Page on SoftPedia). It's quite simple at look and same simple in use, so hope…

  • Installing Livejournal: location of files and importance of Subversion

    I wish to install Livejournal for my website. I tried my best, but I could not find a page or location from where I can download the LJ installation…

  • new Oragir v0.2 beta

    oragir v0.2 beta the second beta version is released. there are following features and changes: can download the whole journal from LJ server and…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 23 comments

  • LJ Picture Uploader

    Hello, guys! Lately I made a program to upload pictures on LJ server ( Page on SoftPedia). It's quite simple at look and same simple in use, so hope…

  • Installing Livejournal: location of files and importance of Subversion

    I wish to install Livejournal for my website. I tried my best, but I could not find a page or location from where I can download the LJ installation…

  • new Oragir v0.2 beta

    oragir v0.2 beta the second beta version is released. there are following features and changes: can download the whole journal from LJ server and…