Error with feed on importer
-
I get this when trying to save the feed import in xenforo
There was a problem requesting the feed. Error message: DOMDocument cannot parse XML: Premature end of data in tag rss line 1
No problem with the post feed in xenforo if I disable the plugin in wordpress
-
The plugin works by modifying what’s included in the feed. It doesn’t actually generate the feed itself and leaves that up to WordPress to handle. So I’m not sure what would cause such an error especially at line 1 which is not a part of the feed that would be impacted by what my plugin does.
Maybe run the feed through a feed validator to get more details about the error?
Hmmm, so maybe it is something in the pages themselves or conflict with another plugin?
tried validading and yes, appears to be issues with pages.
Sorry This feed does not validate. ? line 953, column 0: XML parsing error: <unknown>:953:1: no element found [help]? ? ?? In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations. ? line 62, column 0: style attribute contains potentially dangerous content: position (2 occurrences) [help]?</ul> ? ? ? ? ? ? ? ? ? ? ? ? ? ?</div> ? ?? ? line 85, column 0: Non-html tag: sep (4 occurrences) [help]? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?</a> ? ?? ? line 128, column 0: content:encoded should not contain aria-hidden attribute (2 occurrences) [help]? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<a class="wpf-sb-button wpf-sb-i ... ? ?? ? line 132, column 0: content:encoded should not contain onclick attribute (2 occurrences) [help]? ? ? ? ? ? ? ? ? ? ? ? ?<div class="wpf-sbw wpf-sbw-gg"> ? ?? ? line 201, column 3: content:encoded should not contain relative URL references: # (15 occurrences) [help]?]]></content:encoded> ? ???^?? ? line 215, column 0: content:encoded should not contain srcset attribute (27 occurrences) [help]? <a href="https://example.com/product/story-saxophone" class ... ? ?? ? line 215, column 0: content:encoded should not contain sizes attribute (27 occurrences) [help]? <a href="https://example.com/product/story-saxophone" class ... ? ?? ? line 217, column 0: content:encoded should not contain data-quantity attribute (23 occurrences) [help]?</a><a href="/feed?add-to-cart=2482" data-quantity="1" class="button product ... ? ?? ? line 217, column 0: content:encoded should not contain data-product_id attribute (23 occurrences) [help]?</a><a href="/feed?add-to-cart=2482" data-quantity="1" class="button product ... ? ?? ? line 217, column 0: content:encoded should not contain data-product_sku attribute (23 occurrences) [help]?</a><a href="/feed?add-to-cart=2482" data-quantity="1" class="button product ... ? ?? ? line 217, column 0: content:encoded should not contain aria-label attribute (23 occurrences) [help]?</a><a href="/feed?add-to-cart=2482" data-quantity="1" class="button product ... ? ?? ? line 585, column 0: content:encoded should not contain data-mode attribute [help]?<div class="arve-wrapper" data-mode="normal" data-provider="youtube" id="arv ... ? ?? ? line 585, column 0: content:encoded should not contain data-provider attribute [help]?<div class="arve-wrapper" data-mode="normal" data-provider="youtube" id="arv ... ? ?? ? line 585, column 0: content:encoded should not contain itemscope attribute [help]?<div class="arve-wrapper" data-mode="normal" data-provider="youtube" id="arv ... ? ?? ? line 585, column 0: content:encoded should not contain itemtype attribute [help]?<div class="arve-wrapper" data-mode="normal" data-provider="youtube" id="arv ... ? ?? ? line 586, column 0: content:encoded should not contain iframe tag [help]?<div class="arve-embed-container" style="padding-bottom:56.250000%"><iframe ?...??
Ah. It makes more sense that it’s the content in the pages. As I mentioned, the plugin doesn’t actually build the feed. It tells WordPress to include pages during the feed building process and then it’s up to WordPress to build a valid feed. So I’m guessing something in the pages is different than what WordPress is expecting.
Yes, there’s all kinds of things, but especially relative links (that I can fix) and woocommerce pages that I need to find a way to exclude.
But also I think a few plugin conflicts ??
I need to find a way to exclude specific pages.
Good news, it looks like there are not so many errors just warnings so it could possibly be sorted if I upgrade to your Pro version
Does that allow exclusion of Woocemmerce products or specific categories?
I’m glad things are looking promising.
There is no way to restrict by category with this plugin (free or pro).
Please also note that questions about the pro version are not allowed on this forum (www.remarpro.com rules). If you have additional questions about the pro version, post them here:
https://infolific.com/technology/software-worth-using/include-pages-in-wordpress-rss-feeds/
- The topic ‘Error with feed on importer’ is closed to new replies.