Search records new activity found with each scrape of the visible federation. In addition to the web application, these records are available as downloadable files, a trancludable roster and a search api.
# Download
We offer a download of our search findings in flat text files suitable for further analysis. download tgz ![]()
The files suffixed .txt correspond to the various search properties. These are recorded for each page and rolled up into whole site and whole federation summary files.
The download is prepared with a single tar command.
tar czf public/sites.tgz sites *.txt
The download can be retrieved and expanded with curl.
curl http://search.fed.wiki.org:3030/sites.tgz | \ tar xzf -
# Roster
The search application appears as a wiki site serving one page containing the current findings roster. Not all wiki features work for the search site.
Here we report sites we find with recently edited pages.
You can incorporate this roster in pages you visit often using the Roster plugin with the ROSTER markup.
ROSTER search.fed.wiki.org:3030/recent-activity
# API
The search application will respond to api queries via POST to the /match endpoint.
Use jQuery to post a search request. jquery ![]()
var request = { find: 'words', match: 'and', query: 'hello world' } var url = 'http://search.fed.wiki.org:3030/match' $.post(url, request, success, 'json') function success (data) { console.log(data.params) console.log(data.result) }
The result will be an object with keys of site domain names and values of arrays of page slugs.