452 CHAPTER (Web design) 16 CHANGING THE LOOK OF
452 CHAPTER 16 CHANGING THE LOOK OF YOUR BLOG self-explanatory. For example, %comment_author% will be replaced with the comment author s name, and %comment_excerpt% will be replaced with the first few words from the comment. You could also have the plug-in output a link to the comment author s web site, if the comment writer provided one. The rest of the format parameter (taken from the plug-in author s example) puts the comment details in a list item with the link to the post on a separate line. Figure 16-16 shows the output. Figure 16-16. A different version of the recent comments list This version gives more information, but it seems rather cluttered and the most important information the name of the post and its link isn t easy to discern. So, let s make one more change to this code. You will remove the comment excerpt and just link to the comment, but with the post title. Surprisingly, although this plug-in has more than 40 replaceable tags, none of them match the desired format exactly. You could have the post title as a link to the post, or the post title as a link to the top of the comment section, but none have the post title as a link to the specific comment. However, you can create this format by using two separate replaceable tags, as shown in Listing 16-12.
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.