<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sugarlabs.org/index.php?action=history&amp;feed=atom&amp;title=Activity_Team%2FActivity_Microformat</id>
	<title>Activity Team/Activity Microformat - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sugarlabs.org/index.php?action=history&amp;feed=atom&amp;title=Activity_Team%2FActivity_Microformat"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Activity_Team/Activity_Microformat&amp;action=history"/>
	<updated>2026-04-10T16:23:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Activity_Team/Activity_Microformat&amp;diff=59451&amp;oldid=prev</id>
		<title>M anish: /* Activity microformat on this wiki */</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Activity_Team/Activity_Microformat&amp;diff=59451&amp;oldid=prev"/>
		<updated>2010-11-20T07:28:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Activity microformat on this wiki&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:28, 20 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[olpc:Software updater]] consults [[olpc:activity group]] pages on this wiki, such as [[olpc:Activities/G1G1]] and [[olpc:Activities/G1G1/8.2]] and reads the activity microformat information in them to determine if newer versions of activities are available.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[olpc:Software updater]] consults [[olpc:activity group]] pages on this wiki, such as [[olpc:Activities/G1G1]] and [[olpc:Activities/G1G1/8.2]] and reads the activity microformat information in them to determine if newer versions of activities are available.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Activity maintainers should use the template &amp;lt;tt&amp;gt;{{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tl&lt;/del&gt;|Activity-oneline}}&amp;lt;/tt&amp;gt; to provide information for these activity group pages.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Activity maintainers should use the template &amp;lt;tt&amp;gt;{{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tl2|SISTER=olpc:&lt;/ins&gt;|Activity-oneline}}&amp;lt;/tt&amp;gt; to provide information for these activity group pages.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template presents information about your activity using the correct CSS for this microformat.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This template presents information about your activity using the correct CSS for this microformat.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can either embed the template directly in an activity group page, or put the information in a fragment such as [[olpc:Activities/Browse (latest)]] and transclude this on activity group pages using  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You can either embed the template directly in an activity group page, or put the information in a fragment such as [[olpc:Activities/Browse (latest)]] and transclude this on activity group pages using  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Other templates such as {{&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tl&lt;/del&gt;|Project-summary}} also generate the correct CSS for this microformat.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Other templates such as {{&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tl2|SISTER=olpc:&lt;/ins&gt;|Project-summary}} also generate the correct CSS for this microformat.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[olpc:Category:Activity installation]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[olpc:Category:Activity installation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>M anish</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Activity_Team/Activity_Microformat&amp;diff=59449&amp;oldid=prev</id>
		<title>M anish: Initial move from wiki.laptop.org (with interwiki link changes)</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Activity_Team/Activity_Microformat&amp;diff=59449&amp;oldid=prev"/>
		<updated>2010-11-20T06:13:25Z</updated>

		<summary type="html">&lt;p&gt;Initial move from wiki.laptop.org (with interwiki link changes)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The definitive source for this document is the documentation for the &amp;#039;bitfrost.update.microformat&amp;#039; package, which can be found at http://dev.laptop.org/git?p=users/cscott/sugar-update-control;a=blob;f=bitfrost/update/microformat.py and by running &amp;lt;code&amp;gt;pydoc bitfrost.update.microformat&amp;lt;/code&amp;gt; on an XO.&lt;br /&gt;
----&lt;br /&gt;
== Overview ==&lt;br /&gt;
Activity information is embedded in HTML/XHTML/XML pages using a&lt;br /&gt;
semantic [http://microformats.org/ microformat].&lt;br /&gt;
Utilities such as [[olpc:Software update]] in the [[olpc:Sugar Control Panel]] can parse this information to determine that a newer activity version is available and download it.&lt;br /&gt;
&lt;br /&gt;
== CSS for microformat ==&lt;br /&gt;
The following&lt;br /&gt;
CSS rules pull out the desired information.&lt;br /&gt;
&lt;br /&gt;
Repository/group information for related activities is denoted by the&lt;br /&gt;
[http://www.w3.org/Style/CSS/ CSS] selector:&lt;br /&gt;
&lt;br /&gt;
  #olpc-activity-group-name&lt;br /&gt;
&lt;br /&gt;
which provides a &amp;quot;short name&amp;quot; for the group, and:&lt;br /&gt;
&lt;br /&gt;
  #olpc-activity-group-desc&lt;br /&gt;
&lt;br /&gt;
which provides a slightly longer description.  As indicated by the fact&lt;br /&gt;
that these are matches on the &amp;#039;id&amp;#039; attribute, they should match exactly&lt;br /&gt;
once.  These attributes are optional, and are not expected to be included&lt;br /&gt;
in pages describing updates for an individual activity.&lt;br /&gt;
&lt;br /&gt;
Each block of activity information is denoted by the selector:&lt;br /&gt;
&lt;br /&gt;
  .olpc-activity-info&lt;br /&gt;
&lt;br /&gt;
All information within that block describes a single available&lt;br /&gt;
version of an activity, so the following selectors should match&lt;br /&gt;
at most once within the block.&lt;br /&gt;
&lt;br /&gt;
The activity id, which should be unique among all activities, is denoted&lt;br /&gt;
by the contents of the element identified by the selector:&lt;br /&gt;
&lt;br /&gt;
  .olpc-activity-info .olpc-activity-id&lt;br /&gt;
&lt;br /&gt;
The version number is denoted by the contents of the element identified by&lt;br /&gt;
the selector:&lt;br /&gt;
&lt;br /&gt;
  .olpc-activity-info .olpc-activity-version&lt;br /&gt;
&lt;br /&gt;
The version URL is denoted by the contents of the href attribute of the&lt;br /&gt;
element identified by the selector:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
  .olpc-activity-info .olpc-activity-url *[href]&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
  &amp;lt;table class=&amp;quot;olpc-activity-info&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;Browse&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td class=&amp;quot;olpc-activity-id&amp;quot;&lt;br /&gt;
      style=&amp;quot;display:none;&amp;quot;&amp;gt;org.laptop.WebActivity&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td class=&amp;quot;olpc-activity-version&amp;quot;&amp;gt;54&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td class=&amp;quot;olpc-activity-url&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;Browse-54.xo&amp;quot;&amp;gt;download!&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another example can be found at: http://dev.laptop.org/~cscott/bundles/firefox.html&lt;br /&gt;
&lt;br /&gt;
== Activity microformat on this wiki ==&lt;br /&gt;
[[olpc:Software updater]] consults [[olpc:activity group]] pages on this wiki, such as [[olpc:Activities/G1G1]] and [[olpc:Activities/G1G1/8.2]] and reads the activity microformat information in them to determine if newer versions of activities are available.&lt;br /&gt;
&lt;br /&gt;
Activity maintainers should use the template &amp;lt;tt&amp;gt;{{tl|Activity-oneline}}&amp;lt;/tt&amp;gt; to provide information for these activity group pages.&lt;br /&gt;
This template presents information about your activity using the correct CSS for this microformat.&lt;br /&gt;
You can either embed the template directly in an activity group page, or put the information in a fragment such as [[olpc:Activities/Browse (latest)]] and transclude this on activity group pages using &lt;br /&gt;
&lt;br /&gt;
Other templates such as {{tl|Project-summary}} also generate the correct CSS for this microformat.&lt;br /&gt;
&lt;br /&gt;
[[olpc:Category:Activity installation]]&lt;/div&gt;</summary>
		<author><name>M anish</name></author>
	</entry>
</feed>