|
|||||||
« About the Site / Search The site search is based on Sphider: originally written by Ando Saabas and kept updated and expanded by captquirk at World Space Flight. Indexing ScheduleIn order to index changes to the site automatically, the Sphider indexes the site at 04:00 UK time every day, triggered by a batch file, which is run by Task Scheduler. The schedule was chosen to keep the search results much more current than those of external search engines, while making sure that the server is not always busy in the background with indexing. Site Database QueryingI kept the two boxes on the search page that allow you to run a query against the site's own news/content database: either in the titles or the content. These filters match the entire string that you enter, rather than actually searching, where it goes after multiple, individual terms. This can be useful though, if you know what you're searching for, and there's no indexing lag, since it's querying the existing site database directly. Forum SearchThe SFXB forum is excluded from Sphider's search results since the PHPBB already has its own search facility. Site OptimisationTesting of the indexing process revealed that local indexing scripts usually can't access pages with spaces in their URLs. The server throws a 301 soft error that redirects a browser to the 'correct' URL with the spaces encoded as "%20", but often not other user agents. So, the site was re-coded to make sure that it always 'pre-encodes' spaces in URLs as "%20", and does similar for any other special characters, appearing in URLs, that caused issues with indexing. This eliminates any subtly different URLs for the same page being presented across the site that the search engine would to have to deal with as duplicates. Also, the fact that the server isn't having to redirect the user agent, and serve two pages for every request, when it sees spaces in the URLs, now means that SLIR runs a lot faster on media pages with lots of images. That led to a noticeable performance improvement. The use of querystrings was cut back, again to reduce the number of URLs, in the index, that display similar content. For example, the media subsystem, where you can choose which amount of detail to display about images ... The alternative was to use sessions to pass the data between page loads and this made it neater and easier to make this selection persistent as the user navigates the site. Similar improvements were applied to the news subsystem. The site's error-handling system has also been expanded and improved, so that error pages including those handled by the site, rather than the webserver present a "noindex" meta tag in the HTML header, to prevent sphider from indexing them. Lastly, the expanded main menu was able to be cleaned up, with much of its functionality moved to the search page: reachable via the search box on the main menu. GraphicsI used the 'preserve details' englargement method in Photoshop to generate a large banner for the search area of the website, showing Wingblade landed on an alien shoreline, on the sanctuary planet that features in level 9, as well as Rain Song. Background
Future of Sphider I am very grateful to CaptQuirk at worldspaceflight.com for the fork of Sphider that I used on this site. |
OtherAbout the Site Games - Babylon 5 Into the Fire Ships - AS-5 Proteus TV Shows - Dan Dare Quick Links | ||||||
|
This site and content is unofficial; © 2002-2026 Piers Bell and other authors. Star Fleet, X-Bomber et al. © Enoki Films. |
|||||||