User talk:WebOrganics

From Microformats Wiki
Jump to navigation Jump to search

WebOrganics Talk

Editor
Martin McEvoy, WebOrganics


WebOrganics talk is a page where I explore my ideas, you could call this a study page a brainstorm on my own. Anything I put here is not part of any microformats process and not to be regarded as such. Please feel free to email me any comments, criticism, changes that could work better or make more sense, or just to tell me that I am wrong :)

you can download a vcard at the bottom of this page

10 meaningful words

Martin McEvoy WebOrganics 07:47, 12 May 2007 (PDT)

The Idea

To display visible Keywords similar to invisible Keywords that an author would place in the head of their document e.g

<meta name="keywords" content="your keywords,go here,separated by a comma,but not a space" />

I'm not putting my keywords in the head of the document but in another largely ignored part of a website the footer.

The Idea is to tag your website or blog with 10 meaningful words about your website or more precisely descriptive words about the things that relate to your website the most. A similar idea is used when you are asked to tag your blog when you add a new blog to technorati.

The hope is that if you type these 10 keywords into a search engine or directory then the result will be your website.

Example this is what my website WebOrganics has in the footer:

<ol class="xoxo">
 <li>
  <dl>
   <dt>10 <a href="http://tantek.com/presentations/2005/09/elements-of-xhtml/">Meaningful</a> Words</dt>
    <dd class="info">  
<a href="http://www.w3.org/2001/sw/" rel="tag">Semantic</a> 
<a href="http://www.molly.com/2005/11/14/web-standards-and-the-new-professionalism/" rel="tag">Standards</a>  
<a href="http://www.w3.org/WAI/gettingstarted/Overview.html" rel="tag">Accessibility</a>  
<a href="http://en.wikipedia.org/wiki/Implementation" rel="tag">Implementation</a>  
<a href="http://microformats.org/wiki/introduction" rel="tag">Microformats</a>  
<a href="http://www.adammathes.com/academic/computer-mediated-communication/folksonomies.html" rel="tag">Folksonomy</a> 
<a href="http://www.rubyonrails.org/" rel="tag">Rails</a>   
<a href="http://en.wikipedia.org/wiki/Open-source_software" rel="tag">Open</a>  
<a href="http://en.wikipedia.org/wiki/Organic_search_engine" rel="tag">Organic</a>  
<a href="http://en.wikipedia.org/wiki/Universal_design" rel="tag">Universal</a>
   </dd>
  </dl>
 </li>
</ol>

I have a visible maybe new microformat meaningful in my <dt> tag my description term also a link to an article that explains this , the <a> tag's have similar links to my keywords, all the <a> atributes are paired with the rel="tag" microformat, the idea is that this is simple.

Does it work?

search these 10 keywords. Semantic Standards Accessibility Implementation Microformats Folksonomy Rails Open Organic Universal


Summary

Interesting points:

  • Meaningful words mean something!... do they?
  • A good use would be in Tag Clouds
  • Can people be taged in a similar way? rel="meaningful" XFN
  • Maybe its just a good example of posh in action.

I know the evidence is un-conclusive but it is something to think about eh...

Update

My 10 meaningful words now hook in this page too! WebOrganics 13:37, 15 May 2007 (PDT)


Copyright

This document and specification is distributed under a Creative Commons Attribution 3.0 license. It is licensed and can be used royalty-free for any purpose.

The authors intend to submit this specification to a standards body with a liberal copyright/licensing policy such as the GMPG (http://gmpg.org/), IETF (http://ietf.org/), and/or W3C (http://w3.org). Anyone wishing to contribute should read each organizations copyright principles, policies and licenses (e.g. the GMPG Principles (http://gmpg.org/principles)) and agree to them, including licensing of all contributions under all required licenses (e.g. CC-by 1.0 (http://creativecommons.org/licenses/by/1.0/) and later), before contributing.


Patents

The authors of this Microformat have not and will not apply for patents covering any invention covering this Microformat in part or as a whole. There are no claims to any patent in this document. Each author is required to report any known patent issues immediately under this section.

This document and specification is distributed under a royalty free patent policy, e.g. per the W3C Patent Policy (http://www.w3.org/Consortium/Patent-Policy-20040205/), and IETF RFC3667 (http://www.ietf.org/rfc/rfc3667.txt) & RFC3668 (http://www.ietf.org/rfc/rfc3668.txt).



hSpiff

hSpiff 0.0.2

Martin McEvoy WebOrganics 08:48, 13 May 2007 (PDT)

Hypertext Shareable Playlist Format

hSpiff is Based on XSPF Version 1 XML Shareable Playlist Format ("spiff")

hSpiff is not intended to reflect hAtom which is used to describe blog posts but more specifically intended as a way to describe media and their order in a playlist.

hSpiff is intended to act as a transport for other media Microformats such as hAudio 0.3

Abstract

http://xspf.org/xspf-v1.html#rfc.section.3

[1] An XSPF playlist describes a sequence of objects to be rendered.

Objects might be audio, video, text, playlists, or any other media type.

The function of a playlist is to identify the objects and communicate their order.

XSPF section 1

[2] There is no XML format for playlists that can measure up to the standards of the formats for web pages (HTML), weblogs (RSS/Atom), and web graphs (RDF/XML). It is evident that there is a need, because XML is the preferred data description language of the moment and as a result the tools and skills to use it are ubiquitous.

Schemata

hSpiff

<div class="hspiff">


playlist-title

A human-readable title for the playlist.

xspf:playlist elements MAY contain exactly one.

<h1 class="playlist-title">Title</h1>

Decided not to add the root class="playlist" as playlist is already defined with the prefix

playlist-

4.1.1 Playlist

creator

Human-readable name of the entity (author, authors, group, company, etc) that authored the playlist.

xspf:playlist elements MAY contain exactly one.

<span class="creator">Name</span>


playlist-note

A human-readable comment on the playlist. This is character data, not HTML, and it may not contain markup.

xspf:playlist elements MAY contain exactly one.

<div class="playlist-note">Text and html here only text will be phrased</div>


playlist-info

Removed this as playlist-title with class="url" serves the same purpose

URI of a web page to find out more about this playlist. Likely to be homepage of the author, and would be used to find out more about the author and to find more playlists by the author.

xspf:playlist elements MAY contain exactly one.


url

Source URI for this playlist.

xspf:playlist elements MAY contain exactly one.

<h1 class="playlist-title"><a class="url" href="http://yourweb.whatever/html">Title</a></h1>


id

Canonical ID for this playlist. Likely to be a hash or other location-independent name. MUST be a legal URI.

xspf:playlist elements MAY contain exactly one.

<h1 class="playlist-title"><a id="album" class="url" href="http://yourweb.whatever/html">Title</a></h1>


image

URI of an image to display in the absence of a //playlist/trackList/image element.

xspf:playlist elements MAY contain exactly one.

<img class="image" src="http://yourweb.whatever/image/image.jpeg" alt="Image"/>

class="photo" is more "microformaty"


playlist-date

Creation date (not last-modified date) of the playlist, formatted as a XML schema dateTime.

xspf:playlist elements MAY contain exactly one.

<abbr class="playlist-date" title="20070106">6th January, 2007</abbr>

playlist-track

<div class="playlist-track">


track-title

<h2 class="track-title">Track</h2>

-- Should this be an h2 tag? Semantic HTML indicates only one h1 tag per document. Maybe I'm barking up the wrong tree - I'm a microformats novice and perhaps this spec allows the use of h1, h2, h3 etc in this place. -- JChris

Semanticly Correct changed to h2 --Martin McEvoy


track-url

Canonical ID for this resource. Likely to be a hash or other location-independent name, such as a MusicBrainz identifier. MUST be a legal URI.

xspf:track elements MAY contain zero or more identifier elements.

<h2 class="track-title"><a class="track-url" href="http://yourweb.whatever/tracks/track1.mp3">Track</a></h2>


album

Human-readable name of the collection from which the resource which defines the duration of track rendering comes.

For a song originally published as a part of a CD or LP, this would be the title of the original release.

This value is primarily for fuzzy lookups, though a user-agent may display it.

xspf:track elements MAY contain exactly one.

<a class="include" href="#album"></a>

Class include using the Include Pattern, links the track to a playlist

Should we use Attribution here instead of include.

<a class="include attribution" href="#album"></a>

or

<a class="attribution" href="#album"></a>

or


<a class="include" href="#album" rel="attribution"></a>


Does this have the meaning this track is attributed to this album?

This method clearly won't work empty <a></a> tags are hardly meaningful.


track-num

Integer with value greater than zero giving the ordinal position of the media on the xspf:album.

This value is primarily for fuzzy lookups, though a user-agent may display it.

xspf:track elements MAY contain exactly one. It MUST be a valid XML Schema nonNegativeInteger.

<span class="track-num">1</span>

track-duration

The time to render a resource, in milliseconds. It MUST be a valid XML Schema nonNegativeInteger. This value is only a hint -- different XSPF generators will generate slightly different values. A user-agent MUST NOT use this value to determine the rendering duration, since the data will likely be low quality.

xspf:track elements MAY contain exactly one duration element

Do we do this in milliseconds 210000?, I say no not friendly to humans, prasers can add "000" to the second value.

<abbr class="track-duration" title="210">3 minutes 30 seconds</abbr>


attributes


type

Value of the metadata element. This is character data, not HTML, and it may not contain markup.

xspf:track elements MAY contain exactly one.

<h1 class="track-title">
<a class="url" href="http://yourweb.whatever/tracks/track1.mp3" type="application/mp3">Track</a>
</h1>


track-clip

The extension element allows non-XSPF XML to be included in XSPF documents.

The purpose is to allow nested XML, which the meta and link elements do not.

xspf:track elements MAY contain zero or more extension elements.

  • xspf example
<playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:cl="http://example.com">
  <trackList>
    <track>
      <extension application="http://example.com">
        <cl:clip start="25000" end="34500"/>
      </extension>
    </track>
  </trackList>
</playlist>
  • hspiff
<span class="track-clip">
	<abbr class="start" title="210">3.30</abbr>
	<abbr class="end" title="345">5.75</abbr>
</span>

hSpiff using hSet

<div class="hspiff">
	
	<h1 class="hset playlist">
	<a class="url" href="http://yourweb.whatever/playlist.html">Playlist</a>
	</h1>
	<span class="hset playlist.creator">Name</span>
	<div class="hset playlist.note">
		<p>Text and html here only text will be phrased</p>
	</div>
	<img class="hset playlist.image" src="http://yourweb.whatever/image/jpeg" alt="image.jpeg" /><br />
	<abbr class="hset playlist.date.20070106" title="The 6Th of January 2007">06 01 2007</abbr>

	<h2 class="hset playlist.track_1">
	<a class="url" href="http://yourweb.whatever/tracks/track_1.mp3" type="application/mp3">Track 1</a>
	</h2>
	<div class="hset playlist.track_1 note">
		<p>Text and html here only text will be phrased</p>
	</div>
	<abbr class="hset playlist.track_1 duration.198" title="3 minutes 30 seconds">3 30</abbr>

	<h2 class="hset playlist.track_2">
	<a class="url" href="http://yourweb.whatever/tracks/track_2.mp3" type="application/mp3">Track 2</a>
	</h2>
	<div class="hset playlist.track_2 note">
		<p>Text and html here only text will be phrased</p>
	</div>
	<abbr class="hset playlist.track_2 duration.241" title="4 minutes 2 seconds">4 02</abbr>

	<h2 class="hset playlist.track_3">
	<a class="url" href="http://yourweb.whatever/tracks/track_3.mp3" type="application/mp3">Track 3</a>
	</h2>
	<div class="hset playlist.track_3 note">
		<p>Text and html here only text will be phrased</p>
	</div>
	<abbr class="hset playlist.track_3 duration.132" title="2 minutes 20 seconds">2 20</abbr>

	<span class="hset playlist.clip">
	<p>Playlist Clip: 
	(Start: <abbr class="hset playlist.clip start.210" title="3 minutes 30 seconds">3 30</abbr>)
	(End: <abbr class="hset playlist.clip end.345" title="5 minutes 75 seconds">5 75</abbr>)
	</p>
	</span>

</div>

Further Reading

Contact or get involved

Martin McEvoy

WebOrganics.

icon-hcard-download.png Download vCard

Want to talk more about this or maybe something new?