[resolved] dynamic page based on serach terms - ideas please (6 posts)

  1. Mr Red
    Posted 2 years ago #

    I run a website basically to play .MP3 files.
    currently http://stories.stroudfm.co.uk (will change soon)

    As the catalogue grows and because the files are grouped by author (speaker) and venue there is a lot of connection by subject.

    What I intend doing is producing TAGs for each file (where they reside is not fixed yet, it could be a separate file)

    What I need is a search facility that I can then interrogate to dynamically generate HTML listing the best "number" of results in a similar format top existing pages.

    JavaScript is not a problem to me (PHP is) and there may be search widgets/addons that can do some of this, if not most of it.

    Given the bewildering plethora of possible widgets and (because they are free, not overly documented) it is difficult seeing what can help me.
    So. Any ideas from the forum?

    Mr Red (a sartorial affectation)

  2. vtxyzzy
    Posted 2 years ago #

    Here is an article that shows the code for a simple form. Unfortunately only the form is simple, not the code: http://wordpress.mcdspot.com/2012/09/21/simple-form-to-select-a-category-and-sort-order/

  3. Mr Red
    Posted 2 years ago #

    If I have to learn PHP I might just do the thing in JavaScript.
    It is not obvious what the code can do entirely. To make it access my TAGs is a big ask.

    I will post back if I achieve anything.

  4. Mr Red
    Posted 2 years ago #

    Well I just did a test page using an IFRAME source linked to http://cresby.com which is full of JavaScript on the home page and it proved 100% successful. Provided I made the area large enough, and ignored the way the links on that homepage behave - they were designed for "top" not "self".
    So I will be writing code in JavaScript on a remote page.
    Problem will be solved but not via WordPress per se.

    There may be a better way, but the way I can see is best for me.

  5. Mr Red
    Posted 2 years ago #

    I will leave the pave up for a while, this is the HTML I used:
    <iframe src="http://www.users.waitrose.com/~cresby/index.htm" height="507" width="901"></iframe>

  6. Mr Red
    Posted 2 years ago #

    this is what it looks like as a WordPress page

Topic Closed

This topic has been closed to new replies.

About this Topic