pbworks: Difference between revisions
(→Element Nonsupport: use vcp instead fo time) |
(sections for data and time non-support, markup workarounds) |
||
Line 7: | Line 7: | ||
== Element Nonsupport == | == Element Nonsupport == | ||
The following elements are not supported in PBWorks, that is if you add them (e.g. in Source edit mode), they will be removed upon saving the page | The following elements are not supported in PBWorks, that is if you add them (e.g. in Source edit mode), they will be removed upon saving the page. | ||
=== data === | |||
The <code><data></code> element is not supported in PBWorks - use an abbr element with the title attribute instead. | |||
E.g. instead of: | |||
<source lang=html4strict><data class="p-rsvp" value="yes">going</data></source> | |||
Use: | |||
<source lang=html4strict><abbr class="p-rsvp" title="yes">going</abbr></source> | |||
=== time === | |||
The <code><time></code> element is not supported in PBWorks - use the [[value-class-pattern#Date_and_time_values|value class pattern for date and time values]] e.g. | |||
<source lang=html4strict> | |||
<span class="dt-start dtstart"> | |||
<span class="value">2013-09-28</span> | |||
<span class="value">12pm</span> | |||
</span> | |||
</source> | |||
or to only show a visible time (e.g. on a page of sessions all on the same day). | |||
<source lang=html4strict> | |||
<span class="dt-start dtstart"> | |||
<abbr class="value" title="2013-09-28"></abbr> | |||
<span class="value">12pm</span> | |||
</span> | |||
</source> | |||
Real-world examples in the wild: | |||
* http://sciencehackday.pbworks.com/w/page/69439675/SFschedule2013 | |||
* ... | * ... | ||
Note: in the second code sample we're using an empty <code><abbr></code> element for the date, which either won't be display (or read), or if a screenreader does read out the title attribute, it will be a human understandable [[iso-date]]. | |||
== See Also == | == See Also == | ||
* http://indiewebcamp.com/PBWorks | * http://indiewebcamp.com/PBWorks | ||
* [[cms]] | * [[cms]] |
Latest revision as of 22:36, 29 September 2013
This article is a stub. You can help the microformats.org wiki by expanding it.
This page is for documenting the capabilities and limitations of the PBWorks.com wiki host.
Element Support
In general, HTML elements are supported in Source edit mode. Exceptions are noted below.
Element Nonsupport
The following elements are not supported in PBWorks, that is if you add them (e.g. in Source edit mode), they will be removed upon saving the page.
data
The <data>
element is not supported in PBWorks - use an abbr element with the title attribute instead.
E.g. instead of:
<data class="p-rsvp" value="yes">going</data>
Use:
<abbr class="p-rsvp" title="yes">going</abbr>
time
The <time>
element is not supported in PBWorks - use the value class pattern for date and time values e.g.
<span class="dt-start dtstart">
<span class="value">2013-09-28</span>
<span class="value">12pm</span>
</span>
or to only show a visible time (e.g. on a page of sessions all on the same day).
<span class="dt-start dtstart">
<abbr class="value" title="2013-09-28"></abbr>
<span class="value">12pm</span>
</span>
Real-world examples in the wild:
Note: in the second code sample we're using an empty <abbr>
element for the date, which either won't be display (or read), or if a screenreader does read out the title attribute, it will be a human understandable iso-date.