简体   繁体   English

Feed RSS未针对W3验证程序进行更新

[英]Feed RSS not updating for W3 validator

I have a problem with my feed rss actually. 我的feed rss实际上有问题。

I did many tests, and i have to modify my feed rss view (customize it). 我做了很多测试,并且不得不修改feed rss视图(对其进行自定义)。

Here it's my feed rss : http://agro-media.fr/?feed=email 这是我的feed rss: http : //agro-media.fr/? feed= email

When you are in the link, you see there is no apparent problems. 当您在链接中时,您不会看到明显的问题。

However, when you check this link in W3 validator or if you choose this feed in mailchimp, he says "THIS IS NOT A VALID RSS FEED, because there is on the top of the feed this : 但是,当您在W3验证器中检查此链接或在mailchimp中选择此提要时,他说“这不是有效的RSS提要,因为在提要的顶部有以下内容:

link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>

BUT NO WAY. 但是没有办法。 I deleted it before... 我之前删除了它...

I already did many things like : - clear WP Rocket cache - clear Varnish cache - clear chrome cache - Server reboot 我已经做了很多事情,例如:-清除WP Rocket缓存-清除Varnish缓存-清除chrome缓存-服务器重启

I don't have more ideas, maybe you can help me ... 我没有更多的想法,也许你可以帮我...

thanks a lot guys, have a good day. 谢谢大家,祝你有美好的一天。

Thank you @Dmitry Kurilsky, but i found the problem : 谢谢@Dmitry Kurilsky,但我发现了问题:

App like feedvalidator or w3c feed validator have cache, and they're updated after a while. 诸如feedvalidator或w3c feed验证器之类的应用都有缓存,并且会在一段时间后进行更新。

Plus : I merged my feed with mailchimp, and the update between the both is very intense --> I have to wait few hours until the change (synchronization) on the feed make effect. 另外:我将feed与mailchimp合并,两者之间的更新非常激烈->我必须等待几个小时,直到feed上的更改(同步)生效。

Sorry for my english tho. 对不起,我的英语水平。

Your server software seems to act differently when different user-agent header is present. 当存在不同的用户代理标头时,服务器软件的行为似乎有所不同。 I tried curl ing your feed URL and got something in binary-like format. 我尝试curl您的Feed URL,并获得了类似二进制格式的内容。 When I modified my user-agent like so: 当我这样修改用户代理时:

curl -A "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5" www.agro-media.fr/?feed=email

I got a correct response that starts like this 我得到了一个正确的回应,像这样

<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
    <title>Agro Media</title>

Unfortunately, I can't help you further, although I've found the cause of your problem. 不幸的是,尽管我已找到造成您问题的原因,但我无法再为您提供帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM