ISDD: web search facility

  • Scott Leiper
    Participant

    I couldn’t find this mentioned elsewhere, but how are we implementing a search facility in offline webpages? Is there a nifty javascript function that does it, although I can’t think how that would work. There are plenty that search online pages, google make a simple one, but as these pages are not uploaded and hosted online, what tools are we all using?

    Lucinda
    Participant

    Hi Scott,

    I used XAMPP to teach server side scripting, for the search, pupils had to create a table and use php to interrogate the table from the website(using the search box), which returned the result based on the keywords entered by the user, It can be run and tested on the localhost so it doesn’t have to be live.

    Scott Leiper
    Participant

    We don’t go that far into looking at PHP, there is a requirement to know about server-side and client-side scripting, but no requirement to be able to write or create using either. However we also do not use WebPlus and the search function built that can be added to those pages is quite messy and would involve the students building their site around search function, which I don’t think is the point of the almost throwaway line in the specification. After a bit of searching I couldn’t find any pre-written code that suited my purpose so I ended up having to write my own by simplifying and combining a few examples. I have attached my example file. I may give them this page as is, and have them adapt it to fit their own sites.

    #Edit: can’t attach so uploaded to documents

    Lucinda
    Participant

    I ran this unit assessment last year using the Raspberry pi as a webserver and it was verified and approved, but this year we used XAMPP less fiddly, if you want I can e-mail it to you (we use Dreamweaver CS6 for building the site).

    Ranjit Fernandez
    Participant

    That would be a great help. My email is rfernandez@lathallan.org.uk
    I have one copy of Serif Webplus that I got as a trial copy so we will work with that for now to get this done. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.