Ver Mensaje Individual
  #6 (permalink)  
Antiguo 24/05/2012, 15:53
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: buscador de archivos en el servidor

Mira hay una aplicación llamada Tipue Search basada en Jquery, y usa como base de datos un archivo js con este formato

Código Javascript:
Ver original
  1. var tipuesearch = {"pages": [
  2.      {"title": "Tipue Search, a jQuery site search engine", "text": "Tipue Search is a jQuery site search engine. It includes advanced features such as word stemming but is designed to be easy to install. Tipue Search is free for both commercial and non-commercial use and released under the MIT License.", "tags": "JavaScript", "loc": "http://www.tipue.com/search"},
  3.      {"title": "Tipue Search Settings", "text": "The settings for Tipue Search are found in the tipuesearch_set.js file.", "tags": "JavaScript", "loc": "http://www.tipue.com/help/search/set"},
  4.      {"title": "Tipue Search Data", "text": "The data for Tipue Search is stored in the tipuesearch_data.js file and holds the page details to be searched.", "tags": "JavaScript", "loc": "http://www.tipue.com/help/search/data"},
  5.      {"title": "Tipue Search FAQ", "text": "Frequently asked questions about Tipue Search.", "tags": "JavaScript site", "loc": "http://www.tipue.com/help/search/faq"}
  6. ]};

es decir, titulo, tags/etiquetas/url

Yo no manejo ASP, el equivalente en php sería, hacer un readdir(), recursivo o no, según sea la estructura de tus directorios e ir generando un js con el formato indicado,

saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.