简体   繁体   English

是否可以将Dashcode Webkit Web应用程序转换为“普通”的html + css

[英]Is it possible to convert a Dashcode Webkit Web app to “normal” html + css

I have a Dashcode app I built, a blog. 我有一个自己构建的Dashcode应用程序,一个博客。 Nothing fancy... HTML + CSS + Javascript + getting data from an xml file... 没什么好想的... HTML + CSS + Javascript +从xml文件获取数据...

The way i see it... 1. Javascript should be fully supported by any browser (with some differences). 我的看法... 1.任何浏览器都应完全支持Javascript(有一些区别)。 2. I would need to modify HTML a little, although the parts i used in Dashcode seems to use basic HTML. 2.我需要稍微修改HTML,尽管我在Dashcode中使用的部分似乎使用了基本 HTML。 3. Dashcode seems to make heavy use of CSS, with fancy webkit specific flags that don't seem that hard to replace... 3. Dashcode似乎大量使用CSS,带有特定于webkit的标志似乎并不难替换...

I want to be able to access the app from other browsers. 我希望能够从其他浏览器访问该应用程序。 How do i do that? 我怎么做? What do i need to watch out for, has anyone tried this before. 我需要注意什么,之前有没有人尝试过。

PS. PS。 Some things seem to work, others like buttons seem to disappear or some code does not transfer properly. 有些事情似乎可以正常工作,而另一些事情如按钮似乎消失了,或者某些代码无法正确传输。

Beyond changing the browser-specific CSS, I don't think there's anything you'd have to change. 除了更改特定于浏览器的CSS外,我认为您无需更改任何内容。 I don't know the specifics of your webapp, but unless you want non-standards support (IE6/7 for your XML, in which case you'll need to add activeX object XMLHttpRequest support), the javascript and html should not need changing between browsers. 我不知道您的Web应用程序的详细信息,但是除非您希望获得非标准支持(XML的Internet Explorer为6/7,在这种情况下,您需要添加activeX对象XMLHttpRequest支持),否则无需更改javascript和html在浏览器之间。

To access the app from other browsers, you'll need to deploy it if you haven't already, then find the root folder and copy that. 要从其他浏览器访问该应用,您需要对其进行部署(如果尚未部署),然后找到根文件夹并进行复制。 If you don't have another editing application already, I'd suggest TextWrangler as a free app, or TextMate as a (rather pricey) paid alternative. 如果您还没有其他编辑应用程序,建议您将TextWrangler作为免费应用程序,或者将TextMate作为(相当昂贵的)付费替代方案。

NB: I've not actually ported anything from Dashcode per se, but this is based off of about 3 minutes of testing things in it and some experience porting websites. 注意:我实际上还没有从Dashcode移植任何东西,但这是基于对其中3件事的测试以及大约3个网站移植经验的基础。

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

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