Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-10 23:49:25

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Microformats - which ones could Textpattern use, and how?

Practical examples would be most helpful.

Let’s stick with “could” for now, and worry about “should” later.


Alex

Offline

#2 2007-02-13 18:52:40

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Microformats - which ones could Textpattern use, and how?

Let’s see…:

We already have:

We might add:

  • rel-enclosure (draft): Add rel="enclosure" to file download links.
  • XOXO (draft): Add xoxo class name to tag-generated lists.

I don’t know that it would be possible to apply others by default.

Offline

#3 2007-02-13 19:10:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,012
Website GitHub Mastodon Twitter

Re: Microformats - which ones could Textpattern use, and how?

It’s not that your effords are not appreciated here. It’s just that I haveven’t on my part at least studied microformats.

I cannot see it in the wiki but what about

  • rel="external" for external links
  • rel="nofollow"
  • rel="follow"

or do we already have these ones?

Last edited by colak (2007-02-13 19:12:21)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-02-13 20:50:01

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

Re: Microformats - which ones could Textpattern use, and how?

Yes. That will be pretty nice to add some attributes to each link in DB. Custom “rel” attribute – I need it very much.

P.S. Today, I deside to write XFN friendly list of favourite blogs without database (just in form) and then saw this topic.

Offline

#5 2007-02-13 21:23:35

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Microformats - which ones could Textpattern use, and how?

Seems that hAtom could be used for the default article tag and forms. Possibly also for the recent articles tag.

Last edited by zem (2007-02-13 21:24:04)


Alex

Offline

#6 2007-02-13 21:56:50

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Microformats - which ones could Textpattern use, and how?

Is the new zem_event plug-in capable of doing hCalendar?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#7 2007-02-14 02:58:03

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Microformats - which ones could Textpattern use, and how?

Not yet – at least it doesn’t by default. hCalendar was discussed as a possibility early on. Should be straightforward, but I had some trouble making sense of the spec – at the time it was full of stuff you could do, not clear on what you ought to do.

It might be possible to create an event form that implements at least part of the spec, I haven’t tried.

Last edited by zem (2007-02-14 03:01:03)


Alex

Offline

#8 2007-02-14 16:47:37

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Microformats - which ones could Textpattern use, and how?

XFN would be nice, though I’m not sure how you would implement it neatly. The list of blogs I link to from the top of my web page is marked up with XFN relationships, but I do it all manually.

Offline

#9 2007-02-15 08:03:11

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

Re: Microformats - which ones could Textpattern use, and how?

ramanan, yeah, me too! :-)
My “blogroll” implemented manually, not from BD.

Offline

#10 2007-02-17 03:49:44

placenamehere
Archived Plugin Author
Registered: 2004-11-21
Posts: 88
Website

Re: Microformats - which ones could Textpattern use, and how?

Been too busy to visit these parts lately, or even work on my own personal sites, but funny that I happen to stop in when this came up. I certainly need to make some updates to the admin plugins I have created a while ago… Textpattern Microformats Plugin

But that helps authors post microformat content inside individual posts. As for things that could be supported in the core code, let me just echo a few of the above

  • hAtom in the default template markup [see Wordpress Sandbox theme]
  • XFN in blogroll [or alternatively xfolk if the current simple running link list format is adhered to]
  • rel tag [which is pretty good now]
  • rel license
  • hcard support for generated page author / about content [either as tag or simply as markup in the template]

much of the other stable formats [hcalendar, hreview, etc.] to me seem to be more content related then template or tag related.

zem, if you have any questions about uf related specs grab me off the boards or jump on one of the active public venues [freenode #microformats or their mailing lists]


Site: placenamehere.com
Microformat Plugin: pnh_mf

Offline

#11 2007-02-20 23:28:30

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Microformats - which ones could Textpattern use, and how?

There’s a discussion about hReview at hicksdesign.


Alex

Offline

Board footer

Powered by FluxBB