Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ignatandrei/mvc4microformats


https://github.com/ignatandrei/mvc4microformats

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

MVC4 Microformats
This a simple implementation for microformats . Now the calendar format , that are in those forms:

Microformats site for calendar
http://microformats.org/wiki/hcalendar
HTML5 microformat for calendar
http://microformats.org/wiki/HTML5
Schema format
http://schema.org/Event
iCalendar format
http://tools.ietf.org/html/rfc2445#page-136

Use with

Model.Generate() - to can show data

and a form + action to save the calendar in outlook format




[HttpPost]
public ActionResult ReturnFile(string resultHtml, string eventName, string nameFile)
{
return File(System.Text.UTF8Encoding.Default.GetBytes(resultHtml), "text/calendar", nameFile);
}

See demo for the app on http://mvc4microformats.apphb.com/