Skip to content
Newer
Older
100644 43 lines (22 sloc) 2.43 KB
ae585cd @miketaylr first commit; adding libs
miketaylr authored
1 ## Opera Unite utility libraries
2
3 The following list contains several Opera Unite utility libraries that we have made available for you to use in your Opera Unite applications. These libraries contain several reusable functions to save you time and make life easier.
4
5 ### activityStreamGenerator
6
7 This file contains an API for publishing to an activity stream (partly based on http://activitystrea.ms/). The resulting stream will be an Atom feed with an activity extension in the "http://activitystrea.ms/spec/1.0/" namespace, which can be used to programatically analyze the feed.
8
9 ### gettext
10
11 gettext is a JavaScript implementation of GNU Gettext, providing internationalization support for JavaScript, eg handling .po files.
12
7a933d6 @miketaylr Adding FileIO API to unite-libraries repo
miketaylr authored
13 ### File I/O API
14
15 The File I/O API provides you with functionality needed to access data on the desktop from widgets or Unite Apps.
16
ae585cd @miketaylr first commit; adding libs
miketaylr authored
17 ### librariesLoader
18
19 This library handles the loading of all your application's external library resources, including making sure all dependencies are present, and that the directory structure is ok.
20
21 ### PSO: Pub-Sub Output
22
23 This library provides a simple pub/sub output, which replaces the functionality of opera.postError and allows developers to easily subscribe to the debug outputs they want.
24
25 ### ResourceFetcher
26
27 ResourceFetcher is a class for periodically downloading resources from URLs. You can use it to not only download the resources, but also provide reporting on whether the downloads are successful. You can also set parameters such as the time to wait between making each download request, and the time to wait before you assume a download has failed and give a timeout error.
28
29 ### widgetLocalization
30
31 widgetLocalization derives the user agent's locale using the algorithm found in http://www.w3.org/TR/widgets/#step-5--derive-the-user-agents-locale. You can then use the gettext library mentioned above to retrieve and handle the appropriate language files for that locale, if they are available.
32
33 ### Markuper
34
35 Markuper is a template library that provides an easy way to develop Opera Unite applications using a specific syntax that developers can use to create bindings between JavaScript code and HTML documents.
36
37 ### Service Discovery API
38
39 The Service discovery API lets you discover services that announce their presence on a network. You can then contact these services and potentially use data from them.
40
41 ### Yusef
42
43 The Opera Unite application framework, foundation of Opera Unite applications.
Something went wrong with that request. Please try again.