Hello, Sorry for not responding sooner I have been very busy lately ....

Tantek Çelik wrote:
On Mon, Nov 2, 2009 at 2:16 PM, Martin McEvoy <mar...@weborganics.co.uk> wrote:
Martin McEvoy wrote:
Martin McEvoy wrote:
Tantek Çelik wrote:
If folks write new XSLTs to handles more conversions, we can certainly
take a look at setting them up (e.g. an hNews or hAtom +
value-class-pattern to Atom or RSS converter).

Transformr [1]  has implemented an hAtom + value-title [2]  to RSS2
converter
....
You can point your hAtom page at http://transformr.co.uk/rss2/<your url>.

some examples:

http://transformr.co.uk/rss2/http://microformats.org/&tidy=no

Transformr does not require the &tidy=no switch any more you can just use

http://transformr.co.uk/rss2/http://microformats.org/

and It will parse value-title with no problems... ( providing your mark up is well formed :) )

Is this implementation available as open source? If not, could you
consider releasing it?

Yes it is (open source) you can either download directly from Transformr

http://transformr.co.uk/xsl/hAtom2RSS2.xsl

Or you can down load the entire source code of Transformr from

http://transformr.googlecode.com/files/transformr-0.5.zip

Sorry I forgot to add that it is also possible to extract a RSS2
enclosures (a podcast) by simply adding a rel-enclosure[1]  to hAtom.
example:

<a rel="enclosure" type="audio/mpeg" href="...">today's podcast</a>.

If you also wish to extract the required length attribute of a RSS2
enclosure you can pass that along with the type specifier
example:

<a rel="enclosure" type="type="audio/mpeg;length=22334669""
href="...">today's podcast</a>.

The length is the size of the file in bytes.

[1] http://microformats.org/wiki/rel-enclosure :)


This is excellent - and it would be great to document some of these examples.

Could you add your documentation of the Transformr to the wiki?

e.g. perhaps at:

http://microformats.org/wiki/transformr

Yes sure I will try to do that over the next week.

Best wishes

--
Martin McEvoy

WebOrganics http://weborganics.co.uk/
Add to address book: http://transformr.co.uk/hcard/http://weborganics.co.uk/

_______________________________________________
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to