+ Reply to Thread
Results 1 to 2 of 2

Thread: Correct index.php

  1. #1

    Default Correct index.php

    WP 2.8.5
    cutlin2.8.5 3 col split 1.4-3cs

    Is this the correct index.php code?
    <p class="tagged"><span class="add_comment"><?php comments_popup_link('&rarr; No Comments', '&rarr; 1 Comment', '&rarr; % Comments'); ?></span><strong>Tags:</strong> <?php the_tags('','&middot;',''); ?></p>
    <div class="clear"></div>

    I'm having problems with my rss feed not validating.
    errors:

    This feed does not validate.

    *

    line 17, column 88: Invalid character in a URI: http://www.louisdallaraphotoblog.com...mn-reflection/ #comments (5 occurrences) [help]

    ... /golden-red-autumn-reflection/ #comments</comments>
    ^

    *

    line 35, column 90: Invalid character in a URI: http://www.louisdallaraphotoblog.com...mn-reflection/ /feed (5 occurrences) [help]

    ... .com/golden-red-autumn-reflection/ /feed</wfw:commentRss>

  2. #2
    Join Date
    Feb 2009
    Posts
    605

    Default

    It should be correct code.

    I think the feed validation is having problems with the URL, as it does say "Invalid character in a URI".

    http://validator.w3.org/feed/check.c...umn-reflection

    I don't think a URL format has anything to do with the theme.



    Quote Originally Posted by ldallara View Post
    WP 2.8.5
    cutlin2.8.5 3 col split 1.4-3cs

    Is this the correct index.php code?
    <p class="tagged"><span class="add_comment"><?php comments_popup_link('&rarr; No Comments', '&rarr; 1 Comment', '&rarr; % Comments'); ?></span><strong>Tags:</strong> <?php the_tags('','&middot;',''); ?></p>
    <div class="clear"></div>

    I'm having problems with my rss feed not validating.
    errors:

    This feed does not validate.

    *

    line 17, column 88: Invalid character in a URI: http://www.louisdallaraphotoblog.com...mn-reflection/ #comments (5 occurrences) [help]

    ... /golden-red-autumn-reflection/ #comments</comments>
    ^

    *

    line 35, column 90: Invalid character in a URI: http://www.louisdallaraphotoblog.com...mn-reflection/ /feed (5 occurrences) [help]

    ... .com/golden-red-autumn-reflection/ /feed</wfw:commentRss>

+ Reply to Thread

Similar Threads

  1. Greater separation of posts/columns on index page?
    By scubydu in forum Posts, Pages, Comments
    Replies: 8
    Last Post: 09-30-2009, 06:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts