I have a directory of files like so:
- accordance-temporary-downloads
- accordance-temporary-downloads.md
- add-to-dock-from-commandline
- add-to-dock-from-commandline.md
- dock-settings-via-defaults-write
- dock-settings-via-defaults-write.md
- favicon.gif
- favicon.ico
- images/
- index.html
- index.mmd
(and so on)
The files without the .md extension are HTML files generated from the .md (Markdown) files.
Right now there are only a few files there, but I hope to grow it to include many (not sure how many, but let's say hundreds rather than thousands).
What I would like to do is create a small search engine which will search through the HTML files for a word/phrase and show links to the results. Only files without an extension should be searched.
(For now there are no sub-folders which need to be searched. In fact, sub-folders should be ignored.)
I've been looking for a solution, but haven't had any luck. I have been looking for a PHP solution, but without MySQL. I can't help but imagine someone has already made something like this and I don't want to reinvent it. (Also I haven't done any PHP coding myself for more years than I care to admit, and I was never particularly good at it.)
Can someone recommend a solution ?
UPDATE: I am watching to create a search engine for files on a remote server, specifically at http://notes.luo.ma/ not on my local machine. See http://stevenf.com/notes/ for an example of what I'm wanting to do (but I don't want to use a Wiki, I just want to use separate files).