OS Builder/Add additional Activities: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with 'Look into the sugar_activity_group and sugar_activities_extra modules. =sugar_activity_group= If your activities are published online and can being fetched from public URLs, th…')
 
No edit summary
Line 17: Line 17:
http://wiki.laptop.org/go/Activities/YourDeployment
http://wiki.laptop.org/go/Activities/YourDeployment


For best control over activity versioning, create a page for this specific version http://wiki.laptop.org/go/Activities/YourDeployment/10.1.3 . The format of the page is described here -- the easiest way is to start copying the contents of http://wiki.laptop.org/go/Activities/G1G1/10.1.3 or http://wiki.laptop.org/go/Activities/G1G1Lite/10.1.3
For best control over activity versioning, create a page for this specific version http://wiki.laptop.org/go/Activities/YourDeployment/10.1.3 . The page uses the[http://wiki.sugarlabs.org/go/Activity_Team/Activity_Microformat activity microformat] -- the easiest way is to start copying the contents of http://wiki.laptop.org/go/Activities/G1G1/10.1.3 or http://wiki.laptop.org/go/Activities/G1G1Lite/10.1.3

Revision as of 16:49, 16 March 2011

Look into the sugar_activity_group and sugar_activities_extra modules.

sugar_activity_group

If your activities are published online and can being fetched from public URLs, the best option is to use sugar_activity_group. This works both for the builder and for later updates.

Define a 'base URL' -- for example, http://wiki.laptop.org/Activities/YourDeployment . Add the module to the modules list and a new section:

 [sugar_activity_group]
 url=http://wiki.laptop.org/go/Activities/YourDeployment

The system will actually request a url adding the OS version number, so it will try, in order

 http://wiki.laptop.org/go/Activities/YourDeployment/10.1.3
 http://wiki.laptop.org/go/Activities/YourDeployment/10.1
 http://wiki.laptop.org/go/Activities/YourDeployment/10
 http://wiki.laptop.org/go/Activities/YourDeployment

For best control over activity versioning, create a page for this specific version http://wiki.laptop.org/go/Activities/YourDeployment/10.1.3 . The page uses theactivity microformat -- the easiest way is to start copying the contents of http://wiki.laptop.org/go/Activities/G1G1/10.1.3 or http://wiki.laptop.org/go/Activities/G1G1Lite/10.1.3