Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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:
- rel-home (draft)
- rel-tag (draft)
- rel-nofollow
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
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 linksrel="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
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
Re: Microformats - which ones could Textpattern use, and how?
Is the new zem_event plug-in capable of doing hCalendar?
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
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
Re: Microformats - which ones could Textpattern use, and how?
ramanan, yeah, me too! :-)
My “blogroll” implemented manually, not from BD.
Offline
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