Jump to content

drkirkby

Members
  • Content Count

    29
  • Joined

  • Last visited

  • Days Won

    1

drkirkby last won the day on July 19

drkirkby had the most liked content!

About drkirkby

  • Rank
    Dedicated Member

Users Experience

  • Experience
    Beginner
  • Area of Expertise
    I'm Learning

Contact Methods

  • Website URL
    https://www.kirkbymicrowave.co.uk/

Profile Information

  • Gender
    Male
  • Location
    Chelmsford, Essex, UK

Recent Profile Visitors

273 profile views
  1. drkirkby

    I can't get the simplist of a form to execute a script

    Thank you fisicx . Yes, your idea looks better although I don't know javascript, but I guess there is no harm in learning. In contrast, I do know C well, but a look at Javascript shows it is pretty similar to C, so maybe I will not have much trouble. I see it is possible to use complex numbers in javascript which would be beneficial for this application. The impedance measurements made by the instrument are all complex numbers, with a real and an imaginary part. I looked at the source code of the webpage, but could not see the wood from the trees! A slider will not be any use to me, as the range of values covers from lowest to highest will cover many orders of magnitudes. Anyway, you have convinced me another approach is desirable, but I would like to know why https://www.kirkbymicrowave.co.uk/LCR-meter-uncertainty-calculalator/4285A/ does not work. Perhaps someone can see the problem. The source code should be fairly clean, as it is handwritten - not generated by web design program. Dave
  2. I think I might have done a bit of CGI a few decades ago, but have not done anything in recent years, so please excuse my ignorance. I'm trying to create a web page, which has a form on it to work out the uncertainty (often incorrectly called accuracy) or some measurement results from an electronic instrument called an Agilent 4285A precision LCR meter. My webpage is here. https://www.kirkbymicrowave.co.uk/LCR-meter-uncertainty-calculalator/4285A/ If you look at the source, you will see a form that starts <form action="Uncertainty" method="GET" name="/BethH/4285A-uncertainty-calculator.cgi"> The program "4285A-uncertainty-calculator" does not at the minute compute any uncertainties, but just prints the CGI inputs, but I obviously intend modifying it to compute some uncertainties. I downloaded the C source code from https://www.jmarshall.com/easy/cgi/hello.c.txt and compiled it with gcc, and named it 4285A-uncertainty-calculator.cgi. If I call the executable with a link, such as https://www.kirkbymicrowave.co.uk/BethH/4285A-uncertainty-calculator.cgi?MeasurementFunction=CpD&amp;Temperature=1.0&amp;Frequency=25.2&amp;Voltage=1.0&amp;PrimaryValue=220.000&amp;SecondaryValue=30.0000 then it prints out some CGI variables. But if I hit "Submit" on the form, the server responds with a 404 error, without the name of the script or the directory it is in. https://www.kirkbymicrowave.co.uk/LCR-meter-uncertainty-calculalator/4285A/Uncertainty?MeasurementFunction=CpD&amp;Frequency=25.2&amp;Voltage=1.0&amp;PrimaryValue=220.000&amp;SecondaryValue=30.0000&amp;buttonName=Click+here+to+calculate+measurement+uncertainties There must be something I am doing wrong with that form, for the submit button to not work as desired, but I do not know what it is. Dave
  3. I don't know javascript. I might be able to take a stab at this with a unix shell script. I would have thought this is a problem that others had come across before, and perhaps I did not have to reinvent the wheel. I don't know if curl has any way to detect such issues. I might ask the developers of curl and wget, to see if they can add something. Both tools are good for checking for broken links, but I'm not aware of how to find broken links of the type I mean. www.powermapper.com seemed very good at finding broken links - in fact, annoyingly good. If one has a link to a PDF file, and that PDF has a link starting www, then that is seen as a broken link, as its missing the https:// or http:// Needless to say, it reports numerous errors because of that, even though I have not written the PDF files.
  4. This page https://www.kirkbymicrowave.co.uk/About-us/Terms-and-conditions-for-sale-of-goods/ Looks a bit of a mess, and I admit it is. But each of the headings Definitions Conditions Ordering goods. Price and payment Rights of the seller, Kirkby Microwave Ltd. Delivery Cancellation Remedy for breach should be a hyperlink to an internal link on that page. For example, some of the code is: <a href="#Definitions">Definitions</a> and that points to <h2 id="Definitions">Definitions</h2> That is fine, so the first link https://www.kirkbymicrowave.co.uk/About-us/Terms-and-conditions-for-sale-of-goods/#Definitions is a valid link, but others, such as https://www.kirkbymicrowave.co.uk/About-us/Terms-and-conditions-for-sale-of-goods/#Ordering don't go anywhere, as the ordering section has not been written yet! How do I find such broken links? The only tool I have found that can detect these is www.powermapper.com but that is quite expensive, and I'm not over-impressed with the rest of it, so there's no way I'm going to pay for that. I tried a few online link checkers, for .example https://www.brokenlinkcheck.com/ but that just reports "Processed 62 web pages, found 0 broken links". It completely misses the fact the internal links are broken. Ideally, I'd like something I can run on the Linux server so I can check very quickly, rather than some web based tool. Dave
  5. Thank you. Sorry for the delay in responding - I had overlooked your reply, despite you made it several days ago. Dave
  6. I have a list on a website. It's currently using XHTML, but I intend switching to HTML5 soon. This is a snippit. <ol type="i"> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/lawfulness-fairness-and-transparency/">Lawfulness, fairness and transparency</a></li> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/purpose-limitation/">Purpose limitation</a></li> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/data-minimisation/">Data minimisation</a></li> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/accuracy/">Accuracy</a></li> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/storage-limitation/">Storage limitation</a></li> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/integrity-and-confidentiality-security/">Integrity and confidentiality (security)</a> </li> <li><a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/principles/accountability-principle/">Accountability</a></li> </ol> which generates roman numerals. It works fine in my browser, but the W3C validator complains that "type" is not supported". I'm hoping there's some way of creating the list like this, this is compliant with the HTML5. Dave
  7. drkirkby

    How can I find pages that are missing a menu?

    I'm sure it would take me many days of work to get the website "right". Dave
  8. drkirkby

    How can I find pages that are missing a menu?

    @fisick I don't really object to a CMS. It is just weighing up the time spent to learn it, or the cost to pay someone else to do the work. I'd rather spend the time myself, to save money, but also the skills I can use on another site. I have in fact bought a book on WordPress, but have not opened it. I also bought a couple of books on SEO, which I have started reading. Dave
  9. drkirkby

    How can I find pages that are missing a menu?

    I thought a reference to include ("https://www.kirkbymicrowave.co.uk/menu.php"); would slow things down, as a DNS lookup needs to be performed, whereas a link to a file is faster. I am thinking of migrating to WordPress, but have not made my mind up yet. I'm trying to weigh up the advantages vs disadvantages, given most of the content is written. I think if starting a few site from scratch, I would probably not hand-code all the HTML again. Dave
  10. My website https://www.kirkbymicrowave.co.uk/ should have a menu at the top of each page. It is included by a bit of php like this, which includes menu.php. <?php include ("../../menu.php"); ?> The deeper the page is below the root, the further up the directory structure menu.php is, so in principle a page might have <?php include ("../../../../../../../../menu.php"); ?> although I don't have any pages that deep! If I move a page up or down a directory level, I need to remember to change the path to menu.php (for some annoying reason /menu.php does not work). The problem is, sometimes I forget to update the reference properly, so end up with a page like this. https://www.kirkbymicrowave.co.uk/Support/FAQ/page-screwed-up/ Is there any obvious way of finding problems like this? I have shell access on the Apache server. : There should be a footer too. Again included with a bit of php code, and again needs to have the correct path. I'd like to try to find some automated way of checking every page, to see if it has both the menu and the footer you see on most pages. Dave
  11. Okay, thank you for the comments. I'm make that test site the live one, once I have sorted out all the broken links, and put in all the redirects so there are not a ton of 404 errors. At the moment it is a struggle fixing the broken links, as when one if fixed, it generates a lot more! Dave
  12. I took on board some of your suggestions, which are now at a test site http://www.kirkbymicrowave.com/ That's hidden from Google with a robots.txt file. The original site is at https://www.kirkbymicrowave.co.uk/ I took the opportunity to change the name of a few URLs, and generally have a somewhat more structure directory layout. So there will be a good few broken links, but I think you get the basic idea.
  13. Thank you for the suggestion. I can see where you are coming from, but it needs a pretty serious re-write. The main sellers of competivate products are the following companies, all of which are very large. At least Keysight has a turnover in excess of $1 billion / year. Keysight https://www.keysight.com/us/en/home.html Anritsu https://www.anritsu.com/en-GB/ Rohde&Schwarz https://www.rohde-schwarz.com/uk/home_48230.html Rosenberger https://www.rosenberger.com/en/index.php
  14. Looking in Google Analytics, I see a 404 error for this page https://www.kirkbymicrowave.co.uk/sales/85054/Agilent+8510C+boot+upWe+TalerangA I have no idea why Google should try to search such a page at all. Now the first bit https://www.kirkbymicrowave.co.uk/sales/85054/ seems perfectly reasonable - such a page exists. Although the manufacture (Agilent) and a particular network analyzer (8510C) are both related to my site, there's never been a page with the name Agilent+8510C. But at least I can understand where those terms come from. Now where the hell does boot, upWe, and TalerrangA come from I have no idea. At least I know what the first word (boot) means, but I don't think its one the website, but the last two are certainty not on the website, and never have been. It seems as though Google has used a random letter generator to generate a URL, then find a 404 error
  15. I'll think about that one. Well, is the "About Us" pull-down menu not a set of links to legal, privacy, contact, and now bank details? Surely that depends on what sort of device you look at it on. You surprise me with that comment. I was thinking it was perhaps a bit large. A look on Amazon for example finds most text smaller. Keysight, who sell VNA calibration kits too, have much smaller text on their page for one of their calibration kits https://www.keysight.com/en/pd-1000002016%3Aepsg%3Apro-pn-85052B/standard-mechanical-calibration-kit-dc-to-265-ghz-35-mm?cc=US&amp;lc=eng I don't know how to do that, but I admit it looks quite nice. I'll see what others say about that one. Based on experience, I find most people have some idea of what they want when they approach me. A VNA is not the sort of instrument you just go out and buy and not know much about one. Professional instruments range for a few thousand pounds to a few hundred thousand pounds - some might well be over £1.,000,000, but I am not sure about that. Also, if someone looks on the "support on VNAs", they would know if they have just bought an Agilent instrument, an Anritsu instrument, a Copper Mountain instrument etc. The somewhat odd cases is HP, Agilent or Keysight, as originally HP made test equipment and many other things. Then test equipment and biomedical stuff was spit off to Agilent. Then the test equipment was split off to Keysight. I don't know how long Keysight will keep that name, before it gets split off once again. The thing that seems to cause newcomers a bit of a headache is they buy a VNA with N connectors on it, so assume they need a calibration kit for N connectors. But the calibration kit should match the connectors on the device they are testing, not the instrument. I try to address that here https://www.kirkbymicrowave.co.uk/FAQ/How-do-I-select-the-right-calibration-kit/ but I find people most confused about that topic.
×