Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1433250

    I am trying to use RSS with mailchimp. I tested my feed url on Feed Validator, and it says that here is a blank line a the beginning of my html pages.
    I actually didn’t modify in my custom theme the header.php file. I only added a couple of page template to be used on two specific pages in my website. Plus I added some code snippets i my functions.php to customize the website. Have you any idea what I should check to fix the error?

    Thanks

    • This topic was modified 2 months, 4 weeks ago by elenapoliti.
    #1433406

    Hey Elena,

    Thank you for the inquiry.

    We’re not really sure about the source of the blank line, but your RSS feeds should remain readable. You can verify this by testing the feed using the following link: (see private field)

    Please keep in mind that the theme doesn’t generate or alter the RSS template.

    Best regards,
    Ismael

    #1433453

    Thanks Ismael. I asked it because I need to use the feed for Mailchimp and was reading how to use it. I tried to add the url
    https:///www.mysite.org/feed to Feed Validator and the response was that there was a problem with my feed that is unreadable, and was mentioning the first line. Anyway you rss.app gives a proper response, so it seems to work. Thanks

    Maybe I did something wrong. In case I have more problems I’ll contact you again

    #1433474

    Hi Ismael it’s still me. I don’t understand one thing. I see that if I enter in the rss.app the url
    https://www.mysite.org/feed it produces the feed with all my posts, but I need to use it with mailchimp, as from the explanation here below
    https://mailchimp.com/help/share-your-blog-posts-with-mailchimp/?utm_source=mc-kb&utm_medium=kb-site&utm_campaign=eepurl

    However if enter https://www.mysite.org/feed in the rss feed url, it says that there’s something wrong.
    I tried to enter the https://www.othersite.org/feed and Mailchimp can retrieve that, but not the one of this specific website
    Thanks for help

    • This reply was modified 2 months, 3 weeks ago by elenapoliti.
    #1433762

    Hi,

    Thank you for the update.

    Do you encounter the same “Blank line before XML declaration” error when you use the validator? Please review your functions.php file and make sure that there are no blank lines before or after the tags. We haven’t encountered this issue previously, so it’s not clear how the blank lines are being added to the rss file.

    Best regards,
    Ismael

    #1433774

    Thanks very much for the suggestions. I fixed the problem. It was a custom shortcode that was causing the issue (blank line after <?php tag. You can close the ticket

    #1433785

    Hi,

    Great! Glad to know that the issue has been resolved. Please feel free to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Empty first line in my html page’ is closed to new replies.