ESS:Libraries

From ESS
Jump to: navigation, search
Format ESS
Ess-feed-icon.png
.ess, .xml
application/ess+xml
version 0.9

ESS Libraries




Code configuration

When ESS is correctly configured as file extension in the server, it is possible to generate ESS feeds and display them within websites. Third party libraries can help programers to create ESS feeds.


<?php
   include("libraries/EssObject.php");
 
   $ess = new EssObject();
   $ess->title = "Event title name";
   $ess->subtitle = "sub title text."
   $ess->places(0)->adress = "646, 5th ave / 49 E";
   $ess->places(0)->city = "New York";
   ...
 
   header("Content-Type: application/ess+xml");
   $ess->output();
?>

   import ess.org.libraries.EssObject;
 
   String ess = new EssObject();
   ess.title = "Event title name";
   ess.subtitle = "sub title text."
   ess.places(0).adress = "646, 5th ave / 49 E";
   ess.places(0).city = "New York";
   ...
 
   response.setContentType("application/ess+xml");
   ess.output();






External documentation

Ietf logo.png

ESS standard under RFC validation process: RFC ESS Draft




Discussion

Could not find wordpress article with a title like home

IF EVENTS MATTER TO YOU

Spread the news about ESS
Personal tools
Actions
Standard


Developers


Communication