iPhone + Android 应用程序查看博客

发布于 2024-09-03 09:54:13 字数 143 浏览 6 评论 0原文

为 iPhone 操作系统和 Android 操作系统编写允许访问网络博客(发布在 blogspot.com 上)的应用程序的最佳方式是什么?有没有办法操纵从网站传入的数据以适应手机的用户界面,或者我必须重新写很多博客吗?

任何帮助都会很好!并提前感谢您!

What would be the best way to write an app for the iPhone OS and the Android OS that allows access to a web blog (posted on blogspot.com)? Are there ways to manipulate the incoming data from the website to fit the UI of the phones, or will I have to re-do a lot of the blogs?

Any help would be nice! And thank you in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

墨小墨 2024-09-10 09:54:13

两者中最简单的方法是将浏览器集成到网络应用程序中,但可能将其限制在博客中。

例如,您的应用程序将打开并拥有自己的 UI,但显示实际的博客内容将在集成浏览器(例如 Android 中的 WebView)中完成。

这样做并不是最好的,因为它不会为用户提供最好的体验,但它具有保留博客的所有设计和附加功能以及 JavaScript 功能的额外好处。

对于现代博客来说,“操纵来自网站的传入数据”(也称为抓取)会很棘手,因为它们通常包含大量定制内容,而且现在更像是带有博客的网站,而不仅仅是常规博客。

The easiest way in both would be to integrate the browser in the web app but perhaps restrict it to the blog.

For example, your app would open and have its own UI, but displaying the actual blog content would be done in an integrated browser (such as a WebView in Android).

Doing it this way isn't the best as it wouldn't be the best experience for the user, but it has the added benefit of keeping all the blog's design and extras, as well as javascript functionality.

"Manipulating incoming data from the website" (otherwise known as scraping) would be tricky for modern blogs since they usually contain so much customised content and are nowadays more like websites with blogs than just regular blogs.

深海不蓝 2024-09-10 09:54:13

我想你最好的选择是使用 Phonegap 开源框架

由于它基本上创建本地 Web 应用程序,并且两个平台具有非常相似的浏览器功能,因此这应该非常适合您的预期应用程序。

I guess your best bet is to use Phonegap open source framework.

Since it basically creates local webapps and both platforms have very similar browser capabilities this should be a good fit for your intended application.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文