Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ignatandrei/mvc4microformats
https://github.com/ignatandrei/mvc4microformats
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ignatandrei/mvc4microformats
- Owner: ignatandrei
- Created: 2013-07-14T19:28:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-11-07T12:04:07.000Z (about 2 years ago)
- Last Synced: 2024-04-15T03:09:36.746Z (8 months ago)
- Language: C#
- Size: 16.1 MB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
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-136Use 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/