我的应用程序的可读性 [英] Readability in my application
问题描述
我想知道如何使用可读性的阅读视图打开一些文章 - 就像Tweetbot正在做的那样。但是没有将文章发送到我的帐户并保存到队列。
I wonder how to open some article using 'reading view' of Readability - just like Tweetbot is doing it. But without sending article to my account and save to queue.
使用Reeder中的可读性显示文章并不容易,对吧?我必须写信给公司并要求他们访问他们的解析器吗?
Displaying article using Readability like in Reeder is not so easy, right? I would have to write to company and ask them for access to their parser?
也许还有其他好方法可以解析使用Readability的文章。我已经阅读了一些关于javascript解析器的内容,但是不太了解。
Maybe is there any other good way to parse articles using Readability. I have read something about javascript parser, but don't know too much.
你能帮助我吗?
推荐答案
你可以使用Readability mobilizer。您将获得可读性样式的任何文章的清理版本:
You can use Readability mobilizer for this. You will get a cleaned up version of any article, in the Readability styling:
http://www.readability.com/m?url=http://{URLOFTHEARTICLE}
只需准备好URL并将其加载到UIWebView中。我正在逃避参数值。以下是它的实际行动:
Just prepare the URL and load it in your UIWebView. I'm escaping the parameter values. Here is how it looks in action:
这篇关于我的应用程序的可读性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!