15/2/2020 – Update / After forethought:
This idea would be all right for batch reporting but would not satisfy the needs of an internet search engine. The use of arrays is required. You will have to ignore the database transient file processing.
You will still need to read through the Protopage User Database comparing Search to Meta Data / SEO.
Hi Rich
I have been thinking about Protomatch – 4 Dimensional Array for the search
I think we need
Array 1 for the Search String
Array 2 for the metadata string
Array 3 for the SEO String
Array 4 for the word build String
SQL Found Table
We should have processing on the Search bar to limit letters to 100
limit Meta Data to 200
Limit SEO to 500
In Jackson Code the program would look something lie this:
Perform Main
Main – Perform Database initialization
Perform Database Read
Database read Performs Perform Word Build
Perform Comparison
Perform Comparison Performs Database Write (Limited to say 100 records)
Perform Database Write
Perform Found Table Display
Perform Database Initialisation Perford Found Database Delete / Found Database Create
Clearly, there is an iteration in here like
Process database whilst match not =1
Write database whist count less than 101 (Note Database is a table of found Protopage URL
It all depends on if we can match array in a state that meant something like this.
if Search Array (1,1,i) = Meta Array (1,1,i2) then match = 1
You will need to loop around each word in the search array comparing the value with a secondary loop of words in the meta array.
Word build should be simple it is string processing – I had to do string processing for a word processing test in my C exam – you read the search sting till you find a space and concatenate the lettest into a text field before storing into array (1,1,1.iw)
I hope this helps..
I should try to code this for you – I have more important things to do – I am sure that you are more than capable of thinking something through.
Note: I have not given this all my attention so the structure might be out somewhat – you should get the idea that we are doing a comparison to create a SQL table that we can report on.
Note: The URL for the Protopage should be an active anchor – clickable – else you might have to create a html5 table. (|Or another way that you know of – like your Forest Search – Displaying link and SEO data – Which would be excellent.
Al