Forums

[resolved] Pls help - Posts RSS feed blank (7 posts)

  1. 200feet
    Member
    Posted 5 years ago #

    Hi all.
    My RSS feed for my posts appears to be broken, yet the RSS feed for comments seems to be OK.
    The Feeds are in the right hand sidebar at 200feet.com/blog.
    The posts RSS feed returns a blank page.
    If anyone can help I would appreciate it.
    I am not a programmer and am just learning about these things, but i do have a good basic understanding of wordpress, so pls use terms I would understand - thx.

  2. alphaphi
    Member
    Posted 5 years ago #

    the link is missing a directory (or code call)
    I found your feed at
    http://www.200feet.com/blog/feed/rss

    the link says
    http://www.200feet.com/blog/feed/

  3. 200feet
    Member
    Posted 5 years ago #

    Ah - that is the RSS feed - the one missing is the RSS2 feed with the enclosures i think.
    the header has both URLs listed in it as 'alternate's.
    any other thoughts?

  4. alphaphi
    Member
    Posted 5 years ago #

    The alternates
    mine says:
    <link rel="alternate" type="text/xml" title="RSS 2.0"
    yours says:
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0"
    That would be called from header.php

    it could also be the rss 2.0 call in sidebar.php
    should say:

  5. " >Entries RSS
  6. Atleast what mine says, and works.

  • alphaphi
    Member
    Posted 5 years ago #

    <li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>

    The page ate the code....lol

    this is from sidebar.php

  • 200feet
    Member
    Posted 5 years ago #

    Hi alphaphi - thanks for getting back to me.
    OK - this is where i might get a bit lost....
    The code in my sider bar is as follows....

    <li class="feed"><a title="RSS Feed of Posts"
     href="<?php bloginfo('rss2_url'); ?>">
    Posts RSS</a></li>
          <li class="feed"><a title="RSS Feed of Comments"
    href="<?php bloginfo('comments_rss2_url'); ?>">
    Comments RSS</a></li>

    ....so i think i have the right php call in there - and the 'Comments' feed works when the 'Posts' feed is just blank.
    I am not sure if changing the 'type' tag in the header would make a difference to the feed being blank on clicking the link, as it would just change how the feed might be read by a reader and not how it is generated, but i may be way wrong there so pls advise.
    Also, when i try and validate the feed i get the following response....

    Sorry
    This feed does not validate.
    *
    line 1, column 0: XML parsing error: <unknown>:1:0: no element found [help]
    In addition, this feed has an issue that may cause problems for some users. We recommend fixing this issue.
    *
    Feeds should not be served with the "text/html" media type [help]
    Source: http://www.200feet.com/blog/feed/
    1.

    so it truly does seem to be blank.
    what might cause a feed to do this?

  • 200feet
    Member
    Posted 5 years ago #

    OK - fixed it!
    phew!
    I recently installed the security update release for WP2.1.3 and when i uploaded the new files it must have corrupted wp-rss2.php - the filesize was all wrong when i looked at it.(previously i was just looking to make sure it was there)
    i just reuploaded wp-rss2.php and it fixed itself.
    thanks for your time on this alphaphi - sorry it was something so simple.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags