Jun. 12th, 2018

ari_linn: (warrior - normal)
[personal profile] ari_linn

Can anyone tell me/point me to the source code where thread ids in comment links are generated? Especially if all I have is data from export_comments.bml page? For example, when I visit https://www.dreamwidth.org/export_comments.bml?get=comment_body&startid=1 , I can see the following comment:

<comment id="123" jitemid="234" posterid="345" parentid="456">
    <body>My Comment</body>
    <date>2018-06-08T00:58:54Z</date>
</comment>

But if I go to the actual post page, this comment will be displayed with a link to it. The link looks like this: https://ari-linn.dreamwidth.org/%POSTID%.html?thread=%SOMERANDOMNUMBER%#cmt%SOMERANDOMNUMBER%. Where does %SOMERANDOMNUMBER% come from?

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

June 2025

S M T W T F S
1234567
89101112 1314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 19th, 2025 10:15 pm
Powered by Dreamwidth Studios