Difference between revisions of "Linking to EventNett"

From EtherWiki
Jump to: navigation, search
m (+cats)
 
Line 26: Line 26:
  
 
The search panel provides RSS, permalink, and feed links based on the current search criteria. The event view provides those plus an iCal link. The iCal link will only appear in events viewed from a specific date and not from their permalink. The location view provides the three standard links.
 
The search panel provides RSS, permalink, and feed links based on the current search criteria. The event view provides those plus an iCal link. The iCal link will only appear in events viewed from a specific date and not from their permalink. The location view provides the three standard links.
 +
 +
[[Category:API]]
 +
[[Category:EventNett]]
 +
[[Category:Help]]

Latest revision as of 16:01, 24 February 2009

EventNett can be linked to in three different ways. An RSS feed is available for subscribing to events from any news aggregator. A permalink[1] is available for linking to a specific search, event, or location. An OBJECT feed is available to include in web pages as an OBJECT element. Each of these is available from the search panel, the event view, and the location view. Additionally, an iCal link is available from the event view for importing iCalendar files into scheduling software.

The search panel showing the RSS, permalink, and feed links above the event input box

The RSS feed and permalinks are self-explanatory.

The OBJECT feed is a URL that can be used in another web page to display events in a read-only list view. In HTML, the object element's data attribute must be set with to URL copied from the feed link. The following example template will return all events in Atlanta, GA:

<object width="800px" height="400px"
       data="http://www.eventnett.com/FeedServlet?
       filter.area=Atlanta%2C+GA&
       user_profiles.time_zone=US%2FEastern&
       user_profiles_eventnet.date_format=d+MMM+yyyy"
   type="text/html"></object>

The URL includes the parameters for the query along with the current session's time zone and date format as specified in the Configuration tab of the session view. Following is a more complex searches that will list events with happy hour in their name or description, are located in Atlanta, GA 30309, and have the dining keyword in the event or location:

<object width="800px" height="400px"
       data="http://www.eventnett.com/FeedServlet?
       filter.event=happy+hour&
       filter.area=Atlanta%2C+GA+30309&
       filter.keywords=dining&
       user_profiles.time_zone=US%2FEastern&
       user_profiles_eventnet.date_format=d+MMM+yyyy"
   type="text/html"></object>

The search panel provides RSS, permalink, and feed links based on the current search criteria. The event view provides those plus an iCal link. The iCal link will only appear in events viewed from a specific date and not from their permalink. The location view provides the three standard links.