Re: [uf-discuss] Anyone knows of an hcalendar-to-ical service that supports simple RRULEs?

2011-12-14 Thread Toby Inkster
On Mon, 12 Dec 2011 14:59:47 +
André Luís andr3...@gmail.com wrote:

 The only one that picked it up was Glenn's http://ufxtract.com/ but it
 doesn't provide .ics output. ;)

My HTML::Microformats Perl module should support arbitrarily complex
rrules (and rdate, exrule, exdate).

It natively converts from microformats to RDF, but if it detects that
the RDF::iCalendar Perl module is installed, it can also offer
iCalendar output.

Usage would be something like this:

  use HTML::Microformats;
  use RDF::iCalendar;
  use LWP::Simple;
  
  my $uri= 'http://example.com/page.html';
  my $markup = get($uri);
  
  my $document = HTML::Microformats
  -new_document($markup, $uri)
  -assume_profile('hCalendar');
  
  print $_-to_icalendar
  foreach $document-objects('hCalendar');

I'm not currently running it as a web service though.

-- 
Toby A Inkster
mailto:m...@tobyinkster.co.uk
http://tobyinkster.co.uk

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


[uf-discuss] Anyone knows of an hcalendar-to-ical service that supports simple RRULEs?

2011-12-12 Thread André Luís
Hello everyone,

Anyone knows any hCalendar-to-iCal service that supports simple RRULEs?

Test page (am I doing something wrong?)
http://jsbin.com/imuniz/5/edit

I've looked on the wiki, searched the web, tried all I could think of:
Brian's X2V  H2VX (including dev. subdomain), Optimus (XML), ...

The only one that picked it up was Glenn's http://ufxtract.com/ but it
doesn't provide .ics output. ;)

If anyone remembers something I don't, send me in the right direction.

Thanks a lot in advance,
--
André Luís
http://id.andr3.net

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