Page tree
Skip to end of metadata
Go to start of metadata

Requires: phpFox 4.4 or higher

Introduction

You can add search functionality to your apps by mapping the search values in your app.json file. Searching feeds created by apps requires that you add feeds using the method detailed here.

Mapping Feeds

In your app.json file you can add the following associative object to map your feeds to the global search. 

"map_search": {
   "title": "caption",
   "link": "\/v\/play\/:id",
   "info": "Video"
}

The keys identify what we should replace, which is based on what you add in your feeds content when POSTing it.

 

  • No labels