Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Dashboard widget: external datasource snag
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="awnispel" data-source="post: 1152326" data-attributes="member: 181875"><p><strong>Solution to external datasource snag</strong></p><p></p><p>I think I have found a solution: instead of using the conventional unix file path for the datasource reference, e.g. '/Desktop/myXMLFile.xml', I find that an XML file also has a URL path: 'file:///~/Desktop/myXMLFile1.xml'. Coming from the world of Cocoa programming, I was ignorant of XML files and widget behavior as a web 2.0 kind-of-thing.<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="awnispel, post: 1152326, member: 181875"] [b]Solution to external datasource snag[/b] I think I have found a solution: instead of using the conventional unix file path for the datasource reference, e.g. '/Desktop/myXMLFile.xml', I find that an XML file also has a URL path: 'file:///~/Desktop/myXMLFile1.xml'. Coming from the world of Cocoa programming, I was ignorant of XML files and widget behavior as a web 2.0 kind-of-thing.:) [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Dashboard widget: external datasource snag
Top