November 15, 2003

Help with comment permalinks

OK, I wanted the comments block on the home page to link to recent comments "filchyboy on Is linking like sex" etc. The problem is that the comment links just go to the entry and don't scroll down automatically to the specific comment's permalink.

I was poking around the templates documentation and I saw that I need to concatenate that CommentLinkID or something to the end of the individual entry URL but I'd rather copy a working example than figure out for myself what padding is needed if any, etc.

So then I thought I'd look at the individual entry template on the premise that it's already putting permalink "name" attributes on the comments and that I could steal the formatting from that, but it appears that my individual archive template isn't including comment permalinks (correct me if I'm wrong), so I need help with two thing:

  1. Add comment permalinks to the permanent archive page
  2. Fix the comment links on the home page to go directly to the indicated comment

These are both what I would consider interim fixes, maintenance to the existing templates that I don't want to hold up in the process of developing new templates.

Posted by xian at November 15, 2003 12:50 PM

go to my front page @ culturekitchen and see if what i have is what you want.

Posted by: liza at November 15, 2003 1:39 PM

Yes, I think so, in that the links from the names seem to have comment permalinks on them (#c08 or whatever). Howeve,r when I click through, I still end up at the top of the individual article and not scrolled down to the specific comment, so it seems like I need to steal your code/tags for the home page links, but that maybe RFB and CK both need name tags added to their individual archive templates.

Posted by: xian at November 15, 2003 1:45 PM
Other incoming links (via Technorati)

Hosted by Mediajunkie.

Sponsors
On this day in 2005
Blogging from New Orleans: My friends Steve and Elizabeth are blogging the reconstruction of New Orleans from within the city: Inside the Bowl. We stay with them when we go to Jazz Fest (nearly every year), and we were very worried about them when the flood and hurricane hit. They evacuated successfully and their house... (Storytelling)
On this day in 2002
bIPlog goes live: The weblog of the Berkeley journalism school Intellectual Property class, bIPlog went live today. It's a group weblog. The focus of the class is on intellectual property. The weblog is merely one form of expression for the journalistic efforts of the class in covering the "beat" of intellectual property in these... (Weblog Concepts)
Xtra! Xtra! Read all about it...: [Andrew Bayer]So I'm scrolling down the Salon main page (just renewed my Premium subscription - and why haven't you? Hmmm...?) when I see something a little different: Salon Blogs Scott Rosenberg Wall Street Journal's $200,000-a-year spammerPlus: "Xtreme" blogging! [The Raven] Start your own blog | Recently updated blogs Ain't that something... (Salon Bloggers)
Independent journalist blogging his way back to Iraq: Former AP and New York Daily News reporter Christopher Allbritton publishes the Back to Iraq blog, through which he is attempting to raise money to send himself back to northern Iraq. Here's part of his pitch soliciting support for his independent journalistic mission: This summer I went stumbling around Iraqi Kurdistan,... (Weblog Concepts)
ASPEN MAGAZINE interpreted for the Web: Small world department, my cousin A.P. Crumlish, who runs bend of bay, forwards me this Ubuweb announcement about Andrew Stafford's adaptation of ASPEN MAGAZINE for the Web. Readers of this space will recall that Stafford is also responsible for the brilliant Making Sense of Marcel Duchamp.... [artsflow]... (Memes)
'Coffeehouse' reviewed five years down the road: Wred Fright at Babel Magazine writes a round up of books derived from online e-zine publishing in From A to Zine, but finds most of the content of Coffeehouse unremarkable.... [artsflow]... (Miscellany)