microformats

Text::Microformat 0.04 released

The latest Text::Microformat is available on CPAN. The biggest change is the addition of hCalendar support, thanks to Franck Cuny. Also there is changed handling (i.e. ignoring) of namespaces. The parser now strips off the namespace prefixes and matches on the local names. This means that the tags <a> and <html:a> and <monkey:a> would be treated the same way. This may seem backwards to XML-heads, but with microformats namespaces are considered harmful.

Text::Microformat on CPAN

Project Homepage

Enjoy!

hBelief - semantic markup for political / spritual / philosophical beliefs and affiliations

Proposal: A way to express your political / spritual / philosophical beliefs and affiliations via semantic markup (aka microformats).

Why do this:

  • People might be more inclined to think about and share what they actually believe.
  • Establish relationships with others based on shared belief.
  • Helps people who are seeking spiritual and political practices and affiliations find out what’s out there.

Three modes:

  • belief
  • practice
  • affiliation

And three axes:

  • political
  • spiritual
  • philosophical

Make for nine possible association-types. Some make more sense than others, and some may overlap. I’ve included some examples.

  • spiritual-belief (rel-tag)
    • Therivadan Buddhist
    • Seventh day adventist
    • Hindu
    • Lightworker (shameless plug)
    • Agnostic
  • spiritual-practice (rel-tag)
    • Meditation
    • Yoga
    • Prayer
  • spiritual-affiliation (hCard)
    • Vancouver Chinese Pentecostal Church, 215 18th Avenue East Vancouver, BC
    • Birken Forest Monastery, P.O. Box #5 Knutsford, BC V0E 2A0 Canada
  • political-belief (rel-tag)
    • Anarchist
    • Libertarian
    • Conservative
    • Socialist
    • Capitalist
  • political-practice (rel-tag - not so sure about this one)
    • Soup kitchen volunteer
    • Microloans
    • Direct action
    • Voting
    • Attend townhall meetings
  • political-affiliation (hCard)
    • Republican National Committee
    • Green Party of Canada
    • Communist Party of China
  • philosophical-belief (rel-tag)
    • Materialist
    • Existentialist
    • Capitalist
    • Rationalist
    • Empiricist
    • Stoic
  • philosophical-practice (rel-tag - not so sure about this one)
    • Examples?
  • philosophical-affiliation (rel-tag - not so sure about this one, hard to differentiate from political)
    • Skeptics Society

Also hBelief could perhaps add some affiliation (person-to-person) types to XFN:

  • spiritual-teacher
  • spiritual-leader
  • spiritual-colleague
  • philosophical-teacher
  • philosophical-leader (not so sure about this one)
  • philisophical-colleague
  • political-leader / political-candidate
  • political-teacher
  • political-colleague

Thoughts?

Introducing Text::Microformat

Text::Microformat is a Microformat parser for Perl.

More specifically, Text::Microformat is an extensible Microformat-parsing framework, which allows not only new kinds of Microformats to be added, but also extension of the parser itself, so new parsing metaphors and source document encodings could be added.

Features:

  • Extracting Microformats from HTML, XHTML and XML
  • Extracting Microformats from entity-encoded or CDATA sections in RSS feeds.
  • The include pattern
  • Microformats built from other Microformats

Supported formats:

Other supported semantic markup:

Links:

Wanna help?

  • Submit bug and feature requests
  • Contribute code
    • You can create your own plugins and release them independently of Text::Microformat
    • You can contribute code, docs or tests to Text::Microformat (Submit a feature request, then attach a patch to it)
  • Blog about it (tag blog posts with ‘ufperl’)

Updated 2007-04-26: hGrant is not a microformat.

Syndicate content