Javascript Event System - profile-page-feed-error

From KickApps Documentation

Jump to: navigation, search

This article pertains to the Javascript Event System. You can refer to our list of Javascript Event System Supported Events to learn what else you can do with our event system.

Contents

Summary

This event is fired when a given feed is malformed or cannot be parsed (eg. When a feed returns an invalid XML document or a 404 error).

Payload Parameters

feedUrl
(string) The URL of the feed that caused the error.

Execution Interruption

none

Example

function onFeedError(data) {

   // do something here
   console.log(data.feedUrl)

} var newEventId = Ka.events.listen('profile-page-feed-error', onFeedError);