Making a KickApps Search Component
From KickApps Documentation
In Creating a YouTube Search Component, we showed you how to assemble a dynamic search field that would poll YouTube's RSS API and show the results in a list component. In response, we got a lot of feedback asking how to make a search component that would work with KickApps, so we've whipped up a step-by-step for this one too:
- Drag an advanced video player, a text input component, a button, and a list component to the stage.
- Select the button and add a new action to it:
- Use this string for the value of the new media URL (replace "Text input 1" with the name of your text input component and the value of theas parameter with your own affiliate site ID, which you can find in any of your KickApps-powered URLs):
http://serve.a-feed.com/service/getFeed.kickAction?as=30483&mediaType=videos&quantity=20&keywords=#{Text Input 1.text} - That takes care of updating the list with search results from your community when users click the search button. But many users are accustomed to pressing the enter or return keys on their keyboards. To do that, add a new action to the text input component. The event will be "Keyboard Enter"; use the media URL from the previous step.
- Done. Switch to Preview mode to try it out!
In this example I used the keywords parameter to filter the feed results. This parameter searches for media with the search term(s) within the tags, admin tags, media title, media description and username properties of all media items in your system. If you prefer to search on a narrower parameter like title or tags, just substitute in those parameters. You can find details and more rss filters in the RSS Feed API doc.
Favorites






