RSS FEED Not Validated

resolved (11 posts) (4 voices)

  1. good2gohealth
    Member

    Hey guys,

    I've tried adding my RSS FEED to FEED burner and it's not validated. I've also tried adding it on my awebber but it's valid.

    Here's my feed:
    http://www.gooddietplanreview.com/feed/
    And here's the feed validator:
    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.gooddietplanreview.com%2Ffeed%2F

    Is this a problem with the theme? The wordpress website? or the way I've programmed the website?

    Thanks for the help.
    Rahal

    Posted 3 months ago #
  2. Webtreats
    Support

    Hi Rahal,

    It looks like a facebook plugin you have activated is causing your feed not to validate.

    If you look at our demo server you can see that our feed does validate, but with some "Recommendations".

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fthemes.mysitemyway.com%2Finfocus%2Ffeed%2F

    If you'd like to clear up the recommendation messages with inFocus just replace the following file on your server "lib/shortcodes/23-social.php" with the .zip file attached to this post (don't forget to unzip it).

    Attachments

    1. 23-social.zip (5.1 KB, 2 downloads) 3 months old
    Posted 3 months ago #
  3. aribibi
    Member

    I got the same problem, my rss feed link/page was not working. I have reinstalled a clean WP+updated to Infocus 2.8+plugins+cleaned up my database. When the theme was not activated I could see my rss feed, has soon I reactivate it => error. Finally (thanks Opera browser) I realized that was a problem with a certain article and ... Galleria. I have deleted the gallery and my rss feed is back :)

    Posted 3 months ago #
  4. good2gohealth
    Member

    Hey Webtreats,

    I've added the file in the winzip folder. it's cleared up a a lot of yellow text on the feed validator. I don't have a facebook plugin installed.

    Installed Plugins:

    -CloudFlare
    -Iframe to Embed
    -Revision Control
    -W3 Total Cache
    -Wordpress SEO
    -WP-DB Manager

    I've had trouble with cloudflare in the past For instance not being able to access my FTP because I had to redirect my DNS.

    What do you think?

    Rahal

    Posted 3 months ago #
  5. Webtreats
    Support

    Hi Rahal,

    This is the line of code that is causing your feed not to validate.

    <link href="http://www.gooddietplanreview.com/plugin-facebox/defunkt-facebox-cbe32e1/src/facebox.css" media="screen" rel="stylesheet" type="text/css" />

    I double checked and our theme definitely doesn't inject this code.

    If it's not a plugin I'm not sure how the code is getting injected into your page, but if you can find out how the above code is getting injected and it's in a .php file, wrapping it in WordPress function is_feed() should resolve it:

    http://codex.wordpress.org/Function_Reference/is_feed

    Posted 3 months ago #
  6. good2gohealth
    Member

    Thanks a lot Webtreats for narrowing it down, but i can't find the.php where this code can be found.

    I have no idea how to find this code line.

    Posted 3 months ago #
  7. Webtreats
    Support

    Hi good2gohealth,

    It looks like it's being injected right after the closing </html> tag on your site.

    Below is the full code:

    <link href="http://www.gooddietplanreview.com/plugin-facebox/defunkt-facebox-cbe32e1/src/facebox.css" media="screen" rel="stylesheet" type="text/css"/>
    <script src="http://www.gooddietplanreview.com/plugin-facebox/defunkt-facebox-cbe32e1/src/facebox.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(document).ready(function($) {
          $('a[rel=facebox] , div[id=intro_inner] .button_link').facebox({
            loadingImage : 'http://www.gooddietplanreview.com/plugin-facebox/defunkt-facebox-cbe32e1/src/loading.gif',
            closeImage   : 'http://www.gooddietplanreview.com/plugin-facebox/defunkt-facebox-cbe32e1/src/closelabel.png'
          });
        });
      </script>

    It also looks like it's pulling images, javascript & CSS files from the folder "plugin-facebox" on your server.

    Hope that helps narrows it down.

    Posted 3 months ago #
  8. good2gohealth
    Member

    Oh man! I know what that code is from. A while back when i started the website i asked someone to program me a sign up box (this was before i knew there was a widget for EVERYTHING on wordpress) he did some jquery code. It was programmed in messed up things in the long run.

    I found the folder plugin-facebox which is where it gets the images from but i can't find the .php file with THAT particular code in.

    If it's at the end of my website's tag </html> where would i be able to find that? I can delete it or alter it when i find it.

    Thanks

    Posted 3 months ago #
  9. Elliott
    Support

    Check in /wp-content/themes/[your_theme]/footer.php near the bottom to see if it's there.

    Posted 3 months ago #
  10. good2gohealth
    Member

    Hey Elliot,

    Thanks for the suggestion i've tried the footer.php file and couldn't find the code in there. Also all of the .php files inside the infocus root folder.

    I'm stumped as to where this code is located.

    Posted 3 months ago #
  11. Elliott
    Support

    It would probably be best to get in contact with your freelancer.

    Posted 3 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme