List Info

Thread: New Drupal Microformat module in development




New Drupal Microformat module in development
user name
2006-11-20 16:09:16
Hi there,

I have recently started a new project in Drupal to support
Microformats.

It's currently in Alpha development, with the main focus on
getting
hCard and hCalendar support in first.

The eventual plan is to allow a user to enter in the data
for a
microformat, say an hCard.  The module will then create the
XHTML and
save this to the database.  This can then be embedded into
any page or
post within a Drupal site either through options
("Embed Your hCard in
Post"), or via an embed tag like this:

[micro embed="hCard"]Tane Piper[/micro]

This would then embed the hCard from the database with fn of
"Tane Piper".

The second part of the module is to build in a viewer,
similar to
Jason Kolb's one at http://www.xforma
ts.org/MicroViewer

How this viewer would be implemented is when a post has any
recognised
embedded microcontent, a button would be displayed on the
page (e.g.
the bottom of the post) which when clicked, will display the
microcontent (through JS).

The module will also be extensible through the creation of
sub-modules
for the microcontent format.  For example, with the core
version
planned there is:

microcontent.module - the core modules, deals with database
queries,
embedding, and viewer
hcalendar.module - creates hCalendar microformats
hcard.module - creates hCard microformats

But someone could easily write a hReview.module, which just
needs to
adhear to the API of the module to display it.

Any comments, suggestions and queries are very welcome, and
if anyone
would like to contribute to this project, please get in
touch.

On a sidenote, I have been looking at creating my own
microformat. I
work in the music industry and I have been looking into the
idea of
hMusic - a microformat for displaying single/album
information which
would include name and artists information, a pack shot
(image) and
track listings.  You can see my idea at
http://d
igitalspaghetti.me.uk/drupal5/node/5 and I would again
appreciate any feedback on this, whether it's worth pursuing
as per
the microformats.org submission guidelines.

Regards,
Tane Piper
http://digitals
paghetti.me.uk/drupal5
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
New Drupal Microformat module in development
user name
2006-11-20 18:00:48
On Nov 20, 2006, at 10:09 AM, Tane Piper wrote:

> I have recently started a new project in Drupal to
support  
> Microformats.
>
> It's currently in Alpha development, with the main
focus on getting
> hCard and hCalendar support in first.

Neat.  You might want to look at these:

http://factorycity.net/demos/drupal/event_system/m
icroformats/
http://www.allintheh
ead.com/hkit

Also, Drupal allows you to use both PHP and HTML as template
 
syntaxes, so do you really need to add yet another syntax?

> On a sidenote, I have been looking at creating my own
microformat. I
> work in the music industry and I have been looking into
the idea of
> hMusic - a microformat for displaying single/album
information which
> would include name and artists information, a pack shot
(image) and
> track listings.  You can see my idea at
> http://d
igitalspaghetti.me.uk/drupal5/node/5 and I would again
> appreciate any feedback on this, whether it's worth
pursuing as per
> the microformats.org submission guidelines.

"My own microformat" is really an oxymoron, as the
value of  
microformats comes almost entirely from the shared
vocabulary  
developed within a community.  (Similarly, a language only
one person  
spoke wouldn't last long.)  Luckily, the community has
already  
started work on this:

http://microf
ormats.org/wiki/media-info

Peace,
Scott

_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
New Drupal Microformat module in development
user name
2006-11-20 18:08:32
>
> Neat.  You might want to look at these:
>
> http://factorycity.net/demos/drupal/event_system/m
icroformats/
> http://www.allintheh
ead.com/hkit
>
> Also, Drupal allows you to use both PHP and HTML as
template
> syntaxes, so do you really need to add yet another
syntax?

Thats great, thanks for pointing that out, I'll have a look
tommorow
as anything that can make my life easier 

>
> "My own microformat" is really an oxymoron,
as the value of
> microformats comes almost entirely from the shared
vocabulary
> developed within a community.  (Similarly, a language
only one person
> spoke wouldn't last long.)  Luckily, the community has
already
> started work on this:
>
> http://microf
ormats.org/wiki/media-info
>

of course   I only
meant that in the way that I was looking in to
it, but this media-info looks perfect.  Thanks again!

Tane
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
New Drupal Microformat module in development
user name
2006-11-20 20:03:58
On 11/20/06, Tane Piper <tane.pipergmail.com> wrote:
> >
> > Neat.  You might want to look at these:
> >
> > http://factorycity.net/demos/drupal/event_system/m
icroformats/
> > http://www.allintheh
ead.com/hkit
> >
> > Also, Drupal allows you to use both PHP and HTML
as template
> > syntaxes, so do you really need to add yet another
syntax?
>
> Thats great, thanks for pointing that out, I'll have a
look tommorow
> as anything that can make my life easier 

I've also expressed my interest to Dries in adding hAtom to
the
default templates in Drupal 5. Anyone interested in taking a
crack at
it would be appreciated!

Otherwise, good to see Drupal is finally getting some
microformat action.


> > "My own microformat" is really an
oxymoron, as the value of
> > microformats comes almost entirely from the shared
vocabulary
> > developed within a community.  (Similarly, a
language only one person
> > spoke wouldn't last long.)  Luckily, the community
has already
> > started work on this:
> >
> > http://microf
ormats.org/wiki/media-info
> >
>
> of course   I only
meant that in the way that I was looking in to
> it, but this media-info looks perfect.  Thanks again!

Furthermore, take a look at the work that's been done on
XSPF (www.xspf.org/).

Chris


> _______________________________________________
> microformats-discuss mailing list
> microformats-discussmicroformats.org
> http://microformats.org/mailman/listinfo/microforma
ts-discuss
>


-- 
Chris Messina
Citizen Provocateur &
  Open Source Ambassador-at-Large
Work: http://citizenagency.com
Blog: http://factoryjoe.com/blog

Cell: 412 225-1051
Skype: factoryjoe
This email is:   [ ] bloggable    [X] ask first   [ ]
private
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
New Drupal Microformat module in development
user name
2006-11-20 21:58:06
In message
<123b586b0611200809k417117am489966884924987dmail.gmail.com>,
Tane Piper <tane.pipergmail.com> writes

>On a sidenote, I have been looking at creating my own
microformat. I
>work in the music industry and I have been looking into
the idea of
>hMusic - a microformat for displaying single/album
information which
>would include name and artists information, a pack shot
(image) and
>track listings.  You can see my idea at
>http://d
igitalspaghetti.me.uk/drupal5/node/5

Other issues not withstanding, your use of id="1",
id="2" etc. would
mean that there could only be one such album per page.

Besides, an OL should suffice.

-- 
Andy Mabbett
                Say "NO!" to compulsory ID Cards: 
<http://www.no2id.net/>

                Free Our Data:  <http://www.freeourd
ata.org.uk>
_______________________________________________
microformats-discuss mailing list
microformats-discussmicroformats.org
http://microformats.org/mailman/listinfo/microforma
ts-discuss
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )