ApacheCon US

So there has finally been some movement on the ApacheCon US site.  The big news, at least for me is that we have Cory Doctorow keynoting.  And oh yeah, if you are going to be in the San Diego area the 10 - 14th of December and would like to get a cup o’ joe let me know.  I am going to be speaking again, this time on XSLT.

  1. personal avatar Ka-Meng
    Stroll on over and visit Ka-Meng
    March 1, 2007

    Hi Chris, this is totally non-post related comment but rather I just like to know how do you add the permalink and comment link right after the aside post. Currently WP automatically pads the_content with opening and closing paragraph tags which makes it impossible to do what you do. Can you let me in on your secret? Thanks!

  2. personal avatar Chris J. Davis
    Stroll on over and visit Chris J. Davis
    March 1, 2007

    It is custom code that isn’t using the_content() to echo out the post text. It is the same code that is running in K2 if I remember correctly.

  3. personal avatar Ka-Meng
    Stroll on over and visit Ka-Meng
    March 1, 2007

    The code that is in K2 that displays the post is this:

    <?php the_content("Continue reading '" . the_title('', '', false) . "'"); ?>

    I’m not a full fledged PHP coder, so I don’t get the code above. All I know is that the paragraph tags seems to be included in the_content. I have this in my code:

    <?php /* Displays content */ the_content("Continue reading '" . the_title('', '', false) . "'"); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title='Permanent Link to "<?php the_title(); ?>"'>#</a>
    <span class="metalink"><?php comments_popup_link('0<span> comments</span>', '1<span> comment</span>', '%<span> comments</span>', '', ' '); ?>
    <img src="<?php bloginfo('template_url'); ?>/images/comment.gif" class="icon" />
    <?php edit_post_link('edit','',''); ?>

    However, the above code results in the permalink on the next line as the paragraph tags are padded. Would it be too much to ask if you could show me how you do it on your site?

    P/S: Apologies if this is not the appropriate medium for asking questions. Perhaps I should post this on your forum?

    Thanks Chris!

  4. personal avatar Frank
    Stroll on over and visit Frank
    March 1, 2007

    Hi Chris!
    Will there be an abstract of your speech at ApacheCon US?
    I try to serve basic XML/XSLT knowledge on my personal website. And while searching feeds for this topic I reached here.
    I’m a designer, but I use XSLT to for various occasions. Saying you where talking about XSLT made me curious.

Leave a Reply