• Resolved onurkk

    (@onurkk)


    The error I get in rss is: Invalid HTML: Unexpected end tag (p). Ignored and <content:encoded><![CDATA[<p>Ufuk Gazetesi<br />

    I also get the following error on google news: You haven’t added content to this section yet.

    I need help

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Onurkk,

    The Google News Publisher Center can’t process feeds that have that error in them.

    The error is not related to GN Publisher, it’s something in your html in the body of your article. There may be another plugin that is adding a paragraph(p) start or end tag where it doesn’t belong.

    I just tested and it looks like you either fixed that or the article that the error was on has dropped off the feed due to newer articles being added.

    If it happens again, look at where the RSS validator is saying there is a problem. It won’t tell you exactly where the extra p tag is, but if you can tell me what article it is pointing at, then I can take a look at that page and tell you where the error is. I might not be able to tell you what plugin is causing it, but we should be able to narrow it down so that you can do some testing,

    Chris

    Thread Starter onurkk

    (@onurkk)

    It’s probably due to the rank math plugin. But I can’t uninstall the plugin as it changes the category structure. When I activate the plugin, “<content:encoding><![CDATA[<p><a rel=”nofollow” is added.
    What do you think I should do?

    • This reply was modified 4 years, 1 month ago by onurkk.
    • This reply was modified 4 years, 1 month ago by onurkk.
    Thread Starter onurkk

    (@onurkk)

    For example, at this link https://www.ufukgazetesi.net/gokce-kirgiz-sandiktakilerden-ask-uykusu-dedi.html Rss validator shows error when I disable rank math. Error message if rank math is enabled: <content:encoded><![CDATA[<p><a rel=”nofollow”‘

    • This reply was modified 4 years, 1 month ago by onurkk.
    • This reply was modified 4 years, 1 month ago by onurkk.

    Okay, I see an example now.

    I don’t think this is related to MathRank.

    If you look at:

    view-source:https://www.ufukgazetesi.net/gokce-kirgiz-sandiktakilerden-ask-uykusu-dedi.html

    (I can’t get that link to view-source to work, copy the whole line above and paste it in the your browsers url bar)

    On line 1170 (that might change if you have some dynamic content), right after the adsense ad, there is a ending </p> tag that doesn’t have a start <p> tag.

    Then a couple of lines down from that (currently 1173) there are seven ending </p> tags in a row: </p></p></p></p></p></p></p>

    I don’t know what plugin/theme or functions.php code might be adding that in, but that’s what is causing the RSS validation error, perhaps some code or plugin that’s related to the adsense ads would be my first guess since it’s next to the adsense code insertion,

    Chris

    Thread Starter onurkk

    (@onurkk)

    Hi, I re-edited the .htaccess file and the problem went away.I guess it was a temporary solution, I started getting the same error again.

    I disabled all plugins, removed adsense codes, but the problem is not solved. I guess .htaccess is a coincidence.

    Thank you for your interest

    • This reply was modified 4 years, 1 month ago by onurkk.
    • This reply was modified 4 years, 1 month ago by onurkk.

    Yeh, I’m not sure how editing .htaccess would fix this, right now the end p tags are still there. The feed in the Publisher Center may have started working if the articles with the extra p end tags dropped off the feed due to newer articles being added,

    Chris

    Thread Starter onurkk

    (@onurkk)

    I found the problem, some of the news comes via rss via cyber seo plugin. There is a problem with news uploaded via this plugin. I think I can pull my news using another plugin. Any idea about such a plugin?

    Sorry, I don’t have any familiarity with that type of plugin,

    Chris

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Invalid HTML’ is closed to new replies.