服务器端介绍空白行! [英] blank line introduced on server side!?

查看:87
本文介绍了服务器端介绍空白行!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Fedora Core 5上使用Wordpress 2.0.6。RSS源不适用于
http://survivalofthesickestthebook.com/blog/?feed=rss2


当我使用Feed验证器时
http:// feedvalidator。 org / check.cgi?u ...%3Ffeed%3Drss2


我在第一行看到一个空白区域,使页面无法查看。没有

我的文件顶部有空格,我不知道为什么页面是

顶部有空格。


服务器端会在

xml语句之前的第一行引入一个空格?


谢谢!

I am using Wordpress 2.0.6 on Fedora Core 5. An RSS feed is not working for
http://survivalofthesickestthebook.com/blog/?feed=rss2

When I use feed validator
http://feedvalidator.org/check.cgi?u...%3Ffeed%3Drss2

I see a blank space on line one which renders the page unviewable. none of
my files have a space at the top, and I have no idea why the page is being
served with a space at the top.

what on the server side would introduce a blank space on line one before the
xml statement?

thank you!

推荐答案

*卖家在comp.text.xml中写道:
* Seller wrote in comp.text.xml:

>我正在使用在Fedora Core 5上的Wordpress 2.0.6。一个RSS提要不适用于
http://survivalofthesickestthebook.com/blog/?feed=rss2

当我使用Feed验证器时
http://feedvalidator.org/check.cgi?u ... %3Ffeed%3Drss2

我在第一行看到一个空白区域,使页面无法查看。没有我的文件顶部有空格,我不知道为什么页面顶部有空格。

服务器端的内容在
xml语句之前会在第一行引入一个空格?
>I am using Wordpress 2.0.6 on Fedora Core 5. An RSS feed is not working for
http://survivalofthesickestthebook.com/blog/?feed=rss2

When I use feed validator
http://feedvalidator.org/check.cgi?u...%3Ffeed%3Drss2

I see a blank space on line one which renders the page unviewable. none of
my files have a space at the top, and I have no idea why the page is being
served with a space at the top.

what on the server side would introduce a blank space on line one before the
xml statement?



任何类型的预处理器或输出过滤器。例如,您的服务器

似乎支持PHP,因此您的文件可能会通过一些PHP脚本

而PHP脚本会在顶部生成空行。如果您没有控制它,但控制实际内容,您可以尝试

删除<?xml version =" 1.0" encoding =" UTF-8"?从输入开始,

空行将是合法的。

-

Bj?rn H?hrmann·mailto:bj **** @ hoehrmann.de· http:// bjoern .hoehrmann.de

Weinh。海峡。 22·Telefon:+49(0)621/4309674· http://www.bjoernsworld.de

68309曼海姆·PGP Pub。 KeyID:0xA4357E78· http://www.websitedev.de/

Any kind of pre-processor or output filter. For example, your server
seems to support PHP, so your file might be put through some PHP script
and the PHP script generates the empty line at the top. If you have no
control over that, but control over the actual content, you might try
to remove the <?xml version="1.0" encoding="UTF-8"?from the input, an
empty line at the beginning would then be legal.
--
Bj?rn H?hrmann · mailto:bj****@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/



我在Fedora Core 5上使用Wordpress 2.0.6。RSS源不适用于
http://survivalofthesickestthebook.com/blog/?feed=rss2


当我使用Feed验证器时
http://feedvalidator.org/check.cgi?u...%3Ffeed%3Drss2


我在第一行看到一个空白区域,使页面无法查看。没有

我的文件顶部有空格,我不知道为什么页面是

顶部有空格。


服务器端会在

xml语句之前的第一行引入一个空格?


谢谢!
I am using Wordpress 2.0.6 on Fedora Core 5. An RSS feed is not working for
http://survivalofthesickestthebook.com/blog/?feed=rss2

When I use feed validator
http://feedvalidator.org/check.cgi?u...%3Ffeed%3Drss2

I see a blank space on line one which renders the page unviewable. none of
my files have a space at the top, and I have no idea why the page is being
served with a space at the top.

what on the server side would introduce a blank space on line one before the
xml statement?

thank you!



luogo interessante,soddisfare interessante,buon! http://www.bikini.741.com

BizTalk实用程序 - 无懈可击的BizTalk适配器
http:// www。 topxml.com/biztalkutilities

luogo interessante, soddisfare interessante, buon! http://www.bikini.741.com

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities



我在Fedora Core 5上使用Wordpress 2.0.6。一个RSS饲料不起作用
http://survivalofthesickestthebook.com/blog/ ?feed = rss2


当我使用Feed验证器时
http://feedvalidator.org/check.cgi?u...%3Ffeed%3Drss2


我在第一行看到一个空白区域,使页面无法查看。没有

我的文件顶部有空格,我不知道为什么页面是

顶部有空格。


服务器端会在

xml语句之前的第一行引入一个空格?


谢谢!
I am using Wordpress 2.0.6 on Fedora Core 5. An RSS feed is not working for
http://survivalofthesickestthebook.com/blog/?feed=rss2

When I use feed validator
http://feedvalidator.org/check.cgi?u...%3Ffeed%3Drss2

I see a blank space on line one which renders the page unviewable. none of
my files have a space at the top, and I have no idea why the page is being
served with a space at the top.

what on the server side would introduce a blank space on line one before the
xml statement?

thank you!



Luogo molto buon :) Buona fortuna! http://www.paradistc.org/tempo

BizTalk实用程序 - 无懈可击的BizTalk适配器
http:// www。 topxml.com/biztalkutilities

Luogo molto buon:) Buona fortuna! http://www.paradistc.org/tempo

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities


这篇关于服务器端介绍空白行!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆