简体   繁体   English

将Safari Web Clip转换为HTML

[英]Turning Safari Web Clips into HTML

Safari's "Web Clip" feature is nice because you can take a section of a web page and access it dynamically from the desktop. Safari的“ Web Clip”功能很不错,因为您可以浏览网页的一部分并从桌面动态访问它。 This is especially cool when you are using it to "save" streaming videos and the like. 当您使用它“保存”流式视频等时,这特别酷。 What I want to do is embed one of these into an HTML page. 我想做的就是将其中之一嵌入HTML页面。 However, unlike real widgets that are coded/WYSIWYGed, Safari doesn't really store any source code for the Web Clips; 但是,与经过编码/所见即所得的实际小部件不同,Safari并未真正存储Web Clip的任何源代码;它只是为Web Clip存储任何源代码。 instead it does something to the effect of hard coding it every time the Dashboard starts up. 而是每次仪表板启动时都会对其进行硬编码。

Is there any way to turn a Web Clip into HTML? 有什么办法可以将Web Clip转换为HTML? Through Dashcode or otherwise? 通过Dashcode还是其他方式?

The only thing it hard codes is a URL to the original content. 唯一的硬编码是原始内容的URL。 These are stored in ~/Library/Preferences/widget-com.apple.widget.web-clip.plist 这些存储在〜/ Library / Preferences / widget-com.apple.widget.web-clip.plist中

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

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