iPhone上的touch.facebook.com给我“实体'nbsp'未定义" [英] touch.facebook.com on iPhone giving me "Entity 'nbsp' not defined"

查看:128
本文介绍了iPhone上的touch.facebook.com给我“实体'nbsp'未定义"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于

Just as I found a way to access my app's profile page on touch.facebook.com, thanks to logan and this url format...

http://touch.facebook.com/profile.php?id=myappid

...我遇到了这个新问题.它运行了一段时间,然后突然出现,没有明显原因,而不是我的应用程序配置文件,iOS Safari仅显示一个红色警告框,告诉您有个错误实体'nbsp'未定义".

...I ran into this new problem. It worked fine for a while, and then all of a sudden for no apparent reason, instead of my app profile, iOS Safari only shows a red warning box telling there's an error called "Entity 'nbsp' not defined".

我用Google搜索它,发现它是一个常见的XHTML错误,除了XML严格的浏览器(如Apple的Safari)之外,几乎所有人都忽略了.好的,这就是问题所在–解决方案:只需将我的不间断空格转换为XML实体即可.

I Googled it and found out it's a common XHTML error that's mostly ignored by everyone except XML strict browsers – like Apple's Safari. Ok, so there's the problem – solution: just convert my non-breaking spaces to XML entities.

唯一的缺点是,它们不是我的nbsp的-确保我不需要在应用程序说明中的小文本等内容中使用HTML或XML标记.

The only downside is, they're not my nbsp's – for sure I had no need to use either HTML or XML markup in what little text I have in my app description etc.

所以,它必须是touch.facebook.com本身,对不对?如果这是正确的,我想知道是否有任何方法可以解决此问题?

或者,再次回到普通的m.facebook.com旧版本是我唯一的选择吗?我肯定会尽可能使用触摸版,因为它可以工作并且看起来比m.facebook.com好很多.

Or, is falling back once again to the plain old m.facebook.com version my only option? I sure would like to use the touch version if possible, since it works and looks so much better than m.facebook.com.

这太奇怪了,Facebook共享仅占我iPhone应用程序功能的5%,但似乎占用了我整体开发时间的50%.这是怎么回事?

This is so weird, Facebook sharing is just 5% of my iPhone app's functionality, and yet it seems to be taking 50% of my overall development time. What's up with that?

推荐答案

好吧,我发现Facebook从2011年3月开始发布的公告(旧版),声明网站将统一为一个地址:m.facebook.com.我再也找不到官方的FB公告,因此这是第三方新闻:

Ok, I found Facebook's (old) announcement from march 2011, stating the sites will be unified to a single address: m.facebook.com. I couldn't find the official FB announcement again, so here's a third party news: http://www.allfacebook.com/facebook-unifies-mobile-site-for-250-million-users-2011-03#idc-container

所以,即使它变暗了,我也只会使用m.facebook.com.但是,问题仍然存在:为什么touch.facebook.com仍然存在?为什么它仍然提供与m.facebook.com不同的外观UI,而不仅仅是同一统一站点的另一个域名? 0.facebook.com是什么?为什么我需要在Google上搜索信息摘要和第三方谣言数小时,才能知道要使用什么URL来访问Facebook移动? FB客户/开发人员的沟通该如何消除这种不良影响?

So, I'll just use the m.facebook.com even if it's a lot duller. Questions still remain, though: why is touch.facebook.com still there? Why is it still providing a different looking UI than m.facebook.com and not just another domain name for the same, unified site? Whatever is 0.facebook.com? Why do I need to google for snippets of info and 3rd party rumors for hours to know what url to use to access Facebook mobile? How can FB customer/developer communication suck this bad?

这篇关于iPhone上的touch.facebook.com给我“实体'nbsp'未定义"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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