I have created a custom XML template page.
Here is part of the code where the POST details XML is output:
<permalink><?php the_permalink() ?></permalink>
<title><?php the_title(); ?></title>
<time><?php the_time(‘F jS, Y’) ?></time>
<?php the_author() ?>
<data><![CDATA[<?php the_content(‘Read the rest of this entry »’); ?>]]></data>
<?php the_category(‘, ‘, ”,’XML’) ?><?php comments_popup_link(‘No Comments’, ‘1’, ‘%’, ”, ”,’XML’); ?>
note: ‘XML’ is an additional value I am passing to the functions which I have modified.
Now the questions is about the comments link. Using the code above, the default comments link is output.
I would like the comment-popup link to be displayed instead.
If I want to output a comment-popup link inside and XML, what should I be doing different?
Thank for any advice on this.
- The topic ‘Comment popup link in XML output’ is closed to new replies.